Hi to all
I want to connect to the my server.
I ran openvpn server on a win server 2003 r2 with disable firewall
when the client want to connect to the server i give this error:
Sat Dec 31 02:31:18 2011 OpenVPN 2.2.0 Win32-MSVC++ [SSL] [LZO2] built on Apr 26
2011
Sat Dec 31 02:31:18 2011 NOTE: OpenVPN 2.1 requires '--script-security 2' or hig
her to call user-defined scripts or executables
Sat Dec 31 02:31:19 2011 LZO compression initialized
Sat Dec 31 02:31:19 2011 Control Channel MTU parms [ L:1542 D:138 EF:38 EB:0 ET:
0 EL:0 ]
Sat Dec 31 02:31:19 2011 Socket Buffers: R=[8192->8192] S=[8192->8192]
Sat Dec 31 02:31:19 2011 Data Channel MTU parms [ L:1542 D:1450 EF:42 EB:135 ET:
0 EL:0 AF:3/1 ]
Sat Dec 31 02:31:19 2011 Local Options hash (VER=V4): '41690919'
Sat Dec 31 02:31:19 2011 Expected Remote Options hash (VER=V4): '530fdded'
Sat Dec 31 02:31:19 2011 UDPv4 link local: [undef]
Sat Dec 31 02:31:19 2011 UDPv4 link remote: 178.162.154.157:27600
Sat Dec 31 02:32:19 2011 TLS Error: TLS key negotiation failed to occur within 6
0 seconds (check your network connectivity)
Sat Dec 31 02:32:19 2011 TLS Error: TLS handshake failed
Sat Dec 31 02:32:19 2011 TCP/UDP: Closing socket
Sat Dec 31 02:32:19 2011 SIGUSR1[soft,tls-error] received, process restarting
Sat Dec 31 02:32:19 2011 Restart pause, 2 second(s)
My Server Config File:
;local a.b.c.d
port 27600
;proto tcp
proto udp
;dev tap
dev tun
;dev-node MyTap
ca ca.crt
cert server.crt
key server.key # This file should be kept secret
dh dh1024.pem
server 10.8.0.0 255.255.255.0
ifconfig-pool-persist ipp.txt
;server-bridge 10.8.0.4 255.255.255.0 10.8.0.50 10.8.0.100
;server-bridge
;push "route 192.168.10.0 255.255.255.0"
;push "route 192.168.20.0 255.255.255.0"
;client-config-dir ccd
;route 192.168.40.128 255.255.255.248
;client-config-dir ccd
;route 10.9.0.0 255.255.255.252
;learn-address ./script
;push "redirect-gateway def1 bypass-dhcp"
;push "dhcp-option DNS 208.67.222.222"
;push "dhcp-option DNS 208.67.220.220"
;client-to-client
;duplicate-cn
keepalive 10 120
;tls-auth ta.key 0 # This file is secret
;cipher BF-CBC # Blowfish (default)
;cipher AES-128-CBC # AES
;cipher DES-EDE3-CBC # Triple-DES
comp-lzo
;max-clients 100
;user nobody
;group nobody
persist-key
persist-tun
status openvpn-status.log
;log openvpn.log
;log-append openvpn.log
verb 3
;mute 20
and client :
client
;dev tap
dev tun
;dev-node MyTap
;proto tcp
proto udp
remote 178.162.154.157 27600
;remote my-server-2 1194
;remote-random
resolv-retry infinite
nobind
;user nobody
;group nobody
persist-key
persist-tun
;http-proxy-retry # retry on connection failures
;http-proxy [proxy server] [proxy port #]
;mute-replay-warnings
ca ca.crt
cert client1.crt
key client1.key
ns-cert-type server
;tls-auth ta.key 1
;cipher x
comp-lzo
verb 3
;mute 20