using chrome with socks ssh proxy without any DNS leaks

For funsies, I wanted to try this.

I wanted to use my SOCKS proxy setup, which was very simple:

Then I wanted to use chrome to bypass all proxies that IE has setup AND make sure DNS leaks do not occur.

HOW TO SETUP SOCKS PROXY VIA SSH and PUTTY:
http://www.ocf.berkeley.edu/~xuanluo/sshproxywin.html

Once you have created your SSH socks connection add this flag to the end of your target for your chrome shortcut:

--proxy-server="socks5://127.0.0.1:6060" --host-resolver-rules="MAP * 0.0.0.0 , EXCLUDE 127.0.0.1"

If your proxy is something other then 127.0.0.1, swap them out. Also swap your port out if that is not the one you used.

socksproxychrome

Once you close your chrome and reopen with the new shortcut you can go here to test:

whatismyip.com

This should show the destination IP and the next URL will show you that you are using your destination hosts DNS servers and NOT your local!

dnsleakstest.com

So cool.

Facebooktwittergoogle_plusredditpinterestlinkedinmail

Leave a Reply