OpenVPN S2S [error] Unable to contact daemon
-
Hi,
just set OpenVPN per this instruction: OpenVPN Site-to-Site Configuration Example with SSL/TLS.
On server, I have the error: [error] Unable to contact the daemon.
When I restart [actualy when I try to start OpenVPN service this is from log file:
Mar 28 23:16:26 openvpn 69536 OpenVPN 2.6_beta1 armv7-portbld-freebsd14.0 [SSL (OpenSSL)] [LZO] [LZ4] [MH/RECVDA] [AEAD] [DCO] Mar 28 23:16:26 openvpn 69536 library versions: OpenSSL 1.1.1t-freebsd 7 Feb 2023, LZO 2.10 Mar 28 23:16:26 openvpn 69536 NOTE: the current --script-security setting may allow this configuration to call user-defined scripts Mar 28 23:16:26 openvpn 69536 WARNING: experimental option --capath /var/etc/openvpn/server1/ca Mar 28 23:16:26 openvpn 69536 Cannot open TUN/TAP dev /dev/tun1: No such file or directory (errno=2) Mar 28 23:16:26 openvpn 69536 Exiting due to fatal error
Triple checked instructions, all looks good to me.
-
@miro_ivanovic said in OpenVPN S2S [error] Unable to contact daemon:
annot open TUN/TAP dev /dev/tun1: No such file
Check the OpenVPN forum OpenVPN could not be established after upgrade to 23.01 on SG-3100
-
@gertjan this fixed issue for me
- Updating the linker file manually fixed it for me. Run: ```
kldxref /boot/kernel
on both SG-3100
- restarted OpenVPN service on both router
Thanks for quick reply.