Bonjour,
J'essaie de monter un vpn mais je rencontre des erreurs (j'ai suivi cette doc:
https://debian-facile.org/doc:reseau:vp … le-serveur) :
Pour lancer le serveur je fais: openvpn /etc/openvpn/server.conf et j'obtiens:
root@debian:/etc/openvpn/easy-rsa# openvpn /etc/openvpn/server.conf
Wed Oct 18 16:33:00 2017 WARNING: cannot stat file 'ta.key': No such file or directory (errno=2)
Options error: --tls-auth fails with 'ta.key': No such file or directory
Options error: Please correct these errors.
Use --help for more information.
ou avec un fichier credentials:
root@debian:/etc/openvpn/easy-rsa# openvpn /etc/openvpn/credentials
Wed Oct 18 16:35:26 2017 WARNING: file '/etc/openvpn/credentials' is group or others accessible
Wed Oct 18 16:35:26 2017 OpenVPN 2.4.3 x86_64-pc-linux-gnu [SSL (OpenSSL)] [LZO] [LZ4] [EPOLL] [PKCS11] [MH/PKTINFO] [AEAD] built on Jun 30 2017
Wed Oct 18 16:35:26 2017 library versions: OpenSSL 1.0.2l 25 May 2017, LZO 2.08
Wed Oct 18 16:35:26 2017 WARNING: --ns-cert-type is DEPRECATED. Use --remote-cert-tls instead.
Wed Oct 18 16:35:26 2017 TCP/UDP: Preserving recently used remote address: [AF_INET]212.129.2.185:1194
Wed Oct 18 16:35:26 2017 UDP link local: (not bound)
Wed Oct 18 16:35:26 2017 UDP link remote: [AF_INET]212.129.2.185:1194
Wed Oct 18 16:35:26 2017 WARNING: this configuration may cache passwords in memory -- use the auth-nocache option to prevent this
Wed Oct 18 16:35:26 2017 VERIFY OK: depth=1, C=GB, ST=LN, L=London, O=vpnsvc, OU=vpnsvc, CN=vpnsvc.com, name=vpnsvc, emailAddress=noc@vpnsvc.com
Wed Oct 18 16:35:26 2017 VERIFY OK: nsCertType=SERVER
Wed Oct 18 16:35:26 2017 VERIFY OK: depth=0, C=GB, ST=LN, L=London, O=vpnsvc, OU=vpnsvc, CN=vpnsvc, name=vpnsvc, emailAddress=noc@vpnsvc.com
Wed Oct 18 16:35:27 2017 Control Channel: TLSv1.2, cipher TLSv1/SSLv3 ECDHE-RSA-AES256-GCM-SHA384, 2048 bit RSA
Wed Oct 18 16:35:27 2017 [vpnsvc] Peer Connection Initiated with [AF_INET]212.129.2.185:1194
Wed Oct 18 16:35:28 2017 AUTH: Received control message: AUTH_FAILED
Wed Oct 18 16:35:28 2017 SIGTERM[soft,auth-failure] received, process exiting
Je ne comprends pas plus la doc à la fin de configuration de serveur. Dans le fichier credentials je ne sais pas oú ajouter l'identifiant et le mot de passe
Dernière modification par ragamatrix (18-10-2017 17:09:34)