OPNsense Forum

Archive => 23.1 Legacy Series => Topic started by: LoZ on March 09, 2023, 09:52:54 am

Title: Configuring 'Virtual Addr' for multiple OpenVPN instances
Post by: LoZ on March 09, 2023, 09:52:54 am
Hi all,

I'm using OPNsense 23.1.1_2-amd64 and built-in 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? Happy to provide screenshots/more info if it would help.
Title: Re: Configuring 'Virtual Addr' for multiple OpenVPN instances
Post by: LoZ on March 16, 2023, 08:24:09 pm
Bump for this, hoping someone has an idea about it!