On Tue, 1 Mar 2005 17:03:20 -0800, Lan Barnes <[EMAIL PROTECTED]> wrote: > On Tue, Mar 01, 2005 at 04:25:09PM -0800, Michael O'Keefe wrote: > > >>Is is possible to have 2 linux machines tunnel to each other and have > > >>the local user connect to the local linux PC and the remote linux PC > > >>will talk to the smtp/pop server? This sounds a lot like VPN, but I > > >>just need email to be encrypted. > > > > > >http://64.233.179.104/custom?q=cache:HH5i7xVUiwIJ:www.tldp.org/linuxfocus/English/Archives/lf-2003_03-0273.pdf+ssh+tunnel&hl=en&ie=UTF-8 > > > > *AFTER* reading this, then you will understand my IMAP SSH tunnel... > > > > ssh -N -L 143:localhost:143 <userid>@<remote IMAP host> > > > > Forgive my terse answer. > > 1. I forgot newbie etiquette > > 2. I'm just learning this stuff myself.
k, got it ;) I put this in rc.local and port forwarding is on at boot up. ssh linuxserver -g -L 1677:mailserver:1677 -N -f -i /root/.ssh/mailforward I couldn't find a place to confgure this in sshd_conf, but it seems to do the trick. -- [email protected] http://www.kernel-panic.org/cgi-bin/mailman/listinfo/kplug-newbie
