Hi,
I manage a OpenVPN network. I am using tunnel with TCP server. Normally my client will take 50 seconds to establish the tunnel with VPN server. I used to have frequent disconnection with my ISP. Because of this, my clients needs to reconnect with the server and this also takes nearly the same time to establish tunnel. My question is how could i reduce this reconnection time? or how could i reduce connection time itself in general by tweaking server or client config? Please find my Server and Client config below.
#Server Config
port 1194
proto udp
dev tun
ca "path to ca.crt"
cert "path to server.crt"
key "path to server.key" # This file should be kept secret
dh "path to dh1024.pem"
topology subnet
server 10.8.0.0 255.255.0.0
ifconfig-pool-persist ipp.txt
client-to-client
keepalive 5 20
comp-lzo
persist-key
persist-tun
status openvpn-status.log
verb 3
#Client
client
dev tun
proto tcp
remote server-ip 1194
resolv-retry infinite
nobind
persist-key
persist-tun
ca "path to ca"
cert "path to cert"
key "path to key"
remote-cert-tls server
comp-lzo
verb 3
keepalive 3 10
Thank you 😃 😃