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)
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.