[KLUG Members] how can I get around a port block to setup vpn?

Rusty Yonkers members@kalamazoolinux.org
Sun, 23 Nov 2003 18:40:33 -0800 (PST)


Yes I can use ssh, and telnet, and ftp, and web, and smtp, and dns,
but not vpn, or icmp (thus no ping or traceroute which I am suppose
to demo in class).  It is a nat'ed connection too.... 

(by the way Bruce... as far as reasonable technical conversations
with these corporate people... they think that anyone at any of the
schools do not know anything more than turning on a computer..... I
have tried to have reasonable conversations with them on many things
and all they say is that they are the only ones that can do anything
- and this from people that think Linux is going away and that
everyone will only be using Windows within a couple of years!!!!)
> > 
> 
> If you can get out with an ssh client from your corporate internal
> network, the ssh method is as follows.  Create a little script that
> looks like this at the linux machine at work
> 
> ssh -f -g -R4307:localhost:389 -R4306:srv2:389 -R4304:srv1:23 \
> -R4303:localhost:22 -R4310:srvtest:143 -L4302:localhost:80 \
> -L4301:localhost:143 \
> home sleep $1
> 
> Then execute it with "script timeinsecondstostayalive"
> 
> home is the host with an appropriate entry in /etc/hosts
> -f means to fork into the background
> -g Allows remote hosts to connect to local forwarded ports.
> -R port:host:hostport
> -L port:host:hostport
> 
> The limitation here is tcp only, no udp or icmp.  The list of tcp
> forwards can be as long as you choose.
> 
> See page 10 through 17 for the details: 
> 
> ftp://ftp.kalamazoolinux.org/pub/pdf/sshpresent.sxi.pdf
> 
> Dirk
> 
> _______________________________________________
> Members mailing list
> Members@kalamazoolinux.org
> 


=====
Rusty Yonkers
CNE, MCP, A+, CCNA, Linux+, Server+, Network+ certified
-----------------------------------------
An Atomic Supergeek with an attitude!
-----------------------------------------
Currently using SuSE 8.2, Mac OS X, and WinXP (would love to get rid of last one)

...............looking for penguin domination.....................

__________________________________
Do you Yahoo!?
Free Pop-Up Blocker - Get it now
http://companion.yahoo.com/