Using a socks proxy

#ssh to a machine on the network you need access and start
# a local socks server
ssh -D 9999

# 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)
server =
server_port = 9999

# ssh to a machine
tsocks ssh -X

# eclipse to a machine
tsocks eclipse

using tsocks for tunneling cmds lines and everything else