and run it with scheduler in the time you want. But you should do that to all your ppptp interfaces one by one or your could add a for loop to this script.
Script works great but need to modify it slightly. When the interface locks i get an error to do with protocol unrecognised in the log. However the interface still appears to be running ie: has an R flag. but no traffic is flowing
Is it possible to ping an external host via the interface and trigger the restart when it times out after say 5 pings for example?
You can use something like this... its from another script I wrote... but you can modify it accordingly... Just run it every n minutes or whatever you want.
:local WANInterface ether1
Not, I mean “pptp static interfaces” on /ppp
but if you answer so, I think you do not use static interface [best practice!]
Later , I answer again with a simple script for check that.
I must write the script, but simply you must ping the other side of pptp to check if pptp are working.
Remove MRRU from pptp server and client, or wait 6.11