Difference between revisions of "Tunnel DNS and Web Traffic Through PPTP VPN"

From BubbaWiki
Jump to navigation Jump to search
(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...')
 
Line 1: Line 1:
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.php/Tutorials_and_How-tos/Connect_Two_Bubba_Servers_via_VPN tutorial ]to set up a PPTP VPN<br>connection, which is compatible with all Microsoft clients without having to install any third party software, such as OpenVPN. <br>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. <br>Some ideal scenarios where you may want to do this:
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.php/Tutorials_and_How-tos/Connect_Two_Bubba_Servers_via_VPN tutorial ]to set up a PPTP VPN<br>connection, which is compatible with all Microsoft clients without having to install any third party software, such as OpenVPN. <br>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. <br>Some ideal scenarios where you may want to do this:  


- You suspect the company viewing your web logs<br>- 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 <br>- You are on travel and do not trust the networks you are using.<br>- Etc.
- You suspect the company viewing your web logs<br>- 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 <br>- You are on travel and do not trust the networks you are using.<br>- Etc.  


On the client:<br>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<br>your DynDNS&nbsp;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.<br>You should now be able to connect to your bubba through VPN. Now edit yoiur Firefox settings as following:<br>Write into Firefox:<br>
On the client:<br>Go to network connetions in Control panel and create a new connection, select Connect to workplace using VPN, select VPN, select a company name, for example "bubba", and enter<br>your DynDNS&nbsp;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 for the PPTP VPN.<br>You should now be able to connect to your bubba through VPN. Now edit yoiur Firefox settings as following:<br>Write into Firefox:<br>  
<pre>about: config
<pre>about: config
</pre>
</pre>  
Now set the following parameter and restart the browser:<br>
Now set the following parameter and restart the browser:<br>  
<pre>network.proxy.socks_remote_dns = true
<pre>network.proxy.socks_remote_dns = true
</pre>
</pre>  
Now in your Firefox, go to Tools -&gt;&nbsp;Options -&gt; Network -&gt; Settings -&gt;&nbsp;Manual Proxy Configuration<br>
Now in your Firefox, go to Tools -&gt;&nbsp;Options -&gt; Network -&gt; Settings -&gt;&nbsp;Manual Proxy Configuration<br>  
<pre>192.168.10.1</pre>
<pre>192.168.10.1</pre>  
Select "Use this proxy server for all protocols". Now go to www.whatismyip.com and check your address.
Select "Use this proxy server for all protocols". Now go to www.whatismyip.com and check your address.  
 
Have fun and be safe on your journey :)

Revision as of 19:27, 22 November 2010

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 Connect 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 for the PPTP VPN.
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.

Have fun and be safe on your journey :)