ale82x
15-01-2007, 10:50
ho installato a casa open vpn (con la GUI) e lo voglio usare come server...
ho creato la connessione tap-bridge e tutto ok.
ho creato la chiave e il file di config è così:
dev tap
secret key
ping 5
verb 3
mute 10
come scritto nella varie guide. ho installato openvpn su un altro pc di casa e metto la chiave e il file di config uguale con l'aggiunta di:
remote xxx.xxx.xxx.xxx
e funziona x' mi si connette, ma non posso fare prove x' sono già all'interno della rete. però ho notato 1 cosa, che quando mi disconnetto con il client sul server rimane ancora la GUI con i pc verdi e mi dice che è ancora connesso... e va bè.
poi provo dall'esterno della rete facendo le stesse identiche procedure ma mi riamne in connessione.... questo è il log:
Mon Jan 15 11:39:44 2007 OpenVPN 2.0.9 Win32-MinGW [SSL] [LZO] built on Oct 1 2006
Mon Jan 15 11:39:44 2007 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.
Mon Jan 15 11:39:44 2007 WARNING: --ping should normally be used with --ping-restart or --ping-exit
Mon Jan 15 11:39:44 2007 Static Encrypt: Cipher 'BF-CBC' initialized with 128 bit key
Mon Jan 15 11:39:44 2007 Static Encrypt: Using 160 bit message hash 'SHA1' for HMAC authentication
Mon Jan 15 11:39:44 2007 Static Decrypt: Cipher 'BF-CBC' initialized with 128 bit key
Mon Jan 15 11:39:44 2007 Static Decrypt: Using 160 bit message hash 'SHA1' for HMAC authentication
Mon Jan 15 11:39:44 2007 TAP-WIN32 device [tap] opened: \\.\Global\{17BCF511-F3C4-4383-8F10-03089DF35448}.tap
Mon Jan 15 11:39:44 2007 TAP-Win32 Driver Version 8.4
Mon Jan 15 11:39:44 2007 TAP-Win32 MTU=1500
Mon Jan 15 11:39:44 2007 Successful ARP Flush on interface [131076] {17BCF511-F3C4-4383-8F10-03089DF35448}
Mon Jan 15 11:39:44 2007 Data Channel MTU parms [ L:1576 D:1450 EF:44 EB:4 ET:32 EL:0 ]
Mon Jan 15 11:39:44 2007 Local Options hash (VER=V4): '8b888ddc'
Mon Jan 15 11:39:44 2007 Expected Remote Options hash (VER=V4): '8b888ddc'
Mon Jan 15 11:39:44 2007 UDPv4 link local (bound): [undef]:1194
Mon Jan 15 11:39:44 2007 UDPv4 link remote: 123.123.123.123:1194
sul router ho inoltrato la porta 1194 (sia UDP che TCP) al pc con openvpn.
perchè si blocca li e non va avanti? qualcuno ha qualche idea???
ho creato la connessione tap-bridge e tutto ok.
ho creato la chiave e il file di config è così:
dev tap
secret key
ping 5
verb 3
mute 10
come scritto nella varie guide. ho installato openvpn su un altro pc di casa e metto la chiave e il file di config uguale con l'aggiunta di:
remote xxx.xxx.xxx.xxx
e funziona x' mi si connette, ma non posso fare prove x' sono già all'interno della rete. però ho notato 1 cosa, che quando mi disconnetto con il client sul server rimane ancora la GUI con i pc verdi e mi dice che è ancora connesso... e va bè.
poi provo dall'esterno della rete facendo le stesse identiche procedure ma mi riamne in connessione.... questo è il log:
Mon Jan 15 11:39:44 2007 OpenVPN 2.0.9 Win32-MinGW [SSL] [LZO] built on Oct 1 2006
Mon Jan 15 11:39:44 2007 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.
Mon Jan 15 11:39:44 2007 WARNING: --ping should normally be used with --ping-restart or --ping-exit
Mon Jan 15 11:39:44 2007 Static Encrypt: Cipher 'BF-CBC' initialized with 128 bit key
Mon Jan 15 11:39:44 2007 Static Encrypt: Using 160 bit message hash 'SHA1' for HMAC authentication
Mon Jan 15 11:39:44 2007 Static Decrypt: Cipher 'BF-CBC' initialized with 128 bit key
Mon Jan 15 11:39:44 2007 Static Decrypt: Using 160 bit message hash 'SHA1' for HMAC authentication
Mon Jan 15 11:39:44 2007 TAP-WIN32 device [tap] opened: \\.\Global\{17BCF511-F3C4-4383-8F10-03089DF35448}.tap
Mon Jan 15 11:39:44 2007 TAP-Win32 Driver Version 8.4
Mon Jan 15 11:39:44 2007 TAP-Win32 MTU=1500
Mon Jan 15 11:39:44 2007 Successful ARP Flush on interface [131076] {17BCF511-F3C4-4383-8F10-03089DF35448}
Mon Jan 15 11:39:44 2007 Data Channel MTU parms [ L:1576 D:1450 EF:44 EB:4 ET:32 EL:0 ]
Mon Jan 15 11:39:44 2007 Local Options hash (VER=V4): '8b888ddc'
Mon Jan 15 11:39:44 2007 Expected Remote Options hash (VER=V4): '8b888ddc'
Mon Jan 15 11:39:44 2007 UDPv4 link local (bound): [undef]:1194
Mon Jan 15 11:39:44 2007 UDPv4 link remote: 123.123.123.123:1194
sul router ho inoltrato la porta 1194 (sia UDP che TCP) al pc con openvpn.
perchè si blocca li e non va avanti? qualcuno ha qualche idea???