[Novalug] FiOS and imap

Pete Nuwayser nuwayser at gmail.com
Tue Nov 13 14:36:52 EST 2007


I suggest adding a few switches, thus:

-2 force sshv2
-N do not execute a remote command
-f go to background just before command execution (if u have to enter a passphrase)

ssh -2NfL 14300:localhost:143 greg at imap.server.org

Or

ssh -2NfL 14300:internal.mail.server.net:143 greg at ssh.server.org

You can also do multiple tunnels at once:

ssh -2NfL 14300:internal.imap.server.org:143 -L 25000:verizon.smtp.server.com:25 greg at ssh.server.org

Personally I like -R(emote) tunnels better... More fun.

Pete



Pete Nuwayser
<nuwayser at gmail.com>
+1-703-981-1518
Sent from my Blackberry

-----Original Message-----
From: Mark Smith <mark at winksmith.com>

Date: Wed, 14 Nov 2007 07:33:46 
To:"Northern Virginia Linux User's Group" <novalug at calypso.tux.org>
Subject: Re: [Novalug] FiOS and imap


exactly what i was going to say though i didn't verify the usage
of -L/-R (seems like i always need to try it more than once to
get it right).

On Tue, Nov 13, 2007 at 01:18:50PM -0500, DonJr wrote:
> On Tue, 2007-11-13 at 12:41 -0500, gregory pryzby wrote:
> > I am trying to get the FiOS router to allow imap through and set it in
> > the firewall, but the packets don't make it.... however, the ssh
> > packets do ....
> > 
> > ideas? Beside FiOS/Verizon are spawn of satan etc.
> > 
> > --  
> 
> The why not forward the imap packets over the ssh connection?
> 
> On the client it would be something like:
>    ssh -L 2143:localhost:134 IMAP-SERVER-NAME
> 
> and on the client machine you would tell your email client to use:
>       127.0.0.1:2143
> to connect to the IMAP server.
> 
> If you are using PINE then take a look at this page:
>  <http://www.unix.org.ua/orelly/networking_2ndEd/ssh/ch11_03.htm>
> for a few more hints.
> 
> --  
> -- 
>  Don E. Groves, Jr. 
> 
> $ /usr/games/fortune : Domestic happiness and faithful friends.
> 
> _______________________________________________
> Novalug mailing list
> Novalug at calypso.tux.org
> http://calypso.tux.org/cgi-bin/mailman/listinfo/novalug

-- 
Mark Smith
mark at winksmith.com
mark at tux.org
_______________________________________________
Novalug mailing list
Novalug at calypso.tux.org
http://calypso.tux.org/cgi-bin/mailman/listinfo/novalug


More information about the Novalug mailing list