amuck-landowner

Only sending certain traffic over a VPN?

SwitchBlade

New Member
How can I setup my VPN so only the traffic I want is sent over the VPN? For example, I want most things to go over my regular home connection but only want my a VPN to connect to my servers and some other sites when it is running. Any ideas?

VPN should only connect to:

xx.xx.xxx.x1

xx.xx.xxx.x2

xx.xx.xxx.x3

etc

But nothing else.
 

HalfEatenPie

The Irrational One
Retired Staff
This is possible by setting up static routing. 

For example, this is how I edited my OpenVPN config file for Pandora, Netflix, Fox, and Hulu.

http://paste.ee/p/hbHSb

Of course that isn't 100% right, but it's enough to make it work.  

You can also set it up via DNS as a form of proxy.  
 
Last edited by a moderator:

drmike

100% Tier-1 Gogent
Most stuff is super leaky... but.... see if said programs support SOCKS or other proxy and use that to push out to proxy...

Me I just run multiple computers to deal with said complexity.. can it be done in one machine?  Sure... but regulating such, managing, etc.  that needs a panel I'd say and whole bunch of work.
 

johnlth93

New Member
Static routing should do the tricks, need not to redirect the whole gateway 0.0.0.0/0

just certain IP range or IP would do it
 

SwitchBlade

New Member
This is possible by setting up static routing. 

For example, this is how I edited my OpenVPN config file for Pandora, Netflix, Fox, and Hulu.

http://paste.ee/p/hbHSb

Of course that isn't 100% right, but it's enough to make it work.  

You can also set it up via DNS as a form of proxy.  
Cheers bud, that worked! I added that to my openvpn .ovpn file and it did what I wanted it to do. 

Whats about DNS as a form of proxy? 
 
Last edited by a moderator:
Top
amuck-landowner