9
Дек

Скрипт проверки и перезапуска l2tp туннеля в Mikrotik

Данный скрипт проверяет состояние туннеля, в зависимости от настроек System — Scheduler и в случае есть туннель имеет состояние, отличное от connected, перезапускает его.
[bash title=»код»]:local tunnelname ("l2tp-out");
/interface l2tp-client monitor [/interface l2tp-client find name=$tunnelname] once do={
:if ($status = "connected") do={
:log info ("VPN work");
} else={
/interface l2tp-client disable $tunnelname
:delay 5;
/interface l2tp-client enable  $tunnelname
:beep frequency=660 length=100ms;
:log info ("VPN restart");
};
};[/bash]

Обратная связь

    The average number of adverse effects was 3. T max is 23 minutes in females and 32 minutes in males. What other drugs will affect doxercalciferol Viagra natural sin receta. Archived from the original on 2009-08-14.

    Talk to your doctor before using this form of cefadroxil if you have diabetes. What should I tell my healthcare team before starting CABLIVI? There is no FDA guidance on the use of Tetracycline (oral) with respect to specific gender populations https://www.apotheke-rezeptfreie.com/. Opper K, Uder S, Song K Development of Heterogeneous and Homogeneous Platforms for Rapid Analysis of DNA-Protein Interactions.

    Contact Us