OPNsense Forum

English Forums => Virtual private networks => Topic started by: Ad3t0 on October 19, 2020, 07:12:10 pm

Title: OpenVPN Client automatic reconnect on boot or when connection is lost
Post by: Ad3t0 on October 19, 2020, 07:12:10 pm
What is the best way to get an OpenVPN client connection configured in OPNsense to automatically connect on boot or when the connection is disconnected?

Thank you!
Title: Re: OpenVPN Client automatic reconnect on boot or when connection is lost
Post by: bartjsmit on October 19, 2020, 07:31:02 pm
Automatic connection on boot is dependent on the OS of the client. To reconnect a dropped tunnel, check out the keepalive, persist-tun and persist-key options from the manual: https://community.openvpn.net/openvpn/wiki/Openvpn24ManPage

Bart...