On Monday 16 December 2002 03:37 am, Joon Guillen wrote:
> Surely, if I need ssh over say, pop3, I'd still have to edit
> some config file on the server or something?  Anyway, it seems really
> easier than I thought, so I'm gonna mess around with ssh tunneling on my
> free time.

oh yeah, i forgot to add the tunnelling part. this is descended from someone
else's post on how to do tunnelling.  

on my box, i do, for instance:
ssh -v -f -L 2025:<SMTP_HOST>:25 -N -2 <SMTP_HOST_AGAIN> &

that creates a tunnel to SMTP_HOST.  SMTP_HOST and 
 SMTP_HOST_AGAIN are the same host, of course.

if i connect to port 2025 on my box, the socket connection is automatically
forwarded to my SMTP host's port 25.

you can do the same for any other TCP port.  i don't know if UDP
ports work too, i doubt it.

tiger

-- 
Gerald Timothy Quimpo  tiger*quimpo*org gquimpo*sni-inc.com tiger*sni*ph
Public Key: "gpg --keyserver pgp.mit.edu --recv-keys 672F4C78"
         Pobrecito mexico tan lejos de Dios y a la vez
                 tan cerca de los Estados Unidos
                                 Gen. Porfirio Diaz
_
Philippine Linux Users Group. Web site and archives at http://plug.linux.org.ph
To leave: send "unsubscribe" in the body to [EMAIL PROTECTED]

Fully Searchable Archives With Friendly Web Interface at http://marc.free.net.ph

To subscribe to the Linux Newbies' List: send "subscribe" in the body to 
[EMAIL PROTECTED]

Reply via email to