Page 1 of 1

Redial VPN if ping to VPN server failed

Posted: Wed Apr 10, 2024 4:09 am
by papayeya
Hi all,

I have SSTP VPN connection, however the other end is a cisco end and it appears that the flaky internet causes the connection on the CISCO end to disconnect. However the Mikrotik still reports that its connected even though no traffic is being received.


I need a shceduled script to ping a remote IP (over the VPN) say every 15 seconds and if it does not receive a response then disconnect the PPTP connection and attempt to re-establish the connection.

Can you guys help me please as im not good with scripts or scheduler.

Thank you in advance!