OpenVPN Daemon stops after loss of internet.

  • Hi, I am running a pfsense box behind a 4G modem and then connecting through OpenVPN to England. I want to allays be connected to England or not connected at all.
    The problem i am having is that everytime the bad 4G connection is lost pfsense shuts down the OpenVPN daemon so i will not connect again untill i restart the pfsense box or login to it and restart it.

    I was hoping someone could help me with some sort of script or cron job or anything that could keep restarting it untill the connection is reestablished.

    Thanks in advance

Log in to reply