Using a socks proxy
#ssh to a machine on the network you need access and start
# a local socks server
ssh -D 9999 httpserver.blah.com
# setweb browser proxy to
proxy: localhost:9999
# To use other apps with socks install
sudo apt-get install tsocks
# Change config file to (remove everything else)
/etc/tsocks.conf
server = 127.0.0.1
server_port = 9999
# ssh to a machine
tsocks ssh -X httpserver.blah.com
# eclipse to a machine
tsocks eclipse
reference:
using tsocks for tunneling cmds lines and everything else
http://www.plenz.com/tunnel-everything
Comments
Post a Comment