В логе ERROR: Cannot open TUN/TAP dev /dev/net/tun: No such file or directory (errno=2)
Реакция на modprobe tun modprobe: FATAL: Module tun not found in directory /lib/modules/5.4.24-2.1.5+gbabac008e5cf
На 6 ревизии работает.
/var/log/opnvpn.log:
Код: Выделить всё
Mon Mar 18 11:38:03 2024 OpenVPN 2.4.7 arm-poky-linux-gnueabi [SSL (OpenSSL)] [LZO] [LZ4] [EPOLL] [MH/PKTINFO] [AEAD] built on Sep 25 2023
Mon Mar 18 11:38:03 2024 library versions: OpenSSL 1.1.1g 21 Apr 2020, LZO 2.10
Mon Mar 18 11:38:03 2024 WARNING: No server certificate verification method has been enabled. See http://openvpn.net/howto.html#mitm for more info.
Mon Mar 18 11:38:03 2024 Could not determine IPv4/IPv6 protocol
Mon Mar 18 11:38:03 2024 SIGUSR1[soft,init_instance] received, process restarting
Mon Mar 18 11:38:03 2024 Restart pause, 5 second(s)
Mon Mar 18 11:38:07 2024 WARNING: No server certificate verification method has been enabled. See http://openvpn.net/howto.html#mitm for more info.
Mon Mar 18 11:38:07 2024 TCP/UDP: Preserving recently used remote address: [AF_INET]тут-ip-сервера:порт
Mon Mar 18 11:38:07 2024 Socket Buffers: R=[180224->180224] S=[180224->180224]
Mon Mar 18 11:38:07 2024 UDP link local: (not bound)
Mon Mar 18 11:38:07 2024 UDP link remote: [AF_INET]тут-ip-сервера:порт
Mon Mar 18 11:38:08 2024 TLS: Initial packet from [AF_INET]тут-ip-сервера:порт, sid=58aa1111 093d2933
Mon Mar 18 11:38:08 2024 VERIFY OK: depth=1, C=RU, ST=RU, L=Moscow, O=Decast group, OU=lbs-proxy1, CN=Decast group CA, name=EasyRSA, emailAddress=почта
Mon Mar 18 11:38:08 2024 VERIFY OK: depth=0, C=RU, ST=RU, L=Moscow, O=затер, OU=затер, CN=затер, name=EasyRSA, emailAddress=затер@затер.com
Mon Mar 18 11:38:08 2024 Control Channel: TLSv1.3, cipher TLSv1.3 TLS_AES_256_GCM_SHA384, 2048 bit RSA
Mon Mar 18 11:38:08 2024 [lbs-proxy1] Peer Connection Initiated with [AF_INET]тут-ip-сервера:порт
Mon Mar 18 11:38:09 2024 SENT CONTROL [lbs-proxy1]: 'PUSH_REQUEST' (status=1)
Mon Mar 18 11:38:09 2024 OPTIONS IMPORT: timers and/or timeouts modified
Mon Mar 18 11:38:09 2024 OPTIONS IMPORT: --ifconfig/up options modified
Mon Mar 18 11:38:09 2024 OPTIONS IMPORT: route-related options modified
Mon Mar 18 11:38:09 2024 OPTIONS IMPORT: peer-id set
Mon Mar 18 11:38:09 2024 OPTIONS IMPORT: adjusting link_mtu to 1657
Mon Mar 18 11:38:09 2024 OPTIONS IMPORT: data channel crypto options modified
Mon Mar 18 11:38:09 2024 Data Channel: using negotiated cipher 'AES-256-GCM'
Mon Mar 18 11:38:09 2024 Outgoing Data Channel: Cipher 'AES-256-GCM' initialized with 256 bit key
Mon Mar 18 11:38:09 2024 Incoming Data Channel: Cipher 'AES-256-GCM' initialized with 256 bit key
Mon Mar 18 11:38:09 2024 ERROR: Cannot open TUN/TAP dev /dev/net/tun: No such file or directory (errno=2)
Mon Mar 18 11:38:09 2024 Exiting due to fatal error