Hi,
The previous problem has got resolved, i have opened 1194 UDP port in my iptables.
Now connection from client to server is getting initiated, but it not getting succeeded, OpenVPN client giving below error:
Connecting to client has failed.
In my server /etc/openvpn/openvpn.log says:
Fri Nov 21 12:26:08 2014 114.143.148.221:58143 TLS: Initial packet from [AF_INET]114.143.148.221:58143, sid=317a90f4 17f01aab
Fri Nov 21 12:26:08 2014 114.143.148.221:58143 VERIFY OK: depth=1, C=IN, ST=MH, L=Mumbai, O=xyz, OU=server, CN=droplet.example.com, name=server, emailAddress=
santosh@xyz.in
Fri Nov 21 12:26:08 2014 114.143.148.221:58143 VERIFY OK: depth=0, C=IN, ST=MH, L=Mumbai, O=xyz, OU=server, CN=client, name=server, emailAddress=
santosh@xyz.in
Fri Nov 21 12:26:08 2014 114.143.148.221:58143 Data Channel Encrypt: Cipher 'BF-CBC' initialized with 128 bit key
Fri Nov 21 12:26:08 2014 114.143.148.221:58143 Data Channel Encrypt: Using 160 bit message hash 'SHA1' for HMAC authentication
Fri Nov 21 12:26:08 2014 114.143.148.221:58143 Data Channel Decrypt: Cipher 'BF-CBC' initialized with 128 bit key
Fri Nov 21 12:26:08 2014 114.143.148.221:58143 Data Channel Decrypt: Using 160 bit message hash 'SHA1' for HMAC authentication
Fri Nov 21 12:26:08 2014 114.143.148.221:58143 Control Channel: TLSv1, cipher TLSv1/SSLv3 DHE-RSA-AES256-SHA, 2048 bit RSA
Fri Nov 21 12:26:08 2014 114.143.148.221:58143 [client] Peer Connection Initiated with [AF_INET]114.143.148.221:58143
Fri Nov 21 12:26:08 2014 client/114.143.148.221:58143 MULTI_sva: pool returned IPv4=10.8.0.6, IPv6=(Not enabled)
Fri Nov 21 12:26:08 2014 client/114.143.148.221:58143 MULTI: Learn: 10.8.0.6 -> client/114.143.148.221:58143
Fri Nov 21 12:26:08 2014 client/114.143.148.221:58143 MULTI: primary virtual IP for client/114.143.148.221:58143: 10.8.0.6
Fri Nov 21 12:26:10 2014 client/114.143.148.221:58143 PUSH: Received control message: 'PUSH_REQUEST'
Fri Nov 21 12:26:10 2014 client/114.143.148.221:58143 send_push_reply(): safe_cap=940
Fri Nov 21 12:26:10 2014 client/114.143.148.221:58143 SENT CONTROL [client]: 'PUSH_REPLY,redirect-gateway def1 bypass-dhcp,dhcp-option DNS 8.8.8.8,dhcp-option DNS 8.8.4.4,route 10.8.0.1,topology net30,ping 10,ping-restart 120,ifconfig 10.8.0.6 10.8.0.5' (status=1)
Please help.