hi . i have a problem with my mikrotik routers . after a few hours that vpn client connect to mikrotik vpn server (sstp,ovpn,l2tp) i see some tunnels are not running but remain dynamic . what is it ??
how i can fix it ? or any script to delete not running tunnels ?? i'm in iran and i think government is offend to avoid users access to free internet .
Hard to tell because you have not included full screenshot, but you can change the script below for different interface type
ovpn-client, sstp-client, sstp-server, ovpn-server etc ect
:foreach IF in=[/interface ovpn-server find where dynamic && !running] do={ /interface ovpn-server remove $IF };
maybe you could also just shorten to this, but be careful you don't delete a non-dynamic interface by mistake.
:foreach IF in=[/interface ovpn-server find where !running] do={ /interface ovpn-server remove $IF };