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

VPN is working properly.

However, I wanted to route only a specific IP/block to net_vpn and all the rest of the traffic to net_gateway.

route net_gateway
route vpn_gateway

I tried this, but I think it does not work.

share|improve this question
Which OS? Keep in mind that routing on the reverse path must also set up correctly. Debug your setup using a packet analyzer like tcpdump or wireshark. – artistoex Oct 15 '12 at 7:41
Linux (Debian) Yeah. I only wanted to allow specific block, since that VPN is slow. – Louie Miranda Oct 16 '12 at 2:49
Have you done the packet analysis? – artistoex Oct 16 '12 at 12:40

You must log in to answer this question.

Browse other questions tagged .