Hey all,
I just stood up OpenVPN to support remote workers during this challenging time globally. I thought I got the "inactivity timeout" correct in my configuration but everyone is timing out after 1 hour no matter how much activity they have (shooting for 8 hours.) Your help would be huge.
server.conf
port 1194
proto udp4
dev tun0
ca .....
cert .....
key ......
dh ......
crl-verify .....
tls-auth ....
server 10.5.0.0 255.255.255.0
ifconfig-pool-persist ipp.txt 600
push "route x.x.x.x 255.255.255.0"
cipher AES-256-CBC
tls-version-min 1.2
auth SHA512
toplogy subnet
keepalive 10 120
inactive 28800 20480
push "inactive 28800 20480"
persist-key
persist-tun
compress lz4-v2
push "compress lz4-v2"
max-clients 100
user nobody
group nobody
status /etc/openvpn/log/openvpn-status.log
log-append /etc/openvpn/log/openvpn.log
username-as-common-name
verb 4
explicit-exit-notify 1