Force Chrome to tunnel DNS requests through a SSH socks proxy

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 Over 12 years ago