Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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

I use a vpn service and all my traffic gows through it when I'm connected to it. I like all data to go through it besides my database traffic. The database in running on a dedicated server remotely.

The vpn is being used on a windows machine. What is the best way to do this?

share|improve this question
up vote 1 down vote accepted

I presume that the VPN connection is set up on the very machine you use and not on some uplink. Then you should run command line with admin privileges and type the following:


This will make all the traffic sent to IP_OF_YOUR_DATABASE go through the normal gateway, bypassing your VPN connection.

For me it would be like:

route add 77.xx.xx.xx mask is my router's address on my network.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.