Thursday, September 16, 2010

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

No comments:

Post a Comment

Setting dns over TLS on ubuntu 26.04 using quad9 and

With this change future dns queries should got to Quad9 and fallback Cloudflare if Quad9 has a outage, and should go over TLS.  Change /etc/...