Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

So basically I have connected to a VPN and I want Chrome to use the DNS servers from the VPN network and also send network traffic through that WAN miniport (VPN tunnel). Everything else (Windows Explorer, other applications) should default to using the local network's DNS servers and internet connection.

How can I configure this? I'm not an expert at this so a tutorial/step-by-step guide is greatly appreciated. Thank you!

share|improve this question
up vote 12 down vote accepted

I think, for what you want to do, you can use the Proxy Switchy! extension for Chrome and create a different profile for your VPN and set the Network in the Proxy Switchy! settings as so:

enter image description here

This seems to be the easiest way to achieve what you want as selecting a profile will route through that specific connection.

All your other traffic will be routed through whatever the local connection is, and your Chrome traffic will be routed through the VPN.

share|improve this answer
What do I put as the IP address & port number under the "Proxy Profiles" tab? Do I have to configure my VPN connection in any specific way in Windows settings? As you described it so far it isn't working for me. – void.pointer Jun 29 '11 at 21:04
@Robert : How do you have the VPN connection? Is it a software or is it through Windows? – paradd0x Jun 30 '11 at 14:27
I am using the built-in VPN client functionality in Windows 7. I basically go to Network & Sharing center and add a new VPN connection there. – void.pointer Jul 1 '11 at 17:49
@Robert : Then there should be a connection in the drop down menu for your VPN. Are you going to the window I've shown you? Set the proxy with the same IP and port that you use for your VPN. – paradd0x Jul 1 '11 at 17:54

Set up chrome to use the VPN as a proxy.

share|improve this answer
How do I do this? How do I prevent other applications from being unable to resolve my local network intranet domain names? Please supply more details. – void.pointer Jun 29 '11 at 20:56
Tools->Under the hood->Network settings->proxy settings->Lan settings->type in the IP and port of your VPN, and make sure the protocol is correct. – soandos Jun 29 '11 at 21:19
@soandos: I'm not sure what IP address to use here. The public facing IP of my VPN server? This doesn't seem right. Also, what port do I use? I don't have anything like an Apache server running, so I don't know how my VPN could be considered an HTTP proxy server. – void.pointer Jun 29 '11 at 21:23
Yes to the public facing IP of your VPN, and whatever port your VPN client goes to (could be anything, but here are some common ones. – soandos Jun 29 '11 at 21:33
Thanks soandos. Do I need to be connected to my VPN for this? I ask because if you are using a public IP of my VPN, it doesn't seem like I'd already need to be connected. – void.pointer Jun 29 '11 at 21:51

Actually, with windows 7, this is easy with windows built in firewall. This link gives a very easy description of the necessary steps.

Basically, make an inbound and an outbound rule blocking traffic of private and domain networks for the program you want to isolate. Be sure to NOT block public traffic with the rules. This also requires that your VPN is setup as a public network and your LAN is setup as private....

share|improve this answer

Its not actually possible to make ONLY chrome use a proxy/vpn without breaking atleast some other things. On windows, chrome stores those proxy settings (even if you use the proxy switcher extension listed elsewhere) in the standard Windows "Internet Settings" configuration area internally (not sure how to say that correctly).

This is the same menu that you get when going to "Options" from inside Internet Explorer (the browser) or via the control panel.

Most windows apps actually use these system wide settings for its proxy settings if set, and any program setting these, will make chrome use them. Firefox (atleast it did back in 3.x, no personal knowledge from 4.x or 5.x, but I doubt its changed) stored its own proxy settings isolated from windows, so it could be set to have dedicated proxy settings.

share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .