OPNsense Forum

English Forums => Virtual private networks => Topic started by: ajr on September 21, 2024, 07:02:26 PM

Title: How switching OpenVPN client on failover
Post by: ajr on September 21, 2024, 07:02:26 PM
In a HA-cluster, the OpenVPN client on the backup/master must be disabled/enabled.
Should I do this with a script (devd + ifconfig) or is there an OPNsense internal way ?
The tunel provides IPv6 connectivity to the internet (default route) for some nets with static addresses.

Any tips welcome.
Title: Re: How switching OpenVPN client on failover [RESOLVED]
Post by: ajr on September 24, 2024, 01:47:45 AM
There is no need for scripting with devd etc.
Setting up a CARP-Alias for the WAN-interface, adjusting outgoing NAT and finally using this CARP-Address as  OpenVPN interface address is enough to get it running.
Perfectly  :)

OPNsense is such a wonderful product !