Pfsense Auto Reconnect

  • Hello,

    in the past it was possible to do an automatic reconnect with this script

    für den Disconnect
    curl "http://user:pw@ip/status_interfaces.php" -d "interface=wan&submit=Disconnect"
    für den Connect
    curl "http://user:pw@ip/status_interfaces.php" -d "interface=wan&submit=Connect"

    I think this script was for versions older than 2.0.

    Is there a new way to do this?

    I need this, cause my provider disconnects me every 24 hours. If i start this script every day at 4 am in the morning, nobody would check, that there is a short disconnect and this is much better  :D

  • Netgate Administrator

    As detailed here:
    The authentication system is different so you need to do a little more.


Log in to reply