Pagina 1 di 1

OpenVPN

MessaggioInviato: sab apr 03, 2010 8:09 pm
da tenorsix
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.

Re: OpenVPN

MessaggioInviato: lun apr 05, 2010 1:33 pm
da ninjabionico
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]

Re: OpenVPN

MessaggioInviato: mar apr 06, 2010 9:22 pm
da tenorsix
Grazie.
ho risolto , cambiato parametro sul file "server".
a presto .

ciao [applauso+]