[2024-feb-29] Sad news: Eric Layton aka Nocturnal Slacker aka vtel57 passed away on Feb 26th, shortly after hospitalization. He was one of our Wiki's most prominent admins. He will be missed.
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
howtos:misc:proxying_smpt [2015/11/27 23:54 (UTC)] – [Scenario 2] louigi600 | howtos:misc:proxying_smpt [2016/04/28 07:38 (UTC)] – [Scenario 3] louigi600 | ||
---|---|---|---|
Line 6: | Line 6: | ||
Here are some scenarios with examples on how you could go about working around the problem. | Here are some scenarios with examples on how you could go about working around the problem. | ||
- | Throughout the scenarios we will be referring | + | Throughout the scenarios we will be referring |
* Machine A with IP address 192.168.0.2 (cannot send mails directly via internet and cannot relay on Local Mail Relay) | * Machine A with IP address 192.168.0.2 (cannot send mails directly via internet and cannot relay on Local Mail Relay) | ||
Line 74: | Line 74: | ||
DATA | DATA | ||
354 End data with < | 354 End data with < | ||
- | FROM:drao@invallee.it | + | FROM:me@localnet.com |
- | TO:drao@invallee.it | + | TO:dude@localnet.com |
SUBJECT: | SUBJECT: | ||
if you get this sending email trough ssh tunnel worked | if you get this sending email trough ssh tunnel worked | ||
Line 95: | Line 95: | ||
We can then start the ssh socks proxy on Machine B listening on a port Machine A can access: | We can then start the ssh socks proxy on Machine B listening on a port Machine A can access: | ||
- | On machine B | + | On machine B with a privileged user |
ssh -2 -D 192.168.1.2: | ssh -2 -D 192.168.1.2: | ||
Line 109: | Line 109: | ||
DATA | DATA | ||
354 End data with < | 354 End data with < | ||
- | FROM:drao@invallee.it | + | FROM:me@localnet.com |
- | TO:drao@invallee.it | + | TO:dude@localnet.com |
SUBJECT: | SUBJECT: | ||
if you get this sending email trough ssh tunnel worked | if you get this sending email trough ssh tunnel worked |