Hi,I come from China.
I building a openvpn sever follow this post
http://scramblevpn.wordpress.com/2013/0 ... -blocking/
and replace the openvpn.exe in windows side.
But connect to the server also too difficult,too.
there are my configure.
-------------------------------------------------------------------------------
server config
port 2101
proto udp
dev tun
#cipher AES-256-CBC
scramble obfuscate test
ca /etc/openvpn/easy-rsa/2.0/keys/ca.crt
cert /etc/openvpn/easy-rsa/2.0/keys/server.crt
key /etc/openvpn/easy-rsa/2.0/keys/server.key
tls-auth /etc/openvpn/easy-rsa/2.0/keys/ta.key 0
dh /etc/openvpn/easy-rsa/2.0/keys/dh1024.pem
ifconfig-pool-persist ipp.txt
server 10.16.254.0 255.255.255.0
push "redirect-gateway"
push "dhcp-option DNS 8.8.8.8"
push "dhcp-option DNS 8.8.4.4"
client-to-client
duplicate-cn
keepalive 10 60
comp-lzo
max-clients 50
persist-key
persist-tun
status openvpn-status.log
log-append openvpn.log
verb 3
mute 20
------------------------------------------------------------
client config
client
dev tun
proto udp
remote abc.com 2101
resolv-retry infinite
#cipher AES-256-CBC
scramble obfuscate test
nobind
persist-key
persist-tun
ca ca.crt
cert client.crt
key client.key
tls-auth ta.key 1
ns-cert-type server
redirect-gateway
#route-nopull
script-security 3 system
keepalive 10 60
comp-lzo
verb 3
mute 20
route-method exe
route-delay 2
--------------------------------------------------------------------
log file
Sun Jan 26 23:48:14 2014 OpenVPN 2.2.2 i686-pc-mingw32 [SSL] [LZO2] [PKCS11] built on Jan 29 2013
Sun Jan 26 23:48:14 2014 NOTE: the current --script-security setting may allow this configuration to call user-defined scripts
Sun Jan 26 23:48:14 2014 NOTE: --script-security method='system' is deprecated due to the fact that passed parameters will be subject to shell expansion
Sun Jan 26 23:48:14 2014 Control Channel Authentication: using 'ta.key' as a OpenVPN static key file
Sun Jan 26 23:48:14 2014 Outgoing Control Channel Authentication: Using 160 bit message hash 'SHA1' for HMAC authentication
Sun Jan 26 23:48:14 2014 Incoming Control Channel Authentication: Using 160 bit message hash 'SHA1' for HMAC authentication
Sun Jan 26 23:48:14 2014 LZO compression initialized
Sun Jan 26 23:48:14 2014 Control Channel MTU parms [ L:1542 D:166 EF:66 EB:0 ET:0 EL:0 ]
Sun Jan 26 23:48:14 2014 Socket Buffers: R=[8192->8192] S=[8192->8192]
Sun Jan 26 23:48:14 2014 Data Channel MTU parms [ L:1542 D:1450 EF:42 EB:135 ET:0 EL:0 AF:3/1 ]
Sun Jan 26 23:48:14 2014 Local Options hash (VER=V4): '504e774e'
Sun Jan 26 23:48:14 2014 Expected Remote Options hash (VER=V4): '14168603'
Sun Jan 26 23:48:14 2014 UDPv4 link local: [undef]
Sun Jan 26 23:48:14 2014 UDPv4 link remote: 1.1.1.1:2061
Sun Jan 26 23:48:14 2014 TLS: Initial packet from 1.1.1.1:2061, sid=f5e913d4 2fc2c7f0
Sun Jan 26 23:48:16 2014 VERIFY OK: depth=1, /C=US/ST=NY/L=NEWYORK/O=abc.com/OU=abc.com/CN=abc.com/name=abc/emailAddress=
admin@abc.com
Sun Jan 26 23:48:16 2014 VERIFY OK: nsCertType=SERVER
Sun Jan 26 23:48:16 2014 VERIFY OK: depth=0, /C=US/ST=NY/L=NEWYORK/O=abc.com/OU=abc.com/CN=abc.com/name=abc/emailAddress=
admin@abc.com
Sun Jan 26 23:49:14 2014 TLS Error: TLS key negotiation failed to occur within 60 seconds (check your network connectivity)
Sun Jan 26 23:49:14 2014 TLS Error: TLS handshake failed
Sun Jan 26 23:49:14 2014 TCP/UDP: Closing socket
Sun Jan 26 23:49:14 2014 SIGUSR1[soft,tls-error] received, process restarting
Sun Jan 26 23:49:14 2014 Restart pause, 2 second(s)
Sun Jan 26 23:49:16 2014 NOTE: the current --script-security setting may allow this configuration to call user-defined scripts
Sun Jan 26 23:49:16 2014 NOTE: --script-security method='system' is deprecated due to the fact that passed parameters will be subject to shell expansion
Sun Jan 26 23:49:16 2014 Re-using SSL/TLS context
Sun Jan 26 23:49:16 2014 LZO compression initialized
Sun Jan 26 23:49:16 2014 Control Channel MTU parms [ L:1542 D:166 EF:66 EB:0 ET:0 EL:0 ]
Sun Jan 26 23:49:16 2014 Socket Buffers: R=[8192->8192] S=[8192->8192]
Sun Jan 26 23:49:16 2014 Data Channel MTU parms [ L:1542 D:1450 EF:42 EB:135 ET:0 EL:0 AF:3/1 ]
Sun Jan 26 23:49:16 2014 Local Options hash (VER=V4): '504e774e'
Sun Jan 26 23:49:16 2014 Expected Remote Options hash (VER=V4): '14168603'
Sun Jan 26 23:49:16 2014 UDPv4 link local: [undef]
Sun Jan 26 23:49:16 2014 UDPv4 link remote: 1.1.1.1:2081
Sun Jan 26 23:49:16 2014 TLS: Initial packet from 1.1.1.1:2081, sid=414962ad 8b8c6e1d
Sun Jan 26 23:49:50 2014 TLS_ERROR: BIO read tls_read_plaintext error: error:0D0680A8:asn1 encoding routines:ASN1_CHECK_TLEN:wrong tag: error:0D08303A:asn1 encoding routines:ASN1_TEMPLATE_NOEXP_D2I:nested asn1 error: error:0D08303A:asn1 encoding routines:ASN1_TEMPLATE_NOEXP_D2I:nested asn1 error: error:0D08303A:asn1 encoding routines:ASN1_TEMPLATE_NOEXP_D2I:nested asn1 error: error:0D08303A:asn1 encoding routines:ASN1_TEMPLATE_NOEXP_D2I:nested asn1 error: error:1409000D:SSL routines:SSL3_GET_SERVER_CERTIFICATE:ASN1 lib
Sun Jan 26 23:49:50 2014 TLS Error: TLS object -> incoming plaintext read error
Sun Jan 26 23:49:50 2014 TLS Error: TLS handshake failed
Sun Jan 26 23:49:50 2014 TCP/UDP: Closing socket
Sun Jan 26 23:49:50 2014 SIGUSR1[soft,tls-error] received, process restarting
Sun Jan 26 23:49:50 2014 Restart pause, 2 second(s)