You are not logged in.

#1 2012-11-30 22:48:55

tsr-nc
Member
Registered: 2009-02-07
Posts: 40

routing traffic through VPN

I have a working openvpn tunnel. I would like to selectively route traffic through the VPN. How would I route traffic by port and or by application.
or how would I "whitelist" some traffic to not go though the vpn

Last edited by tsr-nc (2012-12-01 04:27:48)

Offline

#2 2012-12-01 11:03:10

p0x8
Member
Registered: 2012-09-20
Posts: 70

Re: routing traffic through VPN

Interesting scenario. One possible approach would be to use iptables to mark the traffic you're interested in (e.g. by port) and create a distinct routing table for it. This discussion in serverfault should be enough to get you started.

Offline

Board footer

Powered by FluxBB