| 
  • If you are citizen of an European Union member nation, you may not use this service unless you are at least 16 years old.

  • You already know Dokkio is an AI-powered assistant to organize & manage your digital files & messages. Very soon, Dokkio will support Outlook as well as One Drive. Check it out today!

View
 

SshTunnel

Page history last edited by David B 15 years, 1 month ago

 

Problem:

1. progmon can access the mail server, kpcaex1h.
2. progdev cannot.
3. progdev can, however, access progmon.

to set up an ssh tunnel to forward mail traffic through progmon,
I ran this command on progdev:

ssh -l root -L 25:kpcaex1h:25 -N mhmafs03

this says that as root (-l option), ssh to mhmafs03 (-N option) and
any traffic sent to (the rest of the arguments come from the
"-L 25:kpcaex1h:25") port 25 (the first "25") on localhost will be
forwarded through mhmafs03 to port 25 (the second "25") on kpcaex1h

NOTES:
It's easiest, if you don't want the connection to be permanent, to
run it as root on progdev and leave that terminal program running.


You can also use screen to detatch it, the modified ssh to pass
in the password or ssh trust to allow the connection to be 
established with no password.  Think about security, though.

Comments (0)

You don't have permission to comment on this page.