OpenVPN client expires every 24h and does not restart
-
Team,
I am using OpenVPN client on pfSense to connect to an OpenVPN access server. the tunnel works fine but every 24hours it expires and does not restart automatically. I need to manually restart the service to have the tunnel connect again. Is there something wrong with the below configuration? what am i missing? I am using pfSense 2.2.5 in AWS
dev ovpnc1
verb 6
dev-type tun
tun-ipv6
dev-node /dev/tun1
writepid /var/run/openvpn_client1.pid
#user nobody
#group nobody
script-security 3
daemon
keepalive 10 60
ping-timer-rem
persist-tun
persist-key
proto tcp-client
cipher BF-CBC
auth SHA1
up /usr/local/sbin/ovpn-linkup
down /usr/local/sbin/ovpn-linkdown
local 10.8.48.9
tls-client
client
lport 0
management /var/etc/openvpn/client1.sock unix
remote myopenvpnserver.com 443
auth-user-pass /var/etc/openvpn/client1.up
ca /var/etc/openvpn/client1.ca
cert /var/etc/openvpn/client1.cert
key /var/etc/openvpn/client1.key
tls-auth /var/etc/openvpn/client1.tls-auth 1
comp-lzo adaptive
passtos
resolv-retry infiniteHere is the error message i get after 24 hours
openvpn[16475]: AUTH: Received control message: AUTH_FAILED,SESSION: Your session has expired, please reauthenticate