OpenVPN as client over a specific wifi interface?

I’ve been trying to set up OpenVPN as a VPN client keep a connection open over a specific wireless network.
So when I connect to the interface Wireless Network VPN I will be connected over a VPN tunnel using NordVPN service.

I did setup the the NORDVPN interface the same way as a guest interface to keep it separate from my LAN.
The Wireless VPN SSID is set up on the 5GHz card and attached to the NORDVPN Network but otherwise in the same way as the guest wireless which is on the 2.4GHZ card.

The OpenVPN setup is done after this guide and tips but adpated to my settings.

But as soon as I enable the OpenVPN I loose all access to the internet.

Any friendly soul that might help me out with what I have missed or need to do?

2 Likes

did you find a solution?

I read up on the problem and on roughly how to do it with zones and routing but it was a bit to messy for me at that moment.

I’ve put it on hold for a while. If I get it working I will post about it here.

Im on the same Issue… i think it would work somehow with the mwan3 package where we can define multiple wan’s.

But it looks like a really hard thing to do when you have no idea about this stuff.

https://www.turris.cz/doc/en/howto/multiwan?s[]=mwan3

Eventually someone can Help us out to Configure it right? I would also spend a Beer :wink:

What exactly is not working?

  1. Does the vpn client work if it is not isolated?
  2. Does the isolation work without the vpn client active?

If both work, it could be solved either through the zone forwarding and/or entries in the routing table.

Problem: When i change the Firewall Zones Forwarding that one Zone is going directly to WAN and the second threw VPN just the VPN Network will work.

Do you have any news on that?

I’m trying @adminX solution with the openvpn-script but right now its not working for me :confused: but i don’t know why… eventually i have a miss configuration.