Home
Help
Search
Login
Register
OPNsense Forum
»
English Forums
»
Virtual private networks
»
OpenVPN Client automatic reconnect on boot or when connection is lost
« previous
next »
Print
Pages: [
1
]
Author
Topic: OpenVPN Client automatic reconnect on boot or when connection is lost (Read 5810 times)
Ad3t0
Newbie
Posts: 1
Karma: 0
OpenVPN Client automatic reconnect on boot or when connection is lost
«
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!
Logged
bartjsmit
Hero Member
Posts: 2018
Karma: 194
Re: OpenVPN Client automatic reconnect on boot or when connection is lost
«
Reply #1 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...
Logged
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
English Forums
»
Virtual private networks
»
OpenVPN Client automatic reconnect on boot or when connection is lost