Tunnel DNS and Web Traffic Through PPTP VPN

From BubbaWiki
Revision as of 19:22, 22 November 2010 by Asad (talk | contribs) (Created page with 'It is possible to tunnel all your web traffic including http and dns requests through a SOCKS 4/5 proxy. In this scenario we have followed this [http://wiki.excito.org/wiki/index...')
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

It is possible to tunnel all your web traffic including http and dns requests through a SOCKS 4/5 proxy. In this scenario we have followed this tutorial to set up a PPTP VPN
connection, which is compatible with all Microsoft clients without having to install any third party software, such as OpenVPN.
Now we want to make all our web surfing and DNS traffic go through bubba. We first have to set up a new VPN connection in WIndows XP.
Some ideal scenarios where you may want to do this:

- You suspect the company viewing your web logs
- The country you are in is performing data packet session recording, for example they record the content of all traffic for x number of days
- You are on travel and do not trust the networks you are using.
- Etc.

On the client:
Go to network connetions in Control panel and create a new connection, select Connecti to workplace using VPN, select VPN, select a company name, for example "bubba", and enter
your DynDNS host name, click Finish. Now, you can select the connection from Network connections. Disable WIndows XP Firewall and enter the username and password you created in the above tutorial.
You should now be able to connect to your bubba through VPN. Now edit yoiur Firefox settings as following:
Write into Firefox:

about: config

Now set the following parameter and restart the browser:

network.proxy.socks_remote_dns = true

Now in your Firefox, go to Tools -> Options -> Network -> Settings -> Manual Proxy Configuration

192.168.10.1

Select "Use this proxy server for all protocols". Now go to www.whatismyip.com and check your address.