tech:pb_openvpn_demarrage_service
Ceci est une ancienne révision du document !
Pb OpenVPN démarrage service
Voir Using OpenVPN with systemd
On jette un œil
dpkg -L openvpn |egrep 'systemd.*service$'
On a la commande
/usr/sbin/openvpn --status /run/openvpn/client.status 10 --cd /etc/openvpn --config /etc/openvpn/client.conf
Manuellement ça marche (interface réseau tun, ping…) Ctrl + C
# systemctl status openvpn@vpn.service # systemctl start openvpn@vpn.service Options error: In [CMD-LINE]:1: Error opening configuration file: /etc/openvpn/vpn.conf
- /etc/default/openvpn
# If you're running systemd, changing this variable will # require running "systemctl daemon-reload" followed by # a restart of the openvpn service (if you removed entries # you may have to stop those manually) # AUTOSTART="all"
Solution
systemctl daemon-reload
service openvpn reload
service openvpn@client reload
Si encore pb, penser à utiliser des chemins absolus dans le fichier de conf et s'assurer que l'extension (.conf ou .ovpn !?) soit bonne
tech/pb_openvpn_demarrage_service.1742825205.txt.gz · Dernière modification : de 127.0.0.1
