[Novalug] determining where a port is blocked

DonJr djr1952 at hotpop.com
Tue Nov 13 22:57:02 EST 2007


On Tue, 2007-11-13 at 21:43 -0500, gregory pryzby wrote:
> Looks like only port 22 is allowed into the verizon network and to my
> box. 
> 
> Is there a way to figure out when a packet is blocked for a port while
> transversing the network?
> 
> I don't want to run imaps on port 22 b/c I need/want shell access and
> forwarding...

The command combo-nation of:
 On the client it would be something like:
   ssh -2 -L 2143:localhost:134 PRYZBY.ORG
  (opens a shell on PRYZBY.ORG and also allows the following)

 and on the client machine you would tell your email client to use:
      127.0.0.1:2143
to connect to the IMAP server.

Or with Mutt as your client after running the above 'ssh' command you
would tell Mutt to use the following to connect to the IMAP server
running @ PRYZBY.ORG as user GREG:

   imap://greg@localhost:2143/mailbox

By forward{or tunnel} it through 'ssh' you gain both compression and
encryption and thus greater security, IMAP is by default a plain-text
protocol.

see: <http://mutt.sourceforge.net/imap/> for further details on other
ways to configure Mutt.

Note: I do something close to above when I connect my 'vncviewer' to my
host(s) running 'vncserver'.
   "putty" host '{djr's public name} -> ssh -> tunnel ->
    L5901 127.0.0.1:5901 { Xvnc :1 on the host 'djr' }
    L5911 toshibw:5901   {toshibw is another host on my local home net.}

And then I start "Real VNC viewer" with the following addresses:
   vncviewer 127.0.0.1:5901   {connects to Xvnc :1 running on 'djr'}
   vncviewer 127.0.0.1:5911   {connects to Xvnc :1 running on 'toshibw'}

 {I can even have both up(open) at the same time.}

All that the rest of the Internet sees is a binary(ie encrypted) stream
of data from my host{an xp work station} to my home net SERVER running
somewhere out there.

--  
-- 
  Don E. Groves, Jr

Yes I'm currently stuck running an XP client while at work. <GRIN>



More information about the Novalug mailing list