" Ekonetcomp is Home of Mikrotik Config "
Script Automatic Setting Mikrotik Router Ntp Client To Get Synchronize With Only Live / Active Public Ntp Server. Also Redirect Lan User To Use That Active Public Ntp Server
# Mikrotik RouterOS ntp client script - ekonetcomp.blogspot.com
:local ntpServer "SNTP Servers"
:local INTERVAL [/system ntp client get poll-interval];
:local ntpServerIP [/system ntp client get active-server];
:log warning message="... GET Poll Interval ..........Poll Interval is $INTERVAL .";
:log warning message="... GET ACTIVE SNTP SERVER ADDRESS..........Active Address of $ntpServer is $ntpServerIP ";
:log warning message="SET $INTERVAL as Script Interval ..........";
/system scheduler set interval=$INTERVAL [find comment=SntpSupport];
:log warning message="SET SntpRedirect Address to $ntpServerIP ...........";
/ip firewall nat set to-address=$ntpServerIP [find comment=SntpRedirect];
# Mikrotik RouterOS ntp client script - ekonetcomp.blogspot.com
" Ekonetcomp is Home of Mikrotik Config "
0 Response to "Mikrotik Script Ntp Client"
Post a Comment