OPNsense Forum

English Forums => High availability => Topic started by: fabiodanzetta on April 28, 2021, 12:18:40 pm

Title: Openvpn service stopped on backup node
Post by: fabiodanzetta on April 28, 2021, 12:18:40 pm
Hello everybody,
as I am a beginner with the opnsense ha configuration I wanted to ask you if it is normal or not that the openvpn service on the backup node is stopped and that it does not start if I try to start it from the GUI.
If I always check the connection status from the GUI, I read this message:

[error] Unable to contact daemon Service not running? 0 0 bytes 0 bytes

Thank you
Title: Re: Openvpn service stopped on backup node
Post by: NilsS on May 01, 2021, 04:35:29 pm
Use localhost as Interface on OpenVPN Server and User Portforwarding on WAN (carp) to 127.0.0.1
Title: Re: Openvpn service stopped on backup node
Post by: fabiodanzetta on May 02, 2021, 04:41:20 pm
Hi NilsS

thanks for the support.
But I don't think I have understood correctly.
"Use localhost as Interface on OpenVPN Server" I guess to be set in the slave configuration.
While "User Portforwarding on WAN (carp) to 127.0.0.1" I don't think I understand.

Thanks so much
Title: Re: Openvpn service stopped on backup node
Post by: NilsS on May 05, 2021, 01:59:27 pm
Hi,

if you choose localhost on both machines then changes of the interfaces (or HA Failover) do not interupt the openvpn daemon. Portforward on both machines from VIP Interface:1194 to 127.0.0.1:1194