ssh and port redirection...

pll at pll at
Thu Jul 10 09:49:40 EDT 2003


Is there a way to generically redirect a specific port number, 
regardless of destination IP?

For example, I don't have a direct net connection on my laptop, but 
my server at home does.  I don't have the time to set up iptables to 
do this correctly, and I want to surf the web.  Can I do something 

	ssh -L 8080:*:80 server

and have all port 80 requests go to port 8080 on localhost?


Key fingerprint = 1660 FECC 5D21 D286 F853  E808 BB07 9239 53F1 28EE

	It may look like I'm just sitting here doing nothing,
   but I'm really actively waiting for all my problems to go away.

	 If you're not having fun, you're not doing it right!

More information about the gnhlug-discuss mailing list