Punto informatico Network
Login Esegui login | Non sei registrato? Iscriviti ora (è gratuito!)
Username: Password:
  • Annuncio Pubblicitario

OpenVPN

Malfunzionamenti della LAN, suggerimenti sulla condivisione e altro legato alle reti.

OpenVPN

Messaggioda tenorsix » sab apr 03, 2010 8:09 pm

la domanda cui voglio sottoporvi e questa , ho la necessità di fare un collegamento client- server con OpenVPN utilizzando il protocollo TCP ,ma sul log di openVPN compare "WARNING: Since you are using --dev tun, the second argument to --ifconfig must be an IP address. You are using something (255.255.252.0) that looks more like a netmask. (silence this warning with --ifconfig-nowarn)
Thu Apr 01 13:27:50 2010 There is a problem in your selection of --ifconfig endpoints [local=192.168.0.188, remote=255.255.252.0]. The local and remote VPN endpoints must exist within the same 255.255.255.252 subnet. This is a limitation of --dev tun when used with the TAP-WIN32 driver. Try 'openvpn --show-valid-subnets' option for more info.
Thu Apr 01 13:27:50 2010 Exiting "
Preciso che la rete locale e 192.168.0.xxx ho eseguito il forwarding sul router (devo passare da internet).
potrebbe essere un problema di "instradamento" di rotta?
ecco il file "client"
client
;dev tap
dev tun
dev-node OpenVPN
proto tcp
;proto udp
remote 93.144.xxx.xxx 1194
resolv-retry infinite
nobind
persist-key
persist-tun
ca ca.crt
cert client1.crt
key client1.key
ns-cert-type server
tls-auth key.txt 1
comp-lzo
verb 3
grazie a quanti mi possono aiutare.
Avatar utente
tenorsix
Neo Iscritto
Neo Iscritto
 
Messaggi: 2
Iscritto il: ven apr 02, 2010 7:56 pm

Re: OpenVPN

Messaggioda ninjabionico » lun apr 05, 2010 1:33 pm

Ciao.

tenorsix ha scritto:..."WARNING: Since you are using --dev tun, the second argument to --ifconfig must be an IP address. You are using something (255.255.252.0) that looks more like a netmask. (silence this warning with --ifconfig-nowarn)
Thu Apr 01 13:27:50 2010 There is a problem in your selection of --ifconfig endpoints [local=192.168.0.188, remote=255.255.252.0]. The local and remote VPN endpoints must exist within the same 255.255.255.252 subnet. This is a limitation of --dev tun when used with the TAP-WIN32 driver. Try 'openvpn --show-valid-subnets' option for more info.
Thu Apr 01 13:27:50 2010 Exiting "...


Mia veloce traduzione (spero sia abbastanza corretta [std] )

Avviso: Quando stai usando il dispositivo tun (è un'interfaccia virtuale di rete), il secondo argomento di --ifconfig deve essere un indirizzo IP. Stai usando qualcosa (255.255.252.0) che sembra una maschera di rete. (puoi tacitare l'avviso con l'opzione --ifconfig-nowarn)
Thu Apr 01 13:27:50 2010 Questo è un problema nella tua selezione di --ifconfig endpoints [local=192.168.0.188, remote=255.255.252.0] <-- eccoti l'errore, remote deve essere un indirizzo IP e non la maschera di rete.

Quindi non ti resta che sostituire la maschera di rete 255.255.252.0 con l'indirizzo IP remoto.

[ciao]
Io dico le cose così come stanno! Questo è il mio credo ninja - by Naruto Uzumaki
Expert-Advanced User Powered by Gnu/Linux
Avatar utente
ninjabionico
Membro Ufficiale (Gold)
Membro Ufficiale (Gold)
 
Messaggi: 5207
Iscritto il: lun mar 20, 2006 10:51 pm
Località: Prov. Pd

Re: OpenVPN

Messaggioda tenorsix » mar apr 06, 2010 9:22 pm

Grazie.
ho risolto , cambiato parametro sul file "server".
a presto .

ciao [applauso+]
Avatar utente
tenorsix
Neo Iscritto
Neo Iscritto
 
Messaggi: 2
Iscritto il: ven apr 02, 2010 7:56 pm


Torna a Reti e Internet

Chi c’è in linea

Visitano il forum: Nessuno e 17 ospiti

Powered by phpBB © 2002, 2005, 2007, 2008 phpBB Group
Traduzione Italiana phpBB.it

megalab.it: testata telematica quotidiana registrata al Tribunale di Cosenza n. 22/09 del 13.08.2009, editore Master New Media S.r.l.; © Copyright 2008 Master New Media S.r.l. a socio unico - P.I. 02947530784. GRUPPO EDIZIONI MASTER Spa Tutti i diritti sono riservati. Per la pubblicità: Master Advertising