Hi,
I am using a PPTP connection where my mikrotik acts as a client.
The connection is not very reliable and gets restarted occasionally. I am ok with the restarts but the problem is that I am having some mangle rules which get screwed after the vpn is reconnected (not critical but a simple rule Change MSS is replaced by 2 Change MSS rules with nonsence parameters automatically.....).
I can get around it quite easily using a script but how do I make the script to trigger automatically after the reconnect? - its a nonsense to have it scheduled to run lets say every 10 minutes and let it check the the status and run the commands for the rules if needed as the dropout might occur in matter of days....
Is there any way how could I trigger simply after the dioulout is finished as its the only point in time where run of this script makes sense...?
Thanks!