Galoula Second Time
Nombre de messages : 2 Age : 38 Localisation : Paris Opérateur : SFR Appareil : HTC Touch Cruise (Hors Pack) Réputation Win-Mobile : 0 Points Win-Mobile : 5684 Date d'inscription : 19/03/2009
| Sujet: [Résolu] Routage IP WM6 ? Jeu 19 Mar 2009 - 19:50 | |
| Bonjour, je ne sais pas trop où metre mon sujet ... Voici le soucis : J'ai configurer OpenVPN, sa se connecter bien mais mon PPC m'envois des logs qui me disent que route.exe marche pas (en effet je ne l'ais pas !) voici le log : - Code:
-
Thu Mar 19 13:52:46 2009 OpenVPN 2.1_rc15e Win32-MSVC++ [SSL] [LZO2] built on Mar 15 2009 Thu Mar 19 13:52:46 2009 MANAGEMENT: TCP Socket listening on 127.0.0.1:10000 Thu Mar 19 13:52:46 2009 Need hold release from management interface, waiting... Thu Mar 19 13:52:46 2009 MANAGEMENT: Client connected from 127.0.0.1:10000 Thu Mar 19 13:52:46 2009 Using Windows Connection Manager with destination '{400EA18A-1A74-11DC-8314-0800200C9A66}' resolving to provider guid {400EA18A-1A74-11DC-8314-0800200C9A66} (exclusive) Thu Mar 19 13:52:52 2009 Acquisition of Windows Connection Manager provider succeeded... Thu Mar 19 13:52:53 2009 WARNING: using --pull/--client and --ifconfig together is probably not what you want Thu Mar 19 13:52:53 2009 WARNING: No server certificate verification method has been enabled. See http://openvpn.net/howto.html#mitm for more info. Thu Mar 19 13:52:53 2009 NOTE: OpenVPN 2.1 requires '--script-security 2' or higher to call user-defined scripts or executables Thu Mar 19 13:52:53 2009 Control Channel MTU parms [ L:1575 D:140 EF:40 EB:0 ET:0 EL:0 ] Thu Mar 19 13:52:53 2009 Data Channel MTU parms [ L:1575 D:1450 EF:43 EB:4 ET:32 EL:0 ] Thu Mar 19 13:52:53 2009 Local Options hash (VER=V4): '10f35004' Thu Mar 19 13:52:53 2009 Expected Remote Options hash (VER=V4): 'a917298a' Thu Mar 19 13:52:53 2009 Attempting to establish TCP connection with 195.115.25.129:8080 Thu Mar 19 13:52:53 2009 MANAGEMENT: >STATE:1237467173,TCP_CONNECT,,, Thu Mar 19 13:52:53 2009 TCP connection established with 195.115.25.129:8080 Thu Mar 19 13:52:53 2009 Send to HTTP proxy: 'CONNECT 91.121.167.142:443 HTTP/1.0' Thu Mar 19 13:52:54 2009 HTTP proxy returned: 'HTTP/1.0 200 Connection established' Thu Mar 19 13:52:56 2009 Socket Buffers: R=[32768->32768] S=[16384->16384] Thu Mar 19 13:52:56 2009 TCPv4_CLIENT link local (bound): [undef] Thu Mar 19 13:52:56 2009 TCPv4_CLIENT link remote: 195.115.25.129:8080 Thu Mar 19 13:52:57 2009 MANAGEMENT: >STATE:1237467176,WAIT,,, Thu Mar 19 13:52:57 2009 MANAGEMENT: >STATE:1237467177,AUTH,,, Thu Mar 19 13:52:57 2009 TLS: Initial packet from 195.115.25.129:8080, sid=2e408475 81e8b171 Thu Mar 19 13:52:59 2009 VERIFY OK: depth=1, /C=FR/ST=IDF/L=ChezMoi/O=Galoula-VPN/emailAddress=galoula@galoula.com Thu Mar 19 13:52:59 2009 VERIFY OK: depth=0, /C=FR/ST=IDF/O=Galoula-VPN/CN=server/emailAddress=galoula@galoula.com Thu Mar 19 13:53:07 2009 WARNING: 'link-mtu' is used inconsistently, local='link-mtu 1575', remote='link-mtu 1576' Thu Mar 19 13:53:07 2009 WARNING: 'comp-lzo' is present in remote config but missing in local config, remote='comp-lzo' Thu Mar 19 13:53:07 2009 Data Channel Encrypt: Cipher 'BF-CBC' initialized with 128 bit key Thu Mar 19 13:53:07 2009 Data Channel Encrypt: Using 160 bit message hash 'SHA1' for HMAC authentication Thu Mar 19 13:53:08 2009 Data Channel Decrypt: Cipher 'BF-CBC' initialized with 128 bit key Thu Mar 19 13:53:08 2009 Data Channel Decrypt: Using 160 bit message hash 'SHA1' for HMAC authentication Thu Mar 19 13:53:08 2009 Control Channel: TLSv1, cipher TLSv1/SSLv3 DHE-RSA-AES256-SHA, 1024 bit RSA Thu Mar 19 13:53:08 2009 [server] Peer Connection Initiated with 195.115.25.129:8080 Thu Mar 19 13:53:09 2009 MANAGEMENT: >STATE:1237467189,GET_CONFIG,,, Thu Mar 19 13:53:09 2009 SENT CONTROL [server]: 'PUSH_REQUEST' (status=1) Thu Mar 19 13:53:10 2009 PUSH: Received control message: 'PUSH_REPLY,redirect-gateway,dhcp-option DNS 10.33.25.20,route-gateway 172.16.6.253,ping 10,ping-restart 120,ifconfig 172.16.6.51 255.255.255.0' Thu Mar 19 13:53:10 2009 OPTIONS IMPORT: timers and/or timeouts modified Thu Mar 19 13:53:10 2009 OPTIONS IMPORT: --ifconfig/up options modified Thu Mar 19 13:53:10 2009 OPTIONS IMPORT: route options modified Thu Mar 19 13:53:10 2009 OPTIONS IMPORT: route-related options modified Thu Mar 19 13:53:10 2009 OPTIONS IMPORT: --ip-win32 and/or --dhcp-option options modified Thu Mar 19 13:53:10 2009 ROUTE default_gateway=10.38.214.255 Thu Mar 19 13:53:10 2009 MANAGEMENT: >STATE:1237467190,ASSIGN_IP,,172.16.6.51, Thu Mar 19 13:53:10 2009 TAP-WIN32 device [TAP1:] opened: TAP1: Thu Mar 19 13:53:10 2009 TAP-Win32 Driver Version 9.4 Thu Mar 19 13:53:10 2009 TAP-Win32 MTU=1500 Thu Mar 19 13:53:10 2009 Notified TAP-Win32 driver to set a DHCP IP/netmask of 172.16.6.51/255.255.255.0 on interface TAP1: [DHCP-serv: 172.16.6.0, lease-time: 31536000] Thu Mar 19 13:53:10 2009 Successful ARP Flush on interface [4] TAP DEVICE 1 Thu Mar 19 13:53:15 2009 TEST ROUTES: 0/0 succeeded len=0 ret=0 a=0 u/d=down Thu Mar 19 13:53:15 2009 Route: Waiting for TUN/TAP interface to come up... Thu Mar 19 13:53:20 2009 TEST ROUTES: 1/1 succeeded len=0 ret=1 a=0 u/d=up Thu Mar 19 13:53:20 2009 C:\WINDOWS\system32\route.exe ADD 195.115.25.129 MASK 255.255.255.255 10.38.214.255 Thu Mar 19 13:53:20 2009 ROUTE: route addition failed using CreateIpForwardEntry: Paramètre incorrect. [status=87 if_index=1245187] Thu Mar 19 13:53:20 2009 Route addition via IPAPI failed [adaptive] Thu Mar 19 13:53:20 2009 Route addition fallback to route.exe Thu Mar 19 13:53:20 2009 ERROR: Windows route add command failed [adaptive]: external program did not execute -- returned error code -1 Thu Mar 19 13:53:20 2009 C:\WINDOWS\system32\route.exe DELETE 0.0.0.0 MASK 0.0.0.0 10.38.214.255 Thu Mar 19 13:53:20 2009 Route deletion via IPAPI succeeded [adaptive] Thu Mar 19 13:53:20 2009 C:\WINDOWS\system32\route.exe ADD 0.0.0.0 MASK 0.0.0.0 172.16.6.253 Thu Mar 19 13:53:20 2009 Route addition via IPAPI succeeded [adaptive] Thu Mar 19 13:53:20 2009 Initialization Sequence Completed Thu Mar 19 13:53:20 2009 MANAGEMENT: >STATE:1237467200,CONNECTED,SUCCESS,172.16.6.51,195.115.25.129 Thu Mar 19 13:53:58 2009 write TCPv4_CLIENT: No Route to Host (WSAEHOSTUNREACH) (code=10065) Thu Mar 19 13:53:58 2009 write TCPv4_CLIENT: Connection reset by peer (WSAECONNRESET) (code=10054) Thu Mar 19 13:53:58 2009 write TCPv4_CLIENT: Connection reset by peer (WSAECONNRESET) (code=10054) Thu Mar 19 13:53:58 2009 write TCPv4_CLIENT: Connection reset by peer (WSAECONNRESET) (code=10054) Thu Mar 19 13:53:58 2009 write TCPv4_CLIENT: Connection reset by peer (WSAECONNRESET) (code=10054) Thu Mar 19 13:53:58 2009 write TCPv4_CLIENT: Connection reset by peer (WSAECONNRESET) (code=10054) Thu Mar 19 13:53:58 2009 write TCPv4_CLIENT: Connection reset by peer (WSAECONNRESET) (code=10054) Thu Mar 19 13:53:58 2009 write TCPv4_CLIENT: Connection reset by peer (WSAECONNRESET) (code=10054) Thu Mar 19 13:53:58 2009 write TCPv4_CLIENT: Connection reset by peer (WSAECONNRESET) (code=10054) Thu Mar 19 13:53:58 2009 write TCPv4_CLIENT: Connection reset by peer (WSAECONNRESET) (code=10054) Thu Mar 19 13:53:58 2009 write TCPv4_CLIENT: Connection reset by peer (WSAECONNRESET) (code=10054) Thu Mar 19 13:53:58 2009 write TCPv4_CLIENT: Connection reset by peer (WSAECONNRESET) (code=10054) Thu Mar 19 13:53:58 2009 write TCPv4_CLIENT: Connection reset by peer (WSAECONNRESET) (code=10054) Thu Mar 19 13:53:58 2009 write TCPv4_CLIENT: Connection reset by peer (WSAECONNRESET) (code=10054) Thu Mar 19 13:53:58 2009 write TCPv4_CLIENT: Connection reset by peer (WSAECONNRESET) (code=10054) Thu Mar 19 13:53:58 2009 write TCPv4_CLIENT: Connection reset by peer (WSAECONNRESET) (code=10054) Thu Mar 19 13:53:58 2009 Authenticate/Decrypt packet error: packet HMAC authentication failed Thu Mar 19 13:53:58 2009 Fatal decryption error (process_incoming_link), restarting Thu Mar 19 13:53:58 2009 TCP/UDP: Closing socket Thu Mar 19 13:53:58 2009 SIGUSR1[soft,decryption-error] received, process restarting Thu Mar 19 13:53:58 2009 MANAGEMENT: >STATE:1237467238,RECONNECTING,decryption-error,, Thu Mar 19 13:53:58 2009 Restart pause, 5 second(s) Thu Mar 19 13:54:03 2009 WARNING: No server certificate verification method has been enabled. See http://openvpn.net/howto.html#mitm for more info. Thu Mar 19 13:54:03 2009 NOTE: OpenVPN 2.1 requires '--script-security 2' or higher to call user-defined scripts or executables Thu Mar 19 13:54:03 2009 Re-using SSL/TLS context Thu Mar 19 13:54:03 2009 Control Channel MTU parms [ L:1575 D:140 EF:40 EB:0 ET:0 EL:0 ] Thu Mar 19 13:54:03 2009 Data Channel MTU parms [ L:1575 D:1450 EF:43 EB:4 ET:32 EL:0 ] Thu Mar 19 13:54:03 2009 Local Options hash (VER=V4): '10f35004' Thu Mar 19 13:54:03 2009 Expected Remote Options hash (VER=V4): 'a917298a' Thu Mar 19 13:54:03 2009 Attempting to establish TCP connection with 195.115.25.129:8080 Thu Mar 19 13:54:03 2009 MANAGEMENT: >STATE:1237467243,TCP_CONNECT,,, Thu Mar 19 13:54:03 2009 TCP: connect to 195.115.25.129:8080 failed, will try again in 5 seconds: No Route to Host (WSAEHOSTUNREACH) Thu Mar 19 13:54:08 2009 MANAGEMENT: >STATE:1237467248,TCP_CONNECT,,, Thu Mar 19 13:54:08 2009 TCP: connect to 195.115.25.129:8080 failed, will try again in 5 seconds: No Route to Host (WSAEHOSTUNREACH) Thu Mar 19 13:54:11 2009 C:\WINDOWS\system32\route.exe DELETE 195.115.25.129 MASK 255.255.255.255 10.38.214.255 Thu Mar 19 13:54:11 2009 ROUTE: route deletion failed using DeleteIpForwardEntry: Paramètre incorrect. Thu Mar 19 13:54:11 2009 Route deletion via IPAPI failed [adaptive] Thu Mar 19 13:54:11 2009 Route deletion fallback to route.exe Thu Mar 19 13:54:11 2009 ERROR: Windows route delete command failed [adaptive]: external program did not execute -- returned error code -1 Thu Mar 19 13:54:11 2009 C:\WINDOWS\system32\route.exe DELETE 0.0.0.0 MASK 0.0.0.0 172.16.6.253 Thu Mar 19 13:54:11 2009 Route deletion via IPAPI succeeded [adaptive] Thu Mar 19 13:54:11 2009 C:\WINDOWS\system32\route.exe ADD 0.0.0.0 MASK 0.0.0.0 10.38.214.255 Thu Mar 19 13:54:11 2009 ROUTE: route addition failed using CreateIpForwardEntry: Paramètre incorrect. [status=87 if_index=1245187] Thu Mar 19 13:54:11 2009 Route addition via IPAPI failed [adaptive] Thu Mar 19 13:54:11 2009 Route addition fallback to route.exe Thu Mar 19 13:54:11 2009 ERROR: Windows route add command failed [adaptive]: external program did not execute -- returned error code -1 Thu Mar 19 13:54:11 2009 Closing TUN/TAP interface Thu Mar 19 13:54:11 2009 SIGTERM[hard,init_instance] received, process exiting Thu Mar 19 13:54:11 2009 MANAGEMENT: >STATE:1237467251,EXITING,init_instance,, Thu Mar 19 13:54:11 2009 Releasing Windows Connection Manager provider
A savoir que le fichier de configuration à été testé sur Windows XP, et celui-ci fonctionne parfaitement. Sur le WM6 c'est cette ligne là qui m'interpel : ERROR: Windows route add command failed [adaptive]: external program did not execute -- returned error code -1 Savez-vous comment corriger ceci ? Merci.
Dernière édition par Galoula le Lun 23 Mar 2009 - 18:50, édité 2 fois (Raison : Ca marche) | |
|
picooloo Second Time
Nombre de messages : 2 Age : 53 Localisation : valence Opérateur : bouygues Appareil : htc diamond, TYTN II ... Réputation Win-Mobile : 0 Points Win-Mobile : 5681 Date d'inscription : 20/03/2009
| Sujet: Re: [Résolu] Routage IP WM6 ? Ven 20 Mar 2009 - 16:44 | |
| Est ce que ton IP n'aurait pas changé ? | |
|
Galoula Second Time
Nombre de messages : 2 Age : 38 Localisation : Paris Opérateur : SFR Appareil : HTC Touch Cruise (Hors Pack) Réputation Win-Mobile : 0 Points Win-Mobile : 5684 Date d'inscription : 19/03/2009
| Sujet: Re: [Résolu] Routage IP WM6 ? Lun 23 Mar 2009 - 18:49 | |
| J'ai trouvé le soucis : Il ne failais pas metre mon redirect-gateway, mais etre plus "a l'anciene" : push "route 0.0.0.0 0.0.0.0" (sur le serveur VPN) qui veux dire gateway en language réseau ! Et là, miracle ca passe pour WM6, mais plus Windows (là c'est pas mon problème) Si vous voulez que ca marche sur WM6 et Windows avec le même serveur VPN, je pense que sur le serveur vous mettez rien (CAD pas de redirect-gateway ni de route 0.0.0.0 0.0.0.0) et que vous mettez ceci dans le fichier client.conf respectif : windows : redirect-gateway, WM6 route 0.0.0.0 0.0.0.0 Ceci devrais passé vu ce qu j'ai pu voir... | |
|
Contenu sponsorisé
| Sujet: Re: [Résolu] Routage IP WM6 ? | |
| |
|