Erreur Openvpn : server (failed) debian 4

Fermé
ericstifler Messages postés 19 Date d'inscription jeudi 17 juillet 2008 Statut Membre Dernière intervention 23 juillet 2010 - 3 sept. 2009 à 11:42
brupala Messages postés 109634 Date d'inscription lundi 16 juillet 2001 Statut Membre Dernière intervention 31 mai 2024 - 3 sept. 2009 à 11:52
Bonjour, jarrive pas à mener à bout mon projet de vpn . enfait jai suivi de nombreux tutos sur la configuration de lopenvpn mais jarrive toujours pas à faire fonctionner mon serveur . Quand je démarre le serveur j'ai le message server (failed) client (failed) et qd je regarde le fichier log j'ai ceci:



Sep 3 07:36:27 connecty syslogd 1.4.1#18: restart.
Sep 3 07:36:27 connecty anacron[4955]: Job `cron.daily' terminated (mailing output)
Sep 3 07:36:27 connecty anacron[4955]: Normal exit (1 job run)
Sep 3 07:48:26 connecty -- MARK --
Sep 3 08:08:26 connecty -- MARK --
Sep 3 08:16:13 connecty dhclient: DHCPREQUEST on eth2 to 192.168.1.1 port 67
Sep 3 08:16:13 connecty dhclient: DHCPACK from 192.168.1.1
Sep 3 08:16:13 connecty NetworkManager: <information>^IDHCP daemon state is now 3 (renew) for interface eth2
Sep 3 08:16:13 connecty dhclient: bound to 192.168.1.106 -- renewal in 3205 seconds.
Sep 3 08:17:02 connecty /USR/SBIN/CRON[6424]: (root) CMD ( cd / && run-parts --report /etc/cron.hourly)
Sep 3 08:28:26 connecty -- MARK --
Sep 3 08:48:27 connecty -- MARK --
Sep 3 09:08:27 connecty -- MARK --
Sep 3 09:09:38 connecty dhclient: DHCPREQUEST on eth2 to 192.168.1.1 port 67
Sep 3 09:09:38 connecty dhclient: DHCPACK from 192.168.1.1
Sep 3 09:09:38 connecty NetworkManager: <information>^IDHCP daemon state is now 3 (renew) for interface eth2
Sep 3 09:09:38 connecty dhclient: bound to 192.168.1.106 -- renewal in 2714 seconds.
Sep 3 09:17:01 connecty /USR/SBIN/CRON[8028]: (root) CMD ( cd / && run-parts --report /etc/cron.hourly)
Sep 3 09:28:27 connecty -- MARK --
Sep 3 09:48:27 connecty -- MARK --
Sep 3 09:54:52 connecty dhclient: DHCPREQUEST on eth2 to 192.168.1.1 port 67
Sep 3 09:54:52 connecty dhclient: DHCPACK from 192.168.1.1
Sep 3 09:54:52 connecty NetworkManager: <information>^IDHCP daemon state is now 3 (renew) for interface eth2
Sep 3 09:54:52 connecty dhclient: bound to 192.168.1.106 -- renewal in 2998 seconds.
Sep 3 10:08:28 connecty -- MARK --
Sep 3 10:17:01 connecty /USR/SBIN/CRON[9660]: (root) CMD ( cd / && run-parts --report /etc/cron.hourly)
Sep 3 10:28:28 connecty -- MARK --
Sep 3 10:38:45 connecty ovpn-client[10273]: OpenVPN 2.0.9 i486-pc-linux-gnu [SSL] [LZO] [EPOLL] built on Sep 20 2007
Sep 3 10:38:45 connecty ovpn-client[10273]: IMPORTANT: OpenVPN's default port number is now 1194, based on an official port number assignment by IANA. OpenVPN 2.0-beta16 and earlier used 5000 as the default port.
Sep 3 10:38:45 connecty ovpn-client[10273]: WARNING: No server certificate verification method has been enabled. See https://openvpn.net/community-resources/how-to/#mitm for more info.
Sep 3 10:38:45 connecty ovpn-client[10273]: Cannot load certificate file client.crt: error:02001002:system library:fopen:No such file or directory: error:20074002:BIO routines:FILE_CTRL:system lib: error:140AD002:SSL routines:SSL_CTX_use_certificate_file:system lib
Sep 3 10:38:45 connecty ovpn-client[10273]: Exiting
Sep 3 10:40:49 connecty ovpn-client[10345]: OpenVPN 2.0.9 i486-pc-linux-gnu [SSL] [LZO] [EPOLL] built on Sep 20 2007
Sep 3 10:40:49 connecty ovpn-client[10345]: IMPORTANT: OpenVPN's default port number is now 1194, based on an official port number assignment by IANA. OpenVPN 2.0-beta16 and earlier used 5000 as the default port.
Sep 3 10:40:49 connecty ovpn-client[10345]: WARNING: No server certificate verification method has been enabled. See https://openvpn.net/community-resources/how-to/#mitm for more info.
Sep 3 10:40:49 connecty ovpn-client[10345]: Cannot load certificate file client.crt: error:02001002:system library:fopen:No such file or directory: error:20074002:BIO routines:FILE_CTRL:system lib: error:140AD002:SSL routines:SSL_CTX_use_certificate_file:system lib
Sep 3 10:40:49 connecty ovpn-client[10345]: Exiting
Sep 3 10:41:13 connecty ovpn-client[10370]: OpenVPN 2.0.9 i486-pc-linux-gnu [SSL] [LZO] [EPOLL] built on Sep 20 2007
Sep 3 10:41:13 connecty ovpn-client[10370]: IMPORTANT: OpenVPN's default port number is now 1194, based on an official port number assignment by IANA. OpenVPN 2.0-beta16 and earlier used 5000 as the default port.
Sep 3 10:41:13 connecty ovpn-client[10370]: WARNING: No server certificate verification method has been enabled. See https://openvpn.net/community-resources/how-to/#mitm for more info.
Sep 3 10:41:13 connecty ovpn-client[10370]: Cannot load certificate file client.crt: error:02001002:system library:fopen:No such file or directory: error:20074002:BIO routines:FILE_CTRL:system lib: error:140AD002:SSL routines:SSL_CTX_use_certificate_file:system lib
Sep 3 10:41:13 connecty ovpn-client[10370]: Exiting
Sep 3 10:43:15 connecty ovpn-client[10443]: OpenVPN 2.0.9 i486-pc-linux-gnu [SSL] [LZO] [EPOLL] built on Sep 20 2007
Sep 3 10:43:15 connecty ovpn-client[10443]: IMPORTANT: OpenVPN's default port number is now 1194, based on an official port number assignment by IANA. OpenVPN 2.0-beta16 and earlier used 5000 as the default port.
Sep 3 10:43:15 connecty ovpn-client[10443]: WARNING: No server certificate verification method has been enabled. See https://openvpn.net/community-resources/how-to/#mitm for more info.
Sep 3 10:43:15 connecty ovpn-client[10443]: Cannot load certificate file client.crt: error:02001002:system library:fopen:No such file or directory: error:20074002:BIO routines:FILE_CTRL:system lib: error:140AD002:SSL routines:SSL_CTX_use_certificate_file:system lib
Sep 3 10:43:15 connecty ovpn-client[10443]: Exiting
Sep 3 10:44:51 connecty dhclient: DHCPREQUEST on eth2 to 192.168.1.1 port 67
Sep 3 10:44:51 connecty dhclient: DHCPACK from 192.168.1.1
Sep 3 10:44:51 connecty NetworkManager: <information>^IDHCP daemon state is now 3 (renew) for interface eth2
Sep 3 10:44:51 connecty dhclient: bound to 192.168.1.106 -- renewal in 3083 seconds.
Sep 3 10:48:25 connecty ovpn-client[10610]: OpenVPN 2.0.9 i486-pc-linux-gnu [SSL] [LZO] [EPOLL] built on Sep 20 2007
Sep 3 10:48:25 connecty ovpn-client[10610]: IMPORTANT: OpenVPN's default port number is now 1194, based on an official port number assignment by IANA. OpenVPN 2.0-beta16 and earlier used 5000 as the default port.
Sep 3 10:48:25 connecty ovpn-client[10610]: WARNING: No server certificate verification method has been enabled. See https://openvpn.net/community-resources/how-to/#mitm for more info.
Sep 3 10:48:25 connecty ovpn-client[10610]: Cannot load certificate file client.crt: error:02001002:system library:fopen:No such file or directory: error:20074002:BIO routines:FILE_CTRL:system lib: error:140AD002:SSL routines:SSL_CTX_use_certificate_file:system lib
Sep 3 10:48:25 connecty ovpn-client[10610]: Exiting



svp jai grand besoin d'aide mon délai pour ce projet c demain et je sais plus kwa faire merci pour votre compréhension

architecture :

......................................................................................................................................................................switch
client windows ----------------------internet------------------routeur (interface .1)------------server (192.168.1.106)
...................................................................................................................................................................... switch

1 réponse

brupala Messages postés 109634 Date d'inscription lundi 16 juillet 2001 Statut Membre Dernière intervention 31 mai 2024 13 651
3 sept. 2009 à 11:52
Salut,
les logs sont sur le client ou le serveur ... j'ai du mal à comprendre .
tu as choisi une authentification par clé partagée ou par certificat ?
si c'est par certificat, ils ne sont visiblement pas installés sur le client .
Je crois que tu ferais bien de reprendre tout à zero en apprenant les bases :
http://openmaniak.com/fr/openvpn.php
il faut aussi que tu pense à forwarder le port 1194 UDP sur le routeur coté serveur (s'il fait du nat) .
0