I am a Newbie in Network protocols. My server can connect, client can't
it's really important for me get this running, because my ms sql server should be connected over that.
Please Help!
best regards
Maxitrader388
Server file:
Server Config
#Einfache Client-Config fuer static key
dev-node "ServerVPN"
port 1194
proto udp
dev tun
ca "C:\\Program Files\\OpenVPN\\easy-rsa\\keys\\ca.crt" #Po potrebi promijeniti putanje!!!!
cert "C:\\Program Files\\OpenVPN\\easy-rsa\\keys\\ServerVPN.crt"
key "C:\\Program Files\\OpenVPN\\easy-rsa\\keys\\ServerVPN.key" # This file should be kept secret
dh "C:\\Program Files\\OpenVPN\\easy-rsa\\keys\\dh2048.pem" #Po potrebi promijeniti putanju!!!!
tls-server
tls-auth "C:\\Program Files\\OpenVPN\\easy-rsa\\keys\\ta.key" 0
server 10.8.0.0 255.255.255.0
#ifconfig-pool-persist ipp.txt
push "redirect-gateway def1"
client-config-dir "C:\\Program Files\\OpenVPN\\config"
push "dhcp-option DNS 8.8.8.8"
keepalive 10 120
comp-lzo
persist-key
persist-tun
status openvpn-status.log
verb 3
-----------------Client
Client Config
client
remote 10.10.10.2
port 1196
proto udp
dev tun
tls-client
tls-auth "C:\\Program Files\\OpenVPN\\config\\ta.key" 1
remote-cert-tls server
tun-mtu 1500
tun-mtu-extra 32
mssfix 1450
ca "C:\\Program Files\\OpenVPN\\config\\ca.crt"
cert "C:\\Program Files\\OpenVPN\\config\\ClientVPN.crt"
key "C:\\Program Files\\OpenVPN\\config\\ClientVPN.key"
cipher AES-128-CBC
comp-lzo
persist-key
persist-tun
verb 3
mute 20
This is my logfile:
[oconf = Logfile]
Mon Jul 29 12:20:36 2019 TLS Error: TLS key negotiation failed to occur within 60 seconds (check your network connectivity)
Mon Jul 29 12:20:36 2019 TLS Error: TLS handshake failed
Mon Jul 29 12:20:36 2019 SIGUSR1[soft,tls-error] received, process restarting
Mon Jul 29 12:20:36 2019 MANAGEMENT: >STATE:1564395636,RECONNECTING,tls-error,,,,,
Mon Jul 29 12:20:36 2019 Restart pause, 300 second(s)
[/oconf]