Hi,
So I use split tunneling with openvpn provider..
under archlinux,
I'm using netctl but I'm sure it would be a problem with every cli tools working with systemd.
How do I ask to openvpn to create a supplemental table when openvpn is creating the connection ?
Basically manually you need to do this:
sudo ip rule add from 10.0.0.0/8 lookup 102
sudo ip route add default table 102 dev tun0 via 10.10.0.1
So is it possible to do that in a openvpn script or is it possible to add a script to do that?
because under archlinux and so because of systemd (which is not a bad thing), you need to do : sudo systemctl enable
openvpn-client@provider.service