I am trying to configure an openvpn client and server to run simultaneously on the same host.
My issue is that once the host is connected to the paid VPN service the external ip of the host changes and I can no longer connect any clients because the external IP changes. I'm sure there are some iptables
rules that could be set to make this work but I can not for the life of me figure it out and google seems to fail me on this topic.
As you can see below I have 2 openvpn Servers setup. tun0
is a split tunnel that only transports dns traffic. tun1
is a full tunnel that transports all traffic.
What i'd like to accomplish is to continue using the 2 servers for clients to connect to and then route all their traffic thru a paid vpn service as well as all routing all traffic originating from the host thru the paid vpn as well.
output from ifconfig
below: