Hey all,
I was wondering if it is possible to have 2 OVPN clients running on a server with multiple (physical) network interfaces. Where each client routes all traffic from each of the network interfaces to a different server.
This is what I basically want to achieve:
OVPN Server 1 is running on a vRoot server (situated fairly close to my city) which I can configure myself. It main purpose is to give remote clients access to the home network and to provide privacy to all clients at good connection speed.
OVPN Server 2 will be a VPN-Server from one of the many VPN-Service providers, it main purpose should be to bypass geo blocking.
My idea was to have the DHCP Server running on 10.23.42.3 setting the default gateway to 10.23.42.3 and have OVPN Client 1 to redirect all traffic from 10.23.42.3 to OVPN server 1. Devices who need to bypass geo blocking would have to manual change their default gateway to 10.23.42.4, where OVPN Client 2 would redirect their traffic to OVPN Server 2.
Would this in principal work? Or would one OVPN client flush the IPTables rules of the other?
Is this doable for some one with intermediate Linux bash scripting experience or will this be a IPTables nightmare?
If you say that this is doable I would try to set up a PoC with an RPI with 2 USB Ethernet cards.
Cheers