Home
Help
Search
Login
Register
OPNsense Forum
»
English Forums
»
High availability
»
Prevent OpenVPN from being restarted on 'backup' node
« previous
next »
Print
Pages: [
1
]
Author
Topic: Prevent OpenVPN from being restarted on 'backup' node (Read 3021 times)
effin_dead_again
Newbie
Posts: 2
Karma: 0
Prevent OpenVPN from being restarted on 'backup' node
«
on:
May 14, 2021, 05:07:24 pm »
Hi all
I would like to see if it is possible to prevent the OpenVPN Server from being restarted on the backup node when a configuration sync occurs. I am only using the configuration sync to copy users and certificates from primary to secondary, so that I may have a multi-server OpenVPN 'farm'. I am not using any of the CARP or active/passive features, I just want to sync users and certificates from the primary opnsense server to the secondary opensense server.
I started going down the code rabbit hole and I ended up
here
as the final stop on my journey, but I can't see where the command to restart OpenVPN is occurring.
I also followed the advice
here
and that did not affect the restarting of the service.
Any ideas or thoughts are appreciated. Thanks!
Logged
effin_dead_again
Newbie
Posts: 2
Karma: 0
Re: Prevent OpenVPN from being restarted on 'backup' node
«
Reply #1 on:
May 17, 2021, 08:11:17 pm »
Even if it's just pointing me at the file/line of code that sends the restart command to openVPN when a sync occurs, I can take it from there, I'm pretty handy when it comes to hacking on scripts.
Logged
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
English Forums
»
High availability
»
Prevent OpenVPN from being restarted on 'backup' node