Voilà ce jour, perte de la connexion VPN vers 13h
sur l’interface d’administration :
ynh-vpnclient Tunnels the internet traffic through a VPN
failed depuis il y a 1 minute
journalctl
-- Logs begin at Fri 2021-11-26 14:04:10 CET, end at Sat 2021-11-27 13:09:42 CET. --
Nov 27 13:07:13 ntpd[21417]: Listen normally on 9 wlan0 [fe80::3a:35ff:feb0:4300%3]:123
Nov 27 13:07:13 ntpd[21417]: Listening on routing socket on fd #26 for interface updates
Nov 27 13:07:20 ntpd[21417]: Soliciting pool server 5***
Nov 27 13:07:21 ntpd[21417]: ntpd: time slew -0.015651 s
Nov 27 13:07:21 ynh-vpnclient[21238]: [INFO] Now actually starting OpenVPN client...
Nov 27 13:07:21 ynh-vpnclient[21238]: [INFO] OpenVPN client started ... waiting for tun0 interface to show up
Nov 27 13:07:43 ynh-vpnclient[21238]: [FAIL] Tun0 interface did not show up ... most likely an issue happening in OpenVPN client ... below is an extract of the log that might be relevant to pinpoint the issue
Nov 27 13:07:43 ynh-vpnclient[21238]: Sat Nov 27 12:57:31 2021 UDP link local: (not bound)
Nov 27 13:07:43 ynh-vpnclient[21238]: Sat Nov 27 12:57:31 2021 UDP link remote: [AF_INET6]2001:910:800::104:1194
Nov 27 13:07:43 ynh-vpnclient[21238]: Sat Nov 27 12:57:53 2021 event_wait : Interrupted system call (code=4)
Nov 27 13:07:43 ynh-vpnclient[21238]: Sat Nov 27 12:57:53 2021 SIGTERM received, sending exit notification to peer
Nov 27 13:07:43 ynh-vpnclient[21238]: Sat Nov 27 12:57:54 2021 SIGTERM[soft,exit-with-notification] received, process exiting
Nov 27 13:07:43 ynh-vpnclient[21238]: Sat Nov 27 13:02:22 2021 OpenVPN 2.4.7 arm-unknown-linux-gnueabihf [SSL (OpenSSL)] [LZO] [LZ4] [EPOLL] [PKCS11] [MH/PKTINFO] [AEAD] built on Apr 28 2021
Nov 27 13:07:43 ynh-vpnclient[21238]: Sat Nov 27 13:02:22 2021 library versions: OpenSSL 1.1.1d 10 Sep 2019, LZO 2.10
Nov 27 13:07:43 ynh-vpnclient[21238]: Sat Nov 27 13:02:22 2021 TCP/UDP: Preserving recently used remote address: [AF_INET6]2001:910:800::108:1194
Nov 27 13:07:43 ynh-vpnclient[21238]: Sat Nov 27 13:02:22 2021 Socket Buffers: R=[163840->163840] S=[163840->163840]
Nov 27 13:07:43 ynh-vpnclient[21238]: Sat Nov 27 13:02:22 2021 UDP link local: (not bound)
Nov 27 13:07:43 ynh-vpnclient[21238]: Sat Nov 27 13:02:22 2021 UDP link remote: [AF_INET6]2001:910:800::108:1194
Nov 27 13:07:43 ynh-vpnclient[21238]: Sat Nov 27 13:02:44 2021 event_wait : Interrupted system call (code=4)
Nov 27 13:07:43 ynh-vpnclient[21238]: Sat Nov 27 13:02:44 2021 SIGTERM received, sending exit notification to peer
Nov 27 13:07:43 ynh-vpnclient[21238]: Sat Nov 27 13:02:45 2021 SIGTERM[soft,exit-with-notification] received, process exiting
Nov 27 13:07:43 ynh-vpnclient[21238]: Sat Nov 27 13:07:21 2021 OpenVPN 2.4.7 arm-unknown-linux-gnueabihf [SSL (OpenSSL)] [LZO] [LZ4] [EPOLL] [PKCS11] [MH/PKTINFO] [AEAD] built on Apr 28 2021
Nov 27 13:07:43 ynh-vpnclient[21238]: Sat Nov 27 13:07:21 2021 library versions: OpenSSL 1.1.1d 10 Sep 2019, LZO 2.10
Nov 27 13:07:43 ynh-vpnclient[21238]: Sat Nov 27 13:07:21 2021 TCP/UDP: Preserving recently used remote address: [AF_INET6]2001:910:800::57:1194
Nov 27 13:07:43 ynh-vpnclient[21238]: Sat Nov 27 13:07:21 2021 Socket Buffers: R=[163840->163840] S=[163840->163840]
Nov 27 13:07:43 ynh-vpnclient[21238]: Sat Nov 27 13:07:21 2021 UDP link local: (not bound)
Nov 27 13:07:43 ynh-vpnclient[21238]: Sat Nov 27 13:07:21 2021 UDP link remote: [AF_INET6]2001:910:800::57:1194
Nov 27 13:07:43 ynh-vpnclient[21238]: [INFO] Stopping OpenVPN service
Nov 27 13:07:44 ynh-vpnclient[21238]: [CRIT] Failed to start OpenVPN client : tun0 interface did not show up
Nov 27 13:07:44 systemd[1]: ynh-vpnclient.service: Main process exited, code=exited, status=1/FAILURE
Nov 27 13:07:44 systemd[1]: ynh-vpnclient.service: Failed with result 'exit-code'.
Nov 27 13:07:44 systemd[1]: Failed to start YunoHost VPN Client..
/var/log/ynh-vpnclient.log
Sat Nov 27 12:57:14 2021 SIGTERM[soft,exit-with-notification] received, process exiting
Sat Nov 27 12:57:31 2021 OpenVPN 2.4.7 arm-unknown-linux-gnueabihf [SSL (OpenSSL)] [LZO] [LZ4] [EPOLL] [PKCS11] [MH/PKTINFO] [AEAD] built on Apr 28 2021
Sat Nov 27 12:57:31 2021 library versions: OpenSSL 1.1.1d 10 Sep 2019, LZO 2.10
Sat Nov 27 12:57:31 2021 TCP/UDP: Preserving recently used remote address: [AF_INET6]2001:910:800::104:1194
Sat Nov 27 12:57:31 2021 Socket Buffers: R=[163840->163840] S=[163840->163840]
Sat Nov 27 12:57:31 2021 UDP link local: (not bound)
Sat Nov 27 12:57:31 2021 UDP link remote: [AF_INET6]2001:910:800::104:1194
Sat Nov 27 12:57:53 2021 event_wait : Interrupted system call (code=4)
Sat Nov 27 12:57:53 2021 SIGTERM received, sending exit notification to peer
Sat Nov 27 12:57:54 2021 SIGTERM[soft,exit-with-notification] received, process exiting
Sat Nov 27 13:02:22 2021 OpenVPN 2.4.7 arm-unknown-linux-gnueabihf [SSL (OpenSSL)] [LZO] [LZ4] [EPOLL] [PKCS11] [MH/PKTINFO] [AEAD] built on Apr 28 2021
Sat Nov 27 13:02:22 2021 library versions: OpenSSL 1.1.1d 10 Sep 2019, LZO 2.10
Sat Nov 27 13:02:22 2021 TCP/UDP: Preserving recently used remote address: [AF_INET6]2001:910:800::108:1194
Sat Nov 27 13:02:22 2021 Socket Buffers: R=[163840->163840] S=[163840->163840]
Sat Nov 27 13:02:22 2021 UDP link local: (not bound)
Sat Nov 27 13:02:22 2021 UDP link remote: [AF_INET6]2001:910:800::108:1194
[INFO] Stopping OpenVPN service
[CRIT] Failed to start OpenVPN client : tun0 interface did not show up
[INFO] Retrieving Yunohost settings...
[ OK ] Settings retrieved
[INFO] [vpnclient] Starting...
[INFO] Cleaning vpnclient custom rules from the firewall
[INFO] Restarting yunohost firewall...
[ OK ] Firewall restarted!
[INFO] Now synchronizing time using ntp...
[INFO] Now actually starting OpenVPN client...
[INFO] OpenVPN client started ... waiting for tun0 interface to show up
[FAIL] Tun0 interface did not show up ... most likely an issue happening in OpenVPN client ... below is an extract of the log that might be relevant to pinpoint the issue
Sat Nov 27 12:57:31 2021 UDP link local: (not bound)
Sat Nov 27 12:57:31 2021 UDP link remote: [AF_INET6]2001:910:800::104:1194
Sat Nov 27 12:57:53 2021 event_wait : Interrupted system call (code=4)
Sat Nov 27 12:57:53 2021 SIGTERM received, sending exit notification to peer
Sat Nov 27 12:57:54 2021 SIGTERM[soft,exit-with-notification] received, process exiting
Sat Nov 27 13:02:22 2021 OpenVPN 2.4.7 arm-unknown-linux-gnueabihf [SSL (OpenSSL)] [LZO] [LZ4] [EPOLL] [PKCS11] [MH/PKTINFO] [AEAD] built on Apr 28 2021
Sat Nov 27 13:02:22 2021 library versions: OpenSSL 1.1.1d 10 Sep 2019, LZO 2.10
Sat Nov 27 13:02:22 2021 TCP/UDP: Preserving recently used remote address: [AF_INET6]2001:910:800::108:1194
Sat Nov 27 13:02:22 2021 Socket Buffers: R=[163840->163840] S=[163840->163840]
Sat Nov 27 13:02:22 2021 UDP link local: (not bound)
Sat Nov 27 13:02:22 2021 UDP link remote: [AF_INET6]2001:910:800::108:1194
Sat Nov 27 13:02:44 2021 event_wait : Interrupted system call (code=4)
Sat Nov 27 13:02:44 2021 SIGTERM received, sending exit notification to peer
Sat Nov 27 13:02:45 2021 SIGTERM[soft,exit-with-notification] received, process exiting
Sat Nov 27 13:07:21 2021 OpenVPN 2.4.7 arm-unknown-linux-gnueabihf [SSL (OpenSSL)] [LZO] [LZ4] [EPOLL] [PKCS11] [MH/PKTINFO] [AEAD] built on Apr 28 2021
Sat Nov 27 13:07:21 2021 library versions: OpenSSL 1.1.1d 10 Sep 2019, LZO 2.10
Sat Nov 27 13:07:21 2021 TCP/UDP: Preserving recently used remote address: [AF_INET6]2001:910:800::57:1194
Sat Nov 27 13:07:21 2021 Socket Buffers: R=[163840->163840] S=[163840->163840]
Sat Nov 27 13:07:21 2021 UDP link local: (not bound)
Sat Nov 27 13:07:21 2021 UDP link remote: [AF_INET6]2001:910:800::57:1194
[INFO] Stopping OpenVPN service
[CRIT] Failed to start OpenVPN client : tun0 interface did not show up
l’interface tun0 semble avoir disparu.
sur la brique :
#systemctl restart networking.service
#journalctl -xe
nov. 27 13:18:01 home.freegum.fr ifup[22927]: ifup: failed to bring up usb0
– The unit networking.service has entered the ‘failed’ state with result ‘exit-code’.
nov. 27 13:18:01 home.freegum.fr systemd[1]: Failed to start Raise network interfaces.
– Subject: L’unité (unit) networking.service a échoué
→ redemarrage de la brique.
apres redemarrage :
ip a
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
valid_lft forever preferred_lft forever
inet6 ::1/128 scope host
valid_lft forever preferred_lft forever
2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP group default qlen 1000
link/ether *** brd ff:ff:ff:ff:ff:ff
inet ***/24 brd *** scope global dynamic eth0
valid_lft 42954sec preferred_lft 42954sec
inet6 ***/64 scope global dynamic mngtmpaddr
valid_lft 86151sec preferred_lft 86151sec
inet6 ***/128 scope link
valid_lft forever preferred_lft forever
inet6 ***/64 scope link
valid_lft forever preferred_lft forever
3: wlan0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP group default qlen 1000
link/ether *** brd ff:ff:ff:ff:ff:ff
inet ***/24 scope global wlan0
valid_lft forever preferred_lft forever
inet6 ***/64 scope global
valid_lft forever preferred_lft forever
inet6 ***/64 scope link
valid_lft forever preferred_lft forever
4: tun0: <POINTOPOINT,MULTICAST,NOARP,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UNKNOWN group default qlen 100
link/none
inet ***/22 brd ***.255 scope global tun0
valid_lft forever preferred_lft forever
inet6 ***/128 scope global
valid_lft forever preferred_lft forever
inet6 ***/64 scope global
valid_lft forever preferred_lft forever
inet6 ***/64 scope link stable-privacy
valid_lft forever preferred_lft forever
tun0 apparait bien … Je ne comprend pas pourquoi tun0 “disparait” sans raison apparente.