Configuring 'Virtual Addr' for multiple OpenVPN instances
Posted: Tue Mar 07, 2023 12:21 pm
Hi all,
I'm using an OPNsense router (v23.1.1_2-amd64) router and using OpenVPN client to connect to multiple (3 in this case) VPN server instances.
This all works very well but occasionally, when any one of the client instances restarts (manually or automatically) it will pick up a 'Virtual Addr' on the same subnet as another running instance. This means that no traffic will flow until the service is restarted enough times to pick up a local IP on a different subnet.
The IP ranges appear to be constrained to:
10.8.0.0/24
10.8.1.0/24
10.8.2.0/24
10.8.3.0/24
But I can't find a way to force a particular connection to only use Virtual Addr/Local IPs from a specific subnet.
Does anyone have any ideas? I guessed that this is a question for the OpenVPN forums rather than OPNSense.
I'm using an OPNsense router (v23.1.1_2-amd64) router and using OpenVPN client to connect to multiple (3 in this case) VPN server instances.
This all works very well but occasionally, when any one of the client instances restarts (manually or automatically) it will pick up a 'Virtual Addr' on the same subnet as another running instance. This means that no traffic will flow until the service is restarted enough times to pick up a local IP on a different subnet.
The IP ranges appear to be constrained to:
10.8.0.0/24
10.8.1.0/24
10.8.2.0/24
10.8.3.0/24
But I can't find a way to force a particular connection to only use Virtual Addr/Local IPs from a specific subnet.
Does anyone have any ideas? I guessed that this is a question for the OpenVPN forums rather than OPNSense.