ssh and port redirection...
Tom Buskey
tom at buskey.name
Thu Jul 10 10:53:23 EDT 2003
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
pll at lanminds.com wrote:
| Hi,
|
| 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
| like:
|
| ssh -L 8080:*:80 server
|
| and have all port 80 requests go to port 8080 on localhost?
| Thanks,
|
|
iptables is probably the way to go here.
However, for a quick & dirty setup:
put a proxy on your server (squid, privoxy, apache, zebedee etc) and set
your web browser to use it.
Wait, point your web browser to proxy localhost:8080. Then ssh -L
8080:proxy:proxyport. I think you still need a proxy server somewhere.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQE/DX3i2qRYRRBv/+IRAmw0AJ9wNpOZ8zA5JVL1bIq25oVF0XMfSwCdE4xf
xEP9Etag0eCiDlsJM+zb4GE=
=wjfZ
-----END PGP SIGNATURE-----
More information about the gnhlug-discuss
mailing list