[Solved] openvpn client not getting connacted

Business solution to host your own OpenVPN server with web management interface and bundled clients.
Locked
kong
OpenVpn Newbie
Posts: 2
Joined: Fri Sep 27, 2013 8:39 am

[Solved] openvpn client not getting connacted

Post by kong » Fri Sep 27, 2013 8:48 am

hey guys, need your help please.
when i try to connace ussing the openvpn client it just seys "connacting" and noe getting connacted.

client log:
Thu Sep 26 15:56:35 2013 OpenVPN 2.3.2 i686-w64-mingw32 [SSL (OpenSSL)] [LZO] [PKCS11] [eurephia] [IPv6] built on Aug 22 2013
Thu Sep 26 15:56:35 2013 MANAGEMENT: TCP Socket listening on [AF_INET]127.0.0.1:25340
Thu Sep 26 15:56:35 2013 Need hold release from management interface, waiting...
Thu Sep 26 15:56:36 2013 MANAGEMENT: Client connected from [AF_INET]127.0.0.1:25340
Thu Sep 26 15:56:36 2013 MANAGEMENT: CMD 'state on'
Thu Sep 26 15:56:36 2013 MANAGEMENT: CMD 'log all on'
Thu Sep 26 15:56:36 2013 MANAGEMENT: CMD 'hold off'
Thu Sep 26 15:56:36 2013 MANAGEMENT: CMD 'hold release'
Thu Sep 26 15:56:36 2013 WARNING: No server certificate verification method has been enabled. See http://openvpn.net/howto.html#mitm for more info.
Thu Sep 26 15:56:36 2013 Socket Buffers: R=[8192->8192] S=[8192->8192]
Thu Sep 26 15:56:36 2013 UDPv4 link local: [undef]
Thu Sep 26 15:56:36 2013 UDPv4 link remote: [AF_INET]192.168.150.139:389
Thu Sep 26 15:56:36 2013 MANAGEMENT: >STATE:1380236196,WAIT,,,
Thu Sep 26 15:57:36 2013 TLS Error: TLS key negotiation failed to occur within 60 seconds (check your network connectivity)
Thu Sep 26 15:57:36 2013 TLS Error: TLS handshake failed
Thu Sep 26 15:57:36 2013 SIGUSR1[soft,tls-error] received, process restarting
Thu Sep 26 15:57:36 2013 MANAGEMENT: >STATE:1380236256,RECONNECTING,tls-error,,
Thu Sep 26 15:57:36 2013 Restart pause, 2 second(s)
Thu Sep 26 15:57:38 2013 MANAGEMENT: >STATE:1380236196,WAIT,,,

client config file:
dev tun
client
proto udp
remote 192.168.150.139 1194
resolv-retry infinite
nobind
persist-key
persist-tun
ca ca.crt
cert client1.crt
key client1.key
comp-lzo
verb 3

server config file:
dev tun

proto udp

port 1143


ca /etc/openvpn/ca.crt

cert /etc/openvpn/server.crt

key /etc/openvpn/server.ket

dh /etc/openvpn/dh1024.pem


user nobody

group nogroup


server 192.168.150.139 255.255.255.0

persist-key

persist-tun


status /var/log/openvpn-status.log

verb 3


client-to-client


push "redirect-getway def1"


push "dhcp-option DNS 8.8.8.8"

push "dhcp-option DNS 8.8.4.4"


log-append /var/log/openvpn

comp-lzo


thanks guys.
best regards.
Last edited by debbie10t on Tue Feb 11, 2014 4:29 pm, edited 1 time in total.
Reason: [solved / closed]

kong
OpenVpn Newbie
Posts: 2
Joined: Fri Sep 27, 2013 8:39 am

Re: openvpn client not getting connacted

Post by kong » Sat Sep 28, 2013 8:16 pm

hey,

the config and the log files were from differrent triels, that's why they were different.
any way the problem was that the server wasn't listeting to the port, i had to reconfigure the firewall and restart the servise on the server.

thanks any way.
best regards.

Locked