Lompat ke konten Lompat ke sidebar Lompat ke footer

Widget HTML #1

Membuat limit otomatis client hotpsot

Scrip di pasang di dhcp server hotspot


:local parent [/queue simple find name="55.GALLERY HOTSPOT"]

:local network "10.1.0.0/20"

:local queueName "HOTSPOT- $leaseActMAC";

:if ([:len $parent] = 0) do={/queue simple add name="55.GALLERY HOTSPOT" limit-at=2M/2M max-limit=10M/10M target="$network" packet-marks=no-mark}

:if ($leaseBound = "1") do={

/queue simple add name=$queueName target=($leaseActIP . "/32") max-limit=10M/10M limit-at=2M/2M burst-limit=15M/15M burst-time=8/8 parent="55.GALLERY HOTSPOT";

} else={

/queue simple remove $queueName

}


Posting Komentar untuk "Membuat limit otomatis client hotpsot"