Impossibile connettersi alla rete privata virtuale


4

Sto cercando di capire cosa sta succedendo qui perché non riesco a collegarmi a una VPN per la maggior parte del tempo. Sto usando FrootVPN sul protocollo OpenVPN. Ho usato questa guida per configurarla. È interamente gestito tramite software sul mio computer (con Windows 7 64 bit). Non ho apportato alcuna modifica alle impostazioni del router. Lo uso da circa 4 o 5 giorni e all'inizio funzionava bene. Quindi ha iniziato a richiedere 2 o 3 tentativi di connessione e ora non si connetterà per la maggior parte del tempo. Corro SEMPRE come amministratore. Oggi ho disattivato il mio antivirus / firewall e ora si collega ma il mio indirizzo IP rimane lo stesso.

Registri: i registri dovevano essere caricati perché avevo raggiunto il numero massimo di caratteri

Non si collega

L'indirizzo IP non cambia

EDIT: Se dovessi aggiungerlo alla whitelist nel mio firewall quali sarebbero l'indirizzo, la porta e tutte quelle informazioni? Inoltre ora ricevo un dialogo di errore che dice "ERRORE: la riconnessione a FrootVPN non è riuscita

Ho dimenticato le mie credenziali sul mio router, quindi ho effettuato un ripristino delle impostazioni di fabbrica. Ciò non ha ancora aiutato, proverò a disattivare il firewall solo per testare.

OK, con il firewall sul router spento e il programma eseguito come amministratore ottengo questo:

Thu Jan 15 13:52:33 2015 OpenVPN 2.3.6 x86_64-w64-mingw32 [SSL (OpenSSL)] [LZO] [PKCS11] [IPv6] built on Dec  1 2014
Thu Jan 15 13:52:33 2015 library versions: OpenSSL 1.0.1j 15 Oct 2014, LZO 2.08
Enter Management Password:
Thu Jan 15 13:52:33 2015 MANAGEMENT: TCP Socket listening on [AF_INET]127.0.0.1:25340
Thu Jan 15 13:52:33 2015 Need hold release from management interface, waiting...
Thu Jan 15 13:52:33 2015 MANAGEMENT: Client connected from [AF_INET]127.0.0.1:25340
Thu Jan 15 13:52:34 2015 MANAGEMENT: CMD 'state on'
Thu Jan 15 13:52:34 2015 MANAGEMENT: CMD 'log all on'
Thu Jan 15 13:52:34 2015 MANAGEMENT: CMD 'hold off'
Thu Jan 15 13:52:34 2015 MANAGEMENT: CMD 'hold release'
Thu Jan 15 13:52:40 2015 MANAGEMENT: CMD 'username "Auth" "dylan07"'
Thu Jan 15 13:52:40 2015 MANAGEMENT: CMD 'password [...]'
Thu Jan 15 13:52:40 2015 Socket Buffers: R=[8192->8192] S=[8192->8192]
Thu Jan 15 13:52:40 2015 MANAGEMENT: >STATE:1421358760,RESOLVE,,,
Thu Jan 15 13:52:40 2015 UDPv4 link local: [undef]
Thu Jan 15 13:52:40 2015 UDPv4 link remote: [AF_INET]178.73.212.194:1201
Thu Jan 15 13:52:40 2015 MANAGEMENT: >STATE:1421358760,WAIT,,,
Thu Jan 15 13:52:40 2015 MANAGEMENT: >STATE:1421358760,AUTH,,,
Thu Jan 15 13:52:40 2015 TLS: Initial packet from [AF_INET]178.73.212.194:1201, sid=3406ba47 85bdd4aa
Thu Jan 15 13:52:40 2015 WARNING: this configuration may cache passwords in memory -- use the auth-nocache option to prevent this
Thu Jan 15 13:52:41 2015 VERIFY OK: depth=1, C=SE, ST=QQ, L=FrootTown, O=FrootOrg, OU=changeme, CN=changeme, name=changeme, emailAddress=mail@host.domain
Thu Jan 15 13:52:41 2015 VERIFY OK: nsCertType=SERVER
Thu Jan 15 13:52:41 2015 VERIFY OK: depth=0, C=SE, ST=QQ, L=FrootTown, O=FrootOrg, OU=changeme, CN=server, name=changeme, emailAddress=mail@host.domain
Thu Jan 15 13:52:42 2015 Data Channel Encrypt: Cipher 'BF-CBC' initialized with 128 bit key
Thu Jan 15 13:52:42 2015 Data Channel Encrypt: Using 160 bit message hash 'SHA1' for HMAC authentication
Thu Jan 15 13:52:42 2015 Data Channel Decrypt: Cipher 'BF-CBC' initialized with 128 bit key
Thu Jan 15 13:52:42 2015 Data Channel Decrypt: Using 160 bit message hash 'SHA1' for HMAC authentication
Thu Jan 15 13:52:42 2015 Control Channel: TLSv1, cipher TLSv1/SSLv3 DHE-RSA-AES256-SHA, 2048 bit RSA
Thu Jan 15 13:52:42 2015 [server] Peer Connection Initiated with [AF_INET]178.73.212.194:1201
Thu Jan 15 13:52:43 2015 MANAGEMENT: >STATE:1421358763,GET_CONFIG,,,
Thu Jan 15 13:52:44 2015 SENT CONTROL [server]: 'PUSH_REQUEST' (status=1)
Thu Jan 15 13:52:45 2015 PUSH: Received control message: 'PUSH_REPLY,ifconfig-ipv6 2a00:1a28:1159:7::1004/64 2a00:1a28:1159:7::1,dhcp-option DNS 80.67.0.2,dhcp-option DNS 91.213.246.2,redirect-gateway def1,route-ipv6 2000::/3,tun-ipv6,route-gateway 46.246.9.225,topology subnet,ping 10,ping-restart 160,ifconfig 46.246.9.230 255.255.255.224'
Thu Jan 15 13:52:45 2015 OPTIONS IMPORT: timers and/or timeouts modified
Thu Jan 15 13:52:45 2015 OPTIONS IMPORT: --ifconfig/up options modified
Thu Jan 15 13:52:45 2015 OPTIONS IMPORT: route options modified
Thu Jan 15 13:52:45 2015 OPTIONS IMPORT: route-related options modified
Thu Jan 15 13:52:45 2015 OPTIONS IMPORT: --ip-win32 and/or --dhcp-option options modified
Thu Jan 15 13:52:45 2015 do_ifconfig, tt->ipv6=1, tt->did_ifconfig_ipv6_setup=1
Thu Jan 15 13:52:45 2015 MANAGEMENT: >STATE:1421358765,ASSIGN_IP,,46.246.9.230,
Thu Jan 15 13:52:46 2015 NETSH: C:\Windows\system32\netsh.exe interface ipv6 set address Local Area Connection 3 2a00:1a28:1159:7::1004 store=active
Thu Jan 15 13:52:46 2015 ERROR: netsh command failed: returned error code 1
Thu Jan 15 13:52:51 2015 NETSH: C:\Windows\system32\netsh.exe interface ipv6 set address Local Area Connection 3 2a00:1a28:1159:7::1004 store=active
Thu Jan 15 13:52:51 2015 ERROR: netsh command failed: returned error code 1
Thu Jan 15 13:52:56 2015 NETSH: C:\Windows\system32\netsh.exe interface ipv6 set address Local Area Connection 3 2a00:1a28:1159:7::1004 store=active
Thu Jan 15 13:52:56 2015 ERROR: netsh command failed: returned error code 1
Thu Jan 15 13:53:01 2015 NETSH: C:\Windows\system32\netsh.exe interface ipv6 set address Local Area Connection 3 2a00:1a28:1159:7::1004 store=active
Thu Jan 15 13:53:01 2015 ERROR: netsh command failed: returned error code 1
Thu Jan 15 13:53:05 2015 MANAGEMENT: Client disconnected
Thu Jan 15 13:53:05 2015 NETSH: command failed
Thu Jan 15 13:53:05 2015 Exiting due to fatal error

Avviso: route gateway non è raggiungibile su nessuna scheda di rete attiva ... Sembra che DHCP non riesca a impostare un indirizzo IP sulla scheda di connessione. Questo di solito è causato da Windows o da un firewall di terze parti che impedisce DHCP.
— Davidenko,

E penso che il tuo IP sia cambiato, nel primo file era il 178.73.212.201 e il secondo 178.73.212.196
— Davidenko,

Esaminerò le impostazioni del firewall e DHCP nel router. Per quanto riguarda quei 2 indirizzi IP, Sì, nessuno dei due è il mio indirizzo IP ISP. E secondo il programma l'indirizzo IP cambia, ma quando controllo il mio indirizzo IP online è ancora il mio indirizzo ISP.
— Geeky Dewd,

1
Il tuo client VPN è a 32 o 64 bit? Apparentemente, c'è un bug in netsh ed è necessario utilizzare la versione a 32 bit. Google "netsh fallisce con il codice di errore 1" per problemi molto simili ai tuoi.
— Mahdi,

Inoltre, disabiliterei IPv6 su tutte le mie interfacce (se possibile). Ho sempre avuto problemi con esso su Windows anche se non l'ho mai usato direttamente.
— Mahdi,

Risposte:


4

Ho riscontrato lo stesso errore e nel mio caso la soluzione è stata la seguente. Vai a Schede di rete -> TunnelTap, modifica le impostazioni IPv4 per assegnare automaticamente l'indirizzo IP. Applica i cambiamenti.


0

Sono stato in grado di correggere ciò disinstallando la scheda di rete TAP-9 nel pannello di controllo, quindi reinstallando OpenVPN. Ci ho lavorato per giorni e sono stato in grado di trovare molto aiuto in rete.

Spero che questo possa aiutare anche te


0

@Mahdi ha commentato: il tuo client VPN è a 32 o 64 bit? Apparentemente, c'è un bug in netsh ed è necessario utilizzare la versione a 32 bit. Google "netsh fallisce con il codice di errore 1" per problemi molto simili ai tuoi. - Mahdi

Questo era il mio problema E poiché non riesco a selezionare un commento come risposta, lo inserisco qui per favorire gli altri.

Utilizzando il nostro sito, riconosci di aver letto e compreso le nostre Informativa sui cookie e Informativa sulla privacy.
Licensed under cc by-sa 3.0 with attribution required.