Mon serveur YunoHost
Matériel: Raspberry Pi à la maison /
Version de YunoHost: 4.1.4.4
J’ai accès à mon serveur : En SSH | Par la webadmin | En direct avec un clavier/écran |
Êtes-vous dans un contexte particulier ou avez-vous effectué des modificiations particulières sur votre instance ? : non
Passage à un VPN de arn
Bonjour,
j’ai un besoin urgent de configurer un vpn du fournisseur arn sur le serveur. Nous avons utiliser le fichier .cube pour générer le vpn et rediriger le nom de domaine vers les Ipv4 et IPv6 du fournisseur VPN, mais pour l’instant, Vpn_client plante en ce lançant, voici les logs:
Journalctl
-- Logs begin at Mon 2021-01-11 15:45:33 CET, end at Mon 2021-01-11 17:00:02 CET. --
janv. 11 16:58:28 ntpd[16849]: Listen normally on 9 wlan0 [2a00:5881:8100:100::42]:123
janv. 11 16:58:28 ntpd[16849]: Listen normally on 10 wlan0 [fe80::5632:b529:40f6:eeac%3]:123
janv. 11 16:58:28 ntpd[16849]: Listening on routing socket on fd #27 for interface updates
janv. 11 16:58:29 ntpd[16849]: Soliciting pool server XXX.XXX.XX.XX
janv. 11 16:58:30 ntpd[16849]: Soliciting pool server XXX.XXX.XX.XX
janv. 11 16:58:30 ntpd[16849]: Soliciting pool server XXX.XX.XX.XXX
[......]
janv. 11 16:58:36 ntpd[16849]: ntpd: time slew +0.004136 s
janv. 11 16:58:36 ynh-vpnclient[16653]: [INFO] Preparing openvpn configuration...
janv. 11 16:58:36 ynh-vpnclient[16653]: [INFO] Now actually starting OpenVPN client...
janv. 11 16:58:36 ynh-vpnclient[16653]: [INFO] OpenVPN client started ... waiting for tun0 interface to show up
janv. 11 16:58:58 ynh-vpnclient[16653]: [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
janv. 11 16:58:58 ynh-vpnclient[16653]: Mon Jan 11 16:41:52 2021 SIGTERM[soft,exit-with-notification] received, process exiting
janv. 11 16:58:58 ynh-vpnclient[16653]: Mon Jan 11 16:42:43 2021 WARNING: file '/etc/openvpn/keys/user.key' is group or others accessible
janv. 11 16:58:58 ynh-vpnclient[16653]: Mon Jan 11 16:42:43 2021 OpenVPN 2.4.7 arm-unknown-linux-gnueabihf [SSL (OpenSSL)] [LZO] [LZ4] [EPOLL] [PKCS11] [MH/PKTINFO] [AEAD] built on Feb 20 2019
janv. 11 16:58:58 ynh-vpnclient[16653]: Mon Jan 11 16:42:43 2021 library versions: OpenSSL 1.1.1d 10 Sep 2019, LZO 2.10
janv. 11 16:58:58 ynh-vpnclient[16653]: Mon Jan 11 16:42:43 2021 WARNING: --ns-cert-type is DEPRECATED. Use --remote-cert-tls instead.
janv. 11 16:58:58 ynh-vpnclient[16653]: Mon Jan 11 16:42:43 2021 TCP/UDP: Preserving recently used remote address: [AF_INET6]2a00:5881:8100:1002::1:1194
janv. 11 16:58:58 ynh-vpnclient[16653]: Mon Jan 11 16:42:43 2021 Socket Buffers: R=[180224->180224] S=[180224->180224]
janv. 11 16:58:58 ynh-vpnclient[16653]: Mon Jan 11 16:42:43 2021 UDPv6 link local: (not bound)
janv. 11 16:58:58 ynh-vpnclient[16653]: Mon Jan 11 16:42:43 2021 UDPv6 link remote: [AF_INET6]2a00:5881:8100:1002::1:1194
janv. 11 16:58:58 ynh-vpnclient[16653]: Mon Jan 11 16:43:05 2021 event_wait : Interrupted system call (code=4)
janv. 11 16:58:58 ynh-vpnclient[16653]: Mon Jan 11 16:43:05 2021 SIGTERM received, sending exit notification to peer
janv. 11 16:58:58 ynh-vpnclient[16653]: Mon Jan 11 16:43:06 2021 SIGTERM[soft,exit-with-notification] received, process exiting
janv. 11 16:58:58 ynh-vpnclient[16653]: Mon Jan 11 16:58:36 2021 WARNING: file '/etc/openvpn/keys/user.key' is group or others accessible
janv. 11 16:58:58 ynh-vpnclient[16653]: Mon Jan 11 16:58:36 2021 OpenVPN 2.4.7 arm-unknown-linux-gnueabihf [SSL (OpenSSL)] [LZO] [LZ4] [EPOLL] [PKCS11] [MH/PKTINFO] [AEAD] built on Feb 20 2019
janv. 11 16:58:58 ynh-vpnclient[16653]: Mon Jan 11 16:58:36 2021 library versions: OpenSSL 1.1.1d 10 Sep 2019, LZO 2.10
janv. 11 16:58:58 ynh-vpnclient[16653]: Mon Jan 11 16:58:36 2021 WARNING: --ns-cert-type is DEPRECATED. Use --remote-cert-tls instead.
janv. 11 16:58:58 ynh-vpnclient[16653]: Mon Jan 11 16:58:36 2021 TCP/UDP: Preserving recently used remote address: [AF_INET6]2a00:5881:8100:1002::1:1194
janv. 11 16:58:58 ynh-vpnclient[16653]: Mon Jan 11 16:58:36 2021 Socket Buffers: R=[180224->180224] S=[180224->180224]
janv. 11 16:58:58 ynh-vpnclient[16653]: Mon Jan 11 16:58:36 2021 UDPv6 link local: (not bound)
janv. 11 16:58:58 ynh-vpnclient[16653]: Mon Jan 11 16:58:36 2021 UDPv6 link remote: [AF_INET6]2a00:5881:8100:1002::1:1194
janv. 11 16:58:58 ynh-vpnclient[16653]: [INFO] Stopping OpenVPN service
janv. 11 16:58:59 ynh-vpnclient[16653]: [CRIT] Failed to start OpenVPN client : tun0 interface did not show up
janv. 11 16:58:59 systemd[1]: ynh-vpnclient.service: Main process exited, code=exited, status=1/FAILURE
janv. 11 16:58:59 systemd[1]: ynh-vpnclient.service: Failed with result 'exit-code'.
janv. 11 16:58:59 systemd[1]: Failed to start YunoHost VPN Client..
/var/log/ynh-vpnclient.log
[INFO] No IPv6/IPv4 firewall set
[FAIL] No host DNS set
[FAIL] Openvpn is not running
[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] Preparing openvpn configuration...
[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
Mon Jan 11 16:41:52 2021 SIGTERM[soft,exit-with-notification] received, process exiting
Mon Jan 11 16:42:43 2021 WARNING: file '/etc/openvpn/keys/user.key' is group or others accessible
Mon Jan 11 16:42:43 2021 OpenVPN 2.4.7 arm-unknown-linux-gnueabihf [SSL (OpenSSL)] [LZO] [LZ4] [EPOLL] [PKCS11] [MH/PKTINFO] [AEAD] built on Feb 20 2019
Mon Jan 11 16:42:43 2021 library versions: OpenSSL 1.1.1d 10 Sep 2019, LZO 2.10
Mon Jan 11 16:42:43 2021 WARNING: --ns-cert-type is DEPRECATED. Use --remote-cert-tls instead.
Mon Jan 11 16:42:43 2021 TCP/UDP: Preserving recently used remote address: [AF_INET6]2a00:XXXX:XXXX:XXXX::X:XXXX
Mon Jan 11 16:42:43 2021 Socket Buffers: R=[180224->180224] S=[180224->180224]
Mon Jan 11 16:42:43 2021 UDPv6 link local: (not bound)
Mon Jan 11 16:42:43 2021 UDPv6 link remote: [AF_INET6]2a00:XXXX:XXXX:XXXX::X:XXXX
Mon Jan 11 16:43:05 2021 event_wait : Interrupted system call (code=4)
Mon Jan 11 16:43:05 2021 SIGTERM received, sending exit notification to peer
Mon Jan 11 16:43:06 2021 SIGTERM[soft,exit-with-notification] received, process exiting
Mon Jan 11 16:58:36 2021 WARNING: file '/etc/openvpn/keys/user.key' is group or others accessible
Mon Jan 11 16:58:36 2021 OpenVPN 2.4.7 arm-unknown-linux-gnueabihf [SSL (OpenSSL)] [LZO] [LZ4] [EPOLL] [PKCS11] [MH/PKTINFO] [AEAD] built on Feb 20 2019
Mon Jan 11 16:58:36 2021 library versions: OpenSSL 1.1.1d 10 Sep 2019, LZO 2.10
Mon Jan 11 16:58:36 2021 WARNING: --ns-cert-type is DEPRECATED. Use --remote-cert-tls instead.
Mon Jan 11 16:58:36 2021 TCP/UDP: Preserving recently used remote address: [AF_INET6]2a00:XXXX:XXXX:XXXX::X:XXXX
Mon Jan 11 16:58:36 2021 Socket Buffers: R=[180224->180224] S=[180224->180224]
Mon Jan 11 16:58:36 2021 UDPv6 link local: (not bound)
Mon Jan 11 16:58:36 2021 UDPv6 link remote: [AF_INET6]2a00:XXXX:XXXX:XXXX::X:XXXX
[INFO] Stopping OpenVPN service
[CRIT] Failed to start OpenVPN client : tun0 interface did not show up
[INFO] Retrieving Yunohost settings...
[ OK ] Settings retrieved
[INFO] Autodetected internet interface: 202 (last start: 202)
[INFO] Autodetected IPv6 address for the VPN server: 2a00:XXXX:XXXX:XXXX::X XXXXt start: 2a00:XXXX:XXXX:XXXX::X)XXXXFO] IPv6 delegated prefix found
[INFO] IPv6 address computed from the delegated prefix: 2a00:XXXX:XXXX:XXXX:4X
XXXXO] Hotspot app detected
[INFO] No IPv6 address to set
[INFO] Native IPv6 detected
[INFO] Autodetected native IPv6 gateway: fe80::f6ca:e5ff:fe59:6ab2 (last start: fe80::f6ca:e5ff:fe59:6ab2)
[FAIL] No IPv6 server route set
[INFO] No IPv6/IPv4 firewall set
[FAIL] No host DNS set
[FAIL] Openvpn is not running