Force Chrome to tunnel DNS requests through a SSH socks proxy

Posted Over 12 years ago. Visible to the public.

On your local machine, make the SSH connection :

ssh -D 8888 server

Force Chrome to use the ssh tunnel for DNS requests :

google-chrome --proxy-server="socks5://localhost:8888" 

You can check if it works by running this command on the ssh server :

tcpdump -i eth0 port 53

tcpdump will show dns trafic for any activity in Chrome.

ThEo.GFX
Last edit
Over 12 years ago
Posted by ThEo.GFX to ThEo.GFX's Cards (2011-11-30 21:33)