I'm trying to configure openvpn so that only traffic from certain processes goes over the vpn, but those processes could connect to anywhere.
I'm trying to do that by having openvpn not do any route configuration (--route-noexec
) and having applications explicitly connect to the tun interface (eg: curl --interface tun0 'http://www.ipchicken.com'
), but connect()
seems to time out.
Is there some other step that I have to do in order to make the tun interface happy?