Do you have in "timeouts" in general log without OpenVPN interfaces? Like this one:Quoteconfigctl[11670] error in configd communication Traceback (most recent call last): File "/usr/local/opnsense/service/configd_ctl.py", line 68, in exec_config_cmd line = sock.recv(65536).decode() socket.timeout: timed out
configctl[11670] error in configd communication Traceback (most recent call last): File "/usr/local/opnsense/service/configd_ctl.py", line 68, in exec_config_cmd line = sock.recv(65536).decode() socket.timeout: timed out
So there are no associated errors or delays in the OpenVPN log...?I'm not seeing the issue despite having multiple OpenVPN Client (ovpnc) interfaces.Also, because you are not seeing the issue on all such interfaces, it suggests the problem lies in just those with a delay.
Like I mentioned above, I've tested a "vanilla" installation, latest version of opnsense, so clean sheet, no config import whatsoever. Just added a few openvpn servers and created an interface for it. That results in the delay right away for me.
I did some testing with a vanilla configuration, and measured the time it took opnsense to reconfigure all connections:1 vpn server configured = 30sec total2 vpn servers configured = 100sec total3 vpn servers configured = 25sec total !?!?!?!?Then I deleted the 3rd and it took 20 seconds, but the boot after that it was 40. Seems like the delay is a bit random.....
So far it looks like more related to the OPNsense core than to the "VPN" topic.