mfromo
Hi,
I am troubleshooting some random lag and connection drops, and am looking at having those who connect to the VPN use their local internet connection rather than using internet through the VPN connection. The connection is always made initially, but sometimes will drop randomly and we notice latency as more people connect to the vpn.
I have an openvpn server running on a Fedora box and all the clients connecting to it are Windows (some 7 some 10, but we can focus on Windows 10.) We mainly use the vpn to map drives and use the fileserver which is the same server openvpn is running on.
The openvpn setup was made a bunch of years ago, and I haven't messed with it, because frankly, it was was working so I did not need to. I appreciate any help and suggestions on how to make this more efficient.
Thank you!
Here is the server config file:
port [PORT Number]
proto udp
dev tap0
ca [FOLDER DIRECTORY/FILE].crt
cert [FOLDER DIRECTORY/FILE].crt
key [FOLDER DIRECTORY/FILE].key
dh [FOLDER DIRECTORY/FILE].pem
server-bridge 10.1.10.100 255.255.255.0 10.1.10.50 10.1.10.60
keepalive 10 120
comp-lzo
persist-key
persist-tun
status openvpn-status.log
log-append openvpn.log
verb 3
Here is the Client File:
client
dev tun
proto udp
remote [IPAddress] [Port Number]
resolv-retry infinite
nobind
persist-key
persist-tun
ca [CERT FILE].crt
cert [CERT FILE].crt
key [KEY FILE].key
ns-cert-type server
comp-lzo
verb 3