Hi,
at first, iam aware of this page:
https://openvpn.net/index.php/open-source/faq/79-client/253-tls-error-tls-key-negotiation-failed-to-occur-within-60-seconds-check-your-network-connectivity.html and that this is a pretty common error. But
lsof -i on the Server gives me:
openvpn 21392 root 5u IPv4 459077372 0t0 UDP *:openvpn
is this as it is supposed to be? If yes, i have problem because i have no idea how to handle firewalls and port forwarding. 🙂
The server is running and iam trying to connect withe client but i gives me:
Tue Dec 1 12:25:36 2015 Socket Buffers: R=[163840->131072] S=[163840->131072]
Tue Dec 1 12:25:36 2015 UDPv4 link local: [undef]
Tue Dec 1 12:25:36 2015 UDPv4 link remote: [AF_INET]85.214.92.131:1194
Tue Dec 1 12:26:36 2015 TLS Error: TLS key negotiation failed to occur within 60 seconds (check your network connectivity)
Tue Dec 1 12:26:36 2015 TLS Error: TLS handshake failed
Tue Dec 1 12:26:36 2015 SIGUSR1[soft,tls-error] received, process restarting
Tue Dec 1 12:26:36 2015 Restart pause, 2 second(s)
Server.conf
port 1194
;proto tcp
proto udp
;dev tap
dev tun
;dev-node MyTap
ca /home/smartenergy/openvpn/easy-rsa-master/easyrsa3/pki/ca.crt
cert /home/smartenergy/openvpn/easy-rsa-master/easyrsa3/pki/issued/LumenazaServer.crt
key /home/smartenergy/openvpn/easy-rsa-master/easyrsa3/pki/private/LumenazaServer.key
dh /home/smartenergy/openvpn/easy-rsa-master/easyrsa3/pki/dh.pem
;topology subnet
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
Thanks in advance!