Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # mar/27/2018 06:19:25 by RouterOS 6.39.3
- # software id = GDRH-YMBL
- #
- /interface ethernet
- set [ find default-name=ether3 ] arp=proxy-arp mac-address=74:97:81:09:59:57 \
- name=Hotspot
- set [ find default-name=ether1 ] mac-address=74:97:81:09:69:C7 name=\
- Modem_Browser
- set [ find default-name=ether5 ] mac-address=74:97:81:09:69:DD name=To-STB
- set [ find default-name=ether2 ] mac-address=74:97:81:09:69:CC name=UsetTv
- /interface wireless
- set [ find default-name=wlan1 ] arp=proxy-arp band=2ghz-b/g/n frequency=2437 \
- mode=ap-bridge multicast-helper=full radio-name=cafe ssid=Cafe_Keluarga \
- wireless-protocol=802.11 wps-mode=disabled
- /interface pptp-client
- add comment=DNS4Free connect-to=103.80.80.112 disabled=no name=DNS4Free \
- password=!QAZ2wsx#EDC4rfv user=DNS4Free
- /interface wireless security-profiles
- set [ find default=yes ] supplicant-identity=MikroTik
- /ip dhcp-client option
- add code=12 name=hostuseetv value="'SU170000668209106-STB-USEETV'"
- add code=12 name=hostuseetv2 value="'WP87020178104877-STB-USEETV'"
- /ip firewall layer7-protocol
- add name=EXE regexp="\\x4d\\x5a(\\x90\\x03|\\x50\\x02)\\x04"
- add name=ZIP regexp="pk\\x03\\x04\\x14"
- add name=MP4 regexp="\\x18\\x66\\x74\\x79\\x70"
- add name=RAR regexp="Rar\\x21\\x1a\\x07"
- add name=youtube regexp="r[0-9]+---[a-z]+-+[a-z0-9-]+\\.googlevideo\\.com"
- add name=download regexp="^.*get.+\\.(exe|rar|iso|zip|7zip|flv|mkv|avi|mp4|3gp\
- |rmvb|mp3|img|dat|mov).*\$"
- add name=High regexp="^.*get.+\\.(exe|rar|iso|zip|7zip|0[0-9][1-9]|flv|mkv|avi\
- |mp4|3gp|rmvb|mp3|img|dat|mov).*\$"
- /ip hotspot profile
- set [ find default=yes ] login-by=http-chap,trial,mac-cookie use-radius=yes
- /ip hotspot user profile
- set [ find default=yes ] insert-queue-before=bottom keepalive-timeout=5m \
- shared-users=5 status-autorefresh=3m
- add name="1. Aqua Class Rp. 5.000 4 Jam" on-login="{\r\
- \n:local usernya \$user;\r\
- \n:if ([/ip hotspot user find name=\$usernya limit-uptime=4h]=\"\") do={/i\
- p hotspot user set [find name=\$usernya] limit-uptime=4h\r\
- \n/ip hotspot active remove [find user=\$usernya]\r\
- \n}\r\
- \n:if ([/system schedule find name=\$usernya]=\"\") do={\r\
- \n/system schedule add name=\$usernya interval=2d on-event=\"/ip hotspot u\
- ser remove [find name=\$usernya]\\r\\n/ip hotspot active remove [find user\
- =\$usernya]\\r\\n/system schedule remove [find name=\$usernya]\\r\\n/ip ho\
- tspot cookie remove [find user=\$usernya]\"\r\
- \n}\r\
- \n}" on-logout="/tool fetch \"https://api.telegram.org/bot492969668:AAER40\
- y5KC3a6q1oGRIscW2WkJ9u8DaiSCY/sendMessage\?chat_id=458752171&text=\$user%2\
- 0Logged%20out\" mode=http dst-path=login.txt"
- add name="2. Kopi Hitam Rp. 10.000 4 Jam" on-login="{\r\
- \n:local usernya \$user;\r\
- \n:if ([/ip hotspot user find name=\$usernya limit-uptime=4h]=\"\") do={/i\
- p hotspot user set [find name=\$usernya] limit-uptime=4h\r\
- \n/ip hotspot active remove [find user=\$usernya]\r\
- \n}\r\
- \n:if ([/system schedule find name=\$usernya]=\"\") do={\r\
- \n/system schedule add name=\$usernya interval=1d on-event=\"/ip hotspot u\
- ser remove [find name=\$usernya]\\r\\n/ip hotspot active remove [find user\
- =\$usernya]\\r\\n/system schedule remove [find name=\$usernya]\\r\\n/ip ho\
- tspot cookie remove [find user=\$usernya]\"\r\
- \n}\r\
- \n}" on-logout="/tool fetch \"https://api.telegram.org/bot492969668:AAER40\
- y5KC3a6q1oGRIscW2WkJ9u8DaiSCY/sendMessage\?chat_id=458752171&text=\$user%2\
- 0Logged%20out\" mode=http dst-path=login.txt"
- add name="3. Kopi sachet Rp. 20.000 24 Jam" on-login="{\r\
- \n:local usernya \$user;\r\
- \n:local macaddressnya \$\"mac-address\";\r\
- \n:if ([/system schedule find name=\$usernya]=\"\") do={\r\
- \n/ip hotspot user set mac-address=\$\"macaddressnya\" comment=\"used\" [f\
- ind name=\$usernya]\r\
- \n/system schedule add name=\$usernya interval=1d on-event=\"/ip hotspot u\
- ser remove [find name=\$usernya]\\r\\n/ip hotspot active remove [find user\
- =\$usernya]\\r\\n/system schedule remove [find name=\$usernya]\\r\\n/ip ho\
- tspot cookie remove [find user=\$usernya]\"\r\
- \n}\r\
- \n}" on-logout="/tool fetch \"https://api.telegram.org/bot492969668:AAER40\
- y5KC3a6q1oGRIscW2WkJ9u8DaiSCY/sendMessage\?chat_id=458752171&text=\$user%2\
- 0Logged%20out\" mode=http dst-path=login.txt"
- add keepalive-timeout=5m name="userman paket 4 jam" on-login="/tool fetch \"ht\
- tps://api.telegram.org/bot492969668:AAER40y5KC3a6q1oGRIscW2WkJ9u8DaiSCY/se\
- ndMessage\?chat_id=458752171&text=\$user%20Logged%20in\" mode=http dst-pat\
- h=login.txt" on-logout="/tool fetch \"https://api.telegram.org/bot49296966\
- 8:AAER40y5KC3a6q1oGRIscW2WkJ9u8DaiSCY/sendMessage\?chat_id=458752171&text=\
- \$user%20Logged%20out\" mode=http dst-path=login.txt" status-autorefresh=\
- 3m
- add keepalive-timeout=5m name="userman paket 19 jam" on-login="/tool fetch \"h\
- ttps://api.telegram.org/bot492969668:AAER40y5KC3a6q1oGRIscW2WkJ9u8DaiSCY/s\
- endMessage\?chat_id=458752171&text=\$user%20Logged%20in\" mode=http dst-pa\
- th=login.txt" on-logout="/tool fetch \"https://api.telegram.org/bot4929696\
- 68:AAER40y5KC3a6q1oGRIscW2WkJ9u8DaiSCY/sendMessage\?chat_id=458752171&text\
- =\$user%20Logged%20out\" mode=http dst-path=login.txt" \
- status-autorefresh=3m
- add keepalive-timeout=5m name="userman paket Qouta" on-login="/tool fetch \"ht\
- tps://api.telegram.org/bot492969668:AAER40y5KC3a6q1oGRIscW2WkJ9u8DaiSCY/se\
- ndMessage\?chat_id=458752171&text=\$user%20Logged%20in\" mode=http dst-pat\
- h=login.txt" on-logout="/tool fetch \"https://api.telegram.org/bot49296966\
- 8:AAER40y5KC3a6q1oGRIscW2WkJ9u8DaiSCY/sendMessage\?chat_id=458752171&text=\
- \$user%20Logged%20out\" mode=http dst-path=login.txt" status-autorefresh=\
- 3m
- add add-mac-cookie=no !mac-cookie-timeout name=FreeUser on-login="{\r\
- \n:local usernya \$user;\r\
- \n:if ([/ip hotspot user find name=\$usernya limit-bytes-out=20971520]=\"\
- \") do={/ip hotspot user set [find name=\$usernya] limit-bytes-out=2097152\
- 0\r\
- \n/ip hotspot active remove [find user=\$usernya]\r\
- \n}\r\
- \n:if ([/system schedule find name=\$usernya]=\"\") do={\r\
- \n/system schedule add name=\$usernya interval=7d on-event=\"/ip hotspot u\
- ser remove [find name=\$usernya]\\r\\n/ip hotspot active remove [find user\
- =\$usernya]\\r\\n/system schedule remove [find name=\$usernya]\\r\\n/syste\
- m schedule remove [find name=\$usernya]\\r\\n/ip hotspot cookie remove [fi\
- nd user=\$usernya]\"\r\
- \n}\r\
- \n}" on-logout="/tool fetch \"https://api.telegram.org/bot492969668:AAER40\
- y5KC3a6q1oGRIscW2WkJ9u8DaiSCY/sendMessage\?chat_id=458752171&text=\$user%2\
- 0Logged%20out\" mode=http dst-path=login.txt"
- add insert-queue-before=bottom keepalive-timeout=5m name=xx on-login="{\r\
- \n:local usernya \$user;\r\
- \n:if ([/ip hotspot user find name=\$usernya limit-bytes-out=92]=\"\") do=\
- {/ip hotspot user set [find name=\$usernya] limit-bytes-out=92\r\
- \n/ip hotspot active remove [find user=\$usernya]\r\
- \n}\r\
- \n:if ([/system schedule find name=\$usernya]=\"\") do={\r\
- \n/system schedule add name=\$usernya interval=31d on-event=\"/ip hotspot \
- user disable [find name=\$usernya]\\r\\n/ip hotspot active remove [find us\
- er=\$usernya]\\r\\n/system schedule remove [find name=\$usernya]\\r\\n/sys\
- tem schedule remove [find name=\$usernya]\\r\\n/ip hotspot cookie remove [\
- find user=\$usernya]\"\r\
- \n}\r\
- \n}" on-logout="{\r\
- \n:local usernya \$user;\r\
- \n:if ([/ip hotspot user get [find name=\$usernya] bytes-out] >= [/ip hots\
- pot user get [find name=\$usernya] limit-bytes-out]) do={\r\
- \n/ip hotspot user set limit-bytes-out=0 profile=\"qouta_habis\" [find nam\
- e=\$usernya]\r\
- \n}\r\
- \n}" shared-users=5 status-autorefresh=3m
- add insert-queue-before=bottom keepalive-timeout=5m name="Pelanggan Uset TV" \
- shared-users=5 status-autorefresh=3m
- /ip hotspot profile
- add dns-name=www.hotspottoraja.net hotspot-address=192.168.1.2 login-by=\
- mac,http-chap,trial,mac-cookie name=hsprof1 trial-uptime-reset=3d \
- trial-user-profile=FreeUser use-radius=yes
- add dns-name=wifi.login hotspot-address=192.168.1.2 login-by=\
- mac,http-chap,trial,mac-cookie name=hsprof2 trial-uptime-reset=3d \
- trial-user-profile=FreeUser use-radius=yes
- /ip pool
- add name=hotspot ranges=192.168.1.50,192.168.1.51-192.168.1.254
- add name=dhcp_pool1 ranges=\
- 10.116.32.1-10.116.45.137,10.116.45.139-10.116.47.254
- add name=dhcp_pool2 ranges=\
- 10.116.32.1-10.116.45.137,10.116.45.139-10.116.47.254
- add name=ip_pelanggan_uset_TV ranges=192.168.20.3,192.168.20.4-192.168.20.254
- add name=bulanan ranges=192.168.73.151,192.168.73.152-192.168.73.254
- add name=expired ranges=192.168.30.51,192.168.30.52-192.168.30.254
- add name=Key ranges=192.168.73.20,192.168.73.21-192.168.73.25
- add name=xx ranges=192.168.2.50,192.168.2.51-192.168.2.254
- /ip dhcp-server
- add address-pool=ip_pelanggan_uset_TV disabled=no interface=To-STB name=STB
- add add-arp=yes address-pool=hotspot disabled=no interface=Hotspot \
- lease-time=3h name=Hotspot_dhcp
- /ip hotspot
- add address-pool=hotspot disabled=no interface=Hotspot name=hotspot1 profile=\
- hsprof1
- /ip hotspot user profile
- add add-mac-cookie=no address-pool=expired insert-queue-before=bottom \
- keepalive-timeout=5m !mac-cookie-timeout name=expired status-autorefresh=\
- 3m
- /interface l2tp-client
- add connect-to=43.245.186.218 name=l2tp-out1 password=hotspottoraja84 \
- profile=default user=hotspottoraja
- /queue type
- add kind=pcq name=down_pcq pcq-classifier=dst-address pcq-dst-address6-mask=\
- 64 pcq-src-address6-mask=64
- add kind=pcq name=up_pcq pcq-classifier=src-address pcq-dst-address6-mask=64 \
- pcq-src-address6-mask=64
- /queue simple
- add limit-at=64/64 max-limit=512k/4M name=Hotspot queue=up_pcq/down_pcq \
- target=192.168.73.0/24
- /ip hotspot user profile
- add address-pool=bulanan insert-queue-before=Hotspot keepalive-timeout=5m \
- name="userman paket bulanan 1Mbs" on-login="{\r\
- \n:local usernya \$user;\r\
- \n:if ([/ip hotspot user find name=\$usernya limit-bytes-out=21474836480]=\
- \"\") do={/ip hotspot user set [find name=\$usernya] limit-bytes-out=21474\
- 836480\r\
- \n/ip hotspot active remove [find user=\$usernya]\r\
- \n}\r\
- \n:if ([/system schedule find name=\$usernya]=\"\") do={\r\
- \n/system schedule add name=\$usernya interval=31d on-event=\"/ip hotspot \
- user disable [find name=\$usernya]\\r\\n/ip hotspot active remove [find us\
- er=\$usernya]\\r\\n/system schedule remove [find name=\$usernya]\\r\\n/sys\
- tem schedule remove [find name=\$usernya]\\r\\n/ip hotspot cookie remove [\
- find user=\$usernya]\"\r\
- \n}\r\
- \n}" on-logout="{\r\
- \n:local usernya \$user;\r\
- \n:if ([/ip hotspot user get [find name=\$usernya] bytes-out] >= [/ip hots\
- pot user get [find name=\$usernya] limit-bytes-out]) do={\r\
- \n/ip hotspot user set limit-bytes-out=0 profile=\"qouta_habis\" [find nam\
- e=\$usernya]\r\
- \n}\r\
- \n}" parent-queue=Hotspot rate-limit="138k/1024k 0/0m 0/0m 8 8 64/64" \
- status-autorefresh=3m
- add address-pool=bulanan insert-queue-before=Hotspot keepalive-timeout=5m \
- name="userman paket bulanan 2Mbs" on-login="{\r\
- \n:local usernya \$user;\r\
- \n:if ([/ip hotspot user find name=\$usernya limit-bytes-out=42949672960]=\
- \"\") do={/ip hotspot user set [find name=\$usernya] limit-bytes-out=42949\
- 672960\r\
- \n/ip hotspot active remove [find user=\$usernya]\r\
- \n}\r\
- \n:if ([/system schedule find name=\$usernya]=\"\") do={\r\
- \n/system schedule add name=\$usernya interval=31d on-event=\"/ip hotspot \
- user disable [find name=\$usernya]\\r\\n/ip hotspot active remove [find us\
- er=\$usernya]\\r\\n/system schedule remove [find name=\$usernya]\\r\\n/sys\
- tem schedule remove [find name=\$usernya]\\r\\n/ip hotspot cookie remove [\
- find user=\$usernya]\"\r\
- \n}\r\
- \n}" on-logout="/tool fetch \"https://api.telegram.org/bot492969668:AAER40\
- y5KC3a6q1oGRIscW2WkJ9u8DaiSCY/sendMessage\?chat_id=458752171&text=\$user%2\
- 0Logged%20out\" mode=http dst-path=login.txt" parent-queue=Hotspot \
- rate-limit="256k/2024k 0/0m 0/0m 8 8 64/64" status-autorefresh=3m
- add address-pool=bulanan insert-queue-before=Hotspot keepalive-timeout=5m \
- name=warnet on-login="{\r\
- \n:local usernya \$user;\r\
- \n:if ([/system schedule find name=\$usernya]=\"\") do={\r\
- \n/system schedule add name=\$usernya interval=7d on-event=\"/ip hotspot u\
- ser disable [find name=\$usernya]\\r\\n/ip hotspot active remove [find use\
- r=\$usernya]\\r\\n/system schedule remove [find name=\$usernya]\\r\\n/syst\
- em schedule remove [find name=\$usernya]\\r\\n/ip hotspot cookie remove [f\
- ind user=\$usernya]\"\r\
- \n}\r\
- \n}" on-logout="/tool fetch \"https://api.telegram.org/bot492969668:AAER40\
- y5KC3a6q1oGRIscW2WkJ9u8DaiSCY/sendMessage\?chat_id=458752171&text=\$user%2\
- 0Logged%20out\" mode=http dst-path=login.txt" parent-queue=Hotspot \
- rate-limit="138k/256 0/0m 0/0m 8 8 64/64" shared-users=5 \
- status-autorefresh=3m
- add address-pool=bulanan insert-queue-before=Hotspot keepalive-timeout=5m \
- mac-cookie-timeout=30m name="Paket Antena free" on-login="{\r\
- \n:local usernya \$user;\r\
- \n:local resetnya \"reset-counter-\$usernya\";\r\
- \n:if ([/ip hotspot user find name=\$usernya limit-bytes-total=2073741824]\
- =\"\") do={/ip hotspot user set [find name=\$usernya] limit-bytes-total=20\
- 73741824};\r\
- \n:if ([/system schedule find name=\$resetnya]=\"\") do={\r\
- \n/system schedule add name=\$resetnya start-time=00:00:01 interval=1d on-\
- event=\"/ip hotspot user reset-counter [find name=\$usernya]\"\r\
- \n}\r\
- \n:if ([/system schedule find name=\$usernya]=\"\") do={\r\
- \n/system schedule add name=\$usernya interval=365d on-event=\"/ip hotspot\
- \_user remove [find name=\$usernya]\\r\\n/ip hotspot active remove [find u\
- ser=\$usernya]\\r\\n/system schedule remove [find name=\$resetnya]\\r\\n/s\
- ystem schedule remove [find name=\$usernya]\"\r\
- \n}\r\
- \n}" parent-queue=Hotspot rate-limit="138k/256k 0/1m 0/768k 8 8 64/64" \
- status-autorefresh=3m
- add insert-queue-before=Hotspot keepalive-timeout=5m name=Paket-Antena-1-Mbs \
- on-login="{\r\
- \n:local usernya \$user;\r\
- \n:if ([/ip hotspot user find name=\$usernya limit-bytes-out=21474836480]=\
- \"\") do={/ip hotspot user set [find name=\$usernya] limit-bytes-out=21474\
- 836480\r\
- \n/ip hotspot active remove [find user=\$usernya]\r\
- \n}\r\
- \n:if ([/system schedule find name=\$usernya]=\"\") do={\r\
- \n/system schedule add name=\$usernya interval=365d on-event=\"/ip hotspot\
- \_user disable [find name=\$usernya]\\r\\n/ip hotspot active remove [find \
- user=\$usernya]\\r\\n/system schedule remove [find name=\$usernya]\\r\\n/s\
- ystem schedule remove [find name=\$usernya]\\r\\n/ip hotspot cookie remove\
- \_[find user=\$usernya]\"\r\
- \n}\r\
- \n}" on-logout="{\r\
- \n:local usernya \$user;\r\
- \n:if ([/ip hotspot user get [find name=\$usernya] bytes-out] >= [/ip hots\
- pot user get [find name=\$usernya] limit-bytes-out]) do={\r\
- \n/ip hotspot user set limit-bytes-out=0 profile=\"qouta_habis_1Mbs\" [fin\
- d name=\$usernya]\r\
- \n}\r\
- \n}" parent-queue=Hotspot rate-limit="138k/1024k 0/0m 0/0m 8 8 64/64" \
- status-autorefresh=3m
- add insert-queue-before=Hotspot keepalive-timeout=5m name=Paket-Antena-2-Mbs \
- on-login="{\r\
- \n:local usernya \$user;\r\
- \n:if ([/ip hotspot user find name=\$usernya limit-bytes-out=42949672960]=\
- \"\") do={/ip hotspot user set [find name=\$usernya] limit-bytes-out=42949\
- 672960\r\
- \n/ip hotspot active remove [find user=\$usernya]\r\
- \n}\r\
- \n:if ([/system schedule find name=\$usernya]=\"\") do={\r\
- \n/system schedule add name=\$usernya interval=31d on-event=\"/ip hotspot \
- user disable [find name=\$usernya]\\r\\n/ip hotspot active remove [find us\
- er=\$usernya]\\r\\n/system schedule remove [find name=\$usernya]\\r\\n/sys\
- tem schedule remove [find name=\$usernya]\\r\\n/ip hotspot cookie remove [\
- find user=\$usernya]\"\r\
- \n}\r\
- \n}" on-logout="{\r\
- \n:local usernya \$user;\r\
- \n:if ([/ip hotspot user get [find name=\$usernya] bytes-out] >= [/ip hots\
- pot user get [find name=\$usernya] limit-bytes-out]) do={\r\
- \n/ip hotspot user set limit-bytes-out=0 profile=\"qouta_habis_2Mbs\" [fin\
- d name=\$usernya]\r\
- \n}\r\
- \n}" parent-queue=Hotspot rate-limit="138k/2024k 0/0m 0/0m 8 8 64/64" \
- status-autorefresh=3m
- add address-pool=bulanan insert-queue-before=Hotspot keepalive-timeout=5m \
- name=qouta_habis parent-queue=Hotspot rate-limit=\
- "138k/512k 0/0m 0/0m 8 8 64/64" status-autorefresh=3m
- add address-pool=bulanan insert-queue-before=Hotspot keepalive-timeout=5m \
- name=qouta_habis_1Mbs parent-queue=Hotspot rate-limit=\
- "138k/512k 0/0m 0/0m 8 8 64/64" status-autorefresh=3m
- add address-pool=bulanan insert-queue-before=Hotspot keepalive-timeout=5m \
- name=qouta_habis_2Mbs parent-queue=Hotspot rate-limit=\
- "138k/1024k 0/0m 0/0m 8 8 64/64" status-autorefresh=3m
- add address-pool=bulanan insert-queue-before=Hotspot keepalive-timeout=5m \
- name=qouta_habis_userman_paket_bulanan_2Mbs parent-queue=Hotspot \
- rate-limit="138k/1024k 0/0m 0/0m 8 8 64/64" status-autorefresh=3m
- /queue simple
- add burst-time=8s/8s limit-at=64/64 max-limit=138k/1024k name=Key parent=\
- Hotspot queue=up_pcq/down_pcq target="192.168.73.20/32,192.168.73.21/32,19\
- 2.168.73.22/32,192.168.73.23/32,192.168.73.24/32,192.168.73.25/32"
- /ip hotspot user profile
- add address-pool=Key insert-queue-before=Hotspot keepalive-timeout=5m name=\
- Paket-Antena-1-Mbs_Key on-login="{\r\
- \n:local usernya \$user;\r\
- \n:if ([/ip hotspot user find name=\$usernya limit-bytes-out=21474836480]=\
- \"\") do={/ip hotspot user set [find name=\$usernya] limit-bytes-out=21474\
- 836480\r\
- \n/ip hotspot active remove [find user=\$usernya]\r\
- \n}\r\
- \n:if ([/system schedule find name=\$usernya]=\"\") do={\r\
- \n/system schedule add name=\$usernya interval=365d on-event=\"/ip hotspot\
- \_user disable [find name=\$usernya]\\r\\n/ip hotspot active remove [find \
- user=\$usernya]\\r\\n/system schedule remove [find name=\$usernya]\\r\\n/s\
- ystem schedule remove [find name=\$usernya]\\r\\n/ip hotspot cookie remove\
- \_[find user=\$usernya]\"\r\
- \n}\r\
- \n}" on-logout="{\r\
- \n:local usernya \$user;\r\
- \n:if ([/ip hotspot user get [find name=\$usernya] bytes-out] >= [/ip hots\
- pot user get [find name=\$usernya] limit-bytes-out]) do={\r\
- \n/ip hotspot user set limit-bytes-out=0 profile=\"qouta_habis_1Mbs\" [fin\
- d name=\$usernya]\r\
- \n}\r\
- \n}" parent-queue=Key rate-limit="138k/1024k 0/0m 0/0m 8 8 64/64" \
- shared-users=2 status-autorefresh=3m
- add address-pool=Key insert-queue-before=Hotspot keepalive-timeout=5m name=\
- qouta_habis_1Mbs_key parent-queue=Key rate-limit=\
- "138k/512k 0/0m 0/0m 8 8 64/64" shared-users=3 status-autorefresh=3m
- /queue tree
- add name="0. Global Traffic" parent=global queue=default
- add max-limit=17M name="1. Download" parent="0. Global Traffic" queue=default
- add max-limit=1M name="2. Upload" parent="0. Global Traffic"
- add limit-at=512k max-limit=3M name="1. Game" packet-mark=games_down parent=\
- "1. Download" priority=1 queue=down_pcq
- add limit-at=64k max-limit=3M name="2. Icmp" packet-mark=icmp_down parent=\
- "1. Download" priority=1 queue=down_pcq
- add limit-at=64k max-limit=3M name="3. Dns" packet-mark=dns_down parent=\
- "1. Download" priority=1 queue=down_pcq
- add max-limit=12M name="5. Download Traffic" parent="1. Download" queue=\
- default
- add max-limit=9M name="1. Small Browsing" packet-mark=small_browsing_down \
- parent="5. Download Traffic" priority=5 queue=down_pcq
- add max-limit=9M name="2. Heavy Browsing" packet-mark=heavy_browsing_down \
- parent="5. Download Traffic" priority=7 queue=down_pcq
- add limit-at=512k max-limit=3M name="4. Remote" packet-mark=remote_down \
- parent="1. Download" priority=3 queue=down_pcq
- add max-limit=9M name="3. YouTube" packet-mark=youtube_down parent=\
- "5. Download Traffic" priority=7 queue=down_pcq
- add max-limit=2M name="4. Extensi" packet-mark=extensi_down parent=\
- "5. Download Traffic" queue=down_pcq
- add limit-at=256k max-limit=1M name="1. game" packet-mark=games_up parent=\
- "2. Upload" priority=1 queue=up_pcq
- add limit-at=32k max-limit=1M name="2. icmp" packet-mark=icmp_up parent=\
- "2. Upload" priority=1 queue=up_pcq
- add limit-at=32k max-limit=1M name="3. dns" packet-mark=dns_up parent=\
- "2. Upload" priority=1 queue=up_pcq
- add limit-at=256k max-limit=1M name="4. remote" packet-mark=remote_up parent=\
- "2. Upload" priority=3 queue=up_pcq
- add max-limit=512k name="5. Upload Traffic" parent="2. Upload" queue=default
- add max-limit=512k name="1. small browsing" packet-mark=small_browsing_up \
- parent="5. Upload Traffic" priority=5 queue=up_pcq
- add max-limit=512k name="2. heavy browsing" packet-mark=heavy_browsing_up \
- parent="5. Upload Traffic" priority=7 queue=up_pcq
- add max-limit=512k name="3. youtube" packet-mark=youtube_up parent=\
- "5. Upload Traffic" priority=7 queue=up_pcq
- add max-limit=512k name="4. extensi" packet-mark=extensi_up parent=\
- "5. Upload Traffic" queue=up_pcq
- /ip address
- add address=192.168.99.2/24 interface=Modem_Browser network=192.168.99.0
- add address=192.168.20.2/24 interface=To-STB network=192.168.20.0
- add address=192.168.1.2/24 comment="hotspot network" interface=Hotspot \
- network=192.168.1.0
- add address=172.16.19.2/24 comment="Ip Radio" interface=Hotspot network=\
- 172.16.19.0
- add address=192.168.30.2/24 comment=expired interface=Hotspot network=\
- 192.168.30.0
- add address=172.16.16.2/24 comment="Ip Radio Ap & Klient" interface=Hotspot \
- network=172.16.16.0
- add address=192.168.73.2/24 comment="hotspot network bulanan" interface=\
- Hotspot network=192.168.73.0
- add address=192.168.2.2/24 interface=Hotspot network=192.168.2.0
- /ip dhcp-client
- add add-default-route=no dhcp-options=hostuseetv,clientid disabled=no \
- interface=UsetTv
- /ip dhcp-server network
- add address=10.116.32.0/20 gateway=10.116.45.138
- add address=192.168.1.0/24 comment="hotspot network" gateway=192.168.1.2 \
- netmask=32
- add address=192.168.20.0/24 gateway=192.168.20.2
- /ip dns
- set allow-remote-requests=yes servers=\
- 103.80.80.248,103.80.80.249,8.8.8.8,8.8.4.4
- /ip firewall address-list
- add address=192.168.0.0/16 list=PRIVATE_IP
- add address=172.16.0.0/12 list=PRIVATE_IP
- add address=10.0.0.0/8 list=PRIVATE_IP
- /ip firewall filter
- add action=accept chain=input in-interface=UsetTv protocol=udp
- add action=accept chain=input in-interface=UsetTv protocol=igmp
- add action=passthrough chain=unused-hs-chain comment=\
- "place hotspot rules here" disabled=yes
- add action=accept chain=forward comment="Allow access expired.html" dst-port=\
- 80 protocol=tcp src-address=192.168.30.0/24
- add action=drop chain=forward comment="Drop Access Internet" src-address=\
- 192.168.30.0/24
- /ip firewall mangle
- add action=mark-connection chain=forward comment="DNS Traffic" dst-port=53 \
- new-connection-mark=dns passthrough=yes protocol=udp src-address-list=\
- PRIVATE_IP
- add action=mark-packet chain=forward connection-mark=dns in-interface=\
- Modem_Browser new-packet-mark=dns_down passthrough=no protocol=udp
- add action=mark-packet chain=forward connection-mark=dns in-interface=Hotspot \
- new-packet-mark=dns_up passthrough=no protocol=udp
- add action=mark-connection chain=forward comment="Remote Traffic" dst-port=\
- 22,23,8291,5938,4899 new-connection-mark=remote passthrough=yes protocol=\
- tcp src-address-list=PRIVATE_IP
- add action=mark-packet chain=forward connection-mark=remote in-interface=\
- Modem_Browser new-packet-mark=remote_down passthrough=no
- add action=mark-packet chain=forward connection-mark=remote in-interface=\
- Hotspot new-packet-mark=remote_up passthrough=no
- add action=mark-connection chain=input connection-mark=no-mark in-interface=\
- Modem_Browser new-connection-mark=modemUSB_conn
- add action=mark-routing chain=output connection-mark=modemUSB_conn \
- new-routing-mark=via_browsing passthrough=yes
- add action=accept chain=prerouting comment="Bypass Local Paket" \
- dst-address-list=PRIVATE_IP src-address-list=PRIVATE_IP
- add action=accept chain=forward dst-address-list=PRIVATE_IP src-address-list=\
- PRIVATE_IP
- add action=accept chain=output dst-address-list=PRIVATE_IP src-address-list=\
- PRIVATE_IP
- add action=mark-connection chain=forward comment="Games Traffic" dst-port=\
- 39190-39200,14000-14010,2080-2099,7770-7790,14300-15512,47611 \
- new-connection-mark=game_conn passthrough=yes protocol=tcp \
- src-address-list=PRIVATE_IP
- add action=mark-connection chain=prerouting dst-port="8000-8010,36567,61000,62\
- 000,28001-28010,18900-18910,10009,7341-7350,7451,7451" \
- new-connection-mark=game_conn passthrough=yes protocol=tcp src-address=\
- 192.168.0.0/16
- add action=mark-connection chain=prerouting dst-port=\
- 8006,21231,41231,8600,8500,21231,5506,5501-5562,9002,10000-10010,30098 \
- new-connection-mark=game_conn passthrough=yes protocol=tcp src-address=\
- 192.168.0.0/16
- add action=mark-connection chain=prerouting dst-port=\
- 27000-27150,9100-9200,8230-8250,8110-8120,5223,5001-5056,5551-5556 \
- new-connection-mark=game_conn passthrough=yes protocol=tcp src-address=\
- 192.168.0.0/16
- add action=mark-connection chain=prerouting dst-port=\
- 16358,56058,20363,20046,57500,15248,64330,10393,26371,5220 \
- new-connection-mark=game_conn passthrough=yes protocol=udp src-address=\
- 192.168.0.0/16
- add action=mark-connection chain=prerouting dst-port=\
- 40000-40010,14000-14010,5100,16300-16350,15000-15500,27005-27015,8006 \
- new-connection-mark=game_conn passthrough=yes protocol=udp src-address=\
- 192.168.0.0/16
- add action=mark-connection chain=prerouting dst-port=\
- 42118-44547,5183,5162,10552,51077,44227,2099,7006-7008 \
- new-connection-mark=game_conn passthrough=yes protocol=udp src-address=\
- 192.168.0.0/16
- add action=mark-connection chain=prerouting dst-port=\
- 16358,56058,20363,20046,57500,15248,64330,10393,26371,5220 \
- new-connection-mark=game_conn passthrough=yes protocol=udp src-address=\
- 192.168.0.0/16
- add action=mark-connection chain=prerouting dst-port=\
- 27000-27150,347,5201-5274,5233,5166,5192,5272,5102-5185,24030-24160 \
- new-connection-mark=game_conn passthrough=yes protocol=udp src-address=\
- 192.168.0.0/16
- add action=mark-connection chain=prerouting dst-port=\
- 40122-42117,5001-5054,24000-24140,5285,5501-5514 new-connection-mark=\
- game_conn passthrough=yes protocol=udp src-address=192.168.0.0/16
- add action=mark-routing chain=prerouting connection-mark=game_conn \
- in-interface=Hotspot new-routing-mark=game_route passthrough=yes
- add action=mark-packet chain=forward connection-mark=game_conn in-interface=\
- Modem_Browser new-packet-mark=games_down passthrough=no
- add action=mark-packet chain=forward connection-mark=game_conn in-interface=\
- Hotspot new-packet-mark=games_up passthrough=no
- add action=mark-connection chain=forward comment="ICMP Traffic" \
- new-connection-mark=icmp passthrough=yes protocol=icmp src-address-list=\
- PRIVATE_IP
- add action=mark-packet chain=forward connection-mark=icmp in-interface=\
- Modem_Browser new-packet-mark=icmp_down passthrough=no protocol=icmp
- add action=mark-packet chain=forward connection-mark=icmp in-interface=\
- Hotspot new-packet-mark=icmp_up passthrough=no protocol=icmp
- add action=mark-connection chain=forward comment="YouTube Traffic" \
- layer7-protocol=youtube new-connection-mark=youtube passthrough=yes \
- src-address-list=PRIVATE_IP
- add action=mark-packet chain=forward connection-mark=youtube in-interface=\
- Modem_Browser new-packet-mark=youtube_down passthrough=no
- add action=mark-packet chain=forward connection-mark=youtube in-interface=\
- Hotspot new-packet-mark=youtube_up passthrough=no
- add action=mark-connection chain=forward comment="Extension Layer7" \
- layer7-protocol=EXE new-connection-mark=extensi passthrough=yes
- add action=mark-connection chain=forward layer7-protocol=ZIP \
- new-connection-mark=extensi passthrough=yes
- add action=mark-connection chain=forward layer7-protocol=RAR \
- new-connection-mark=extensi passthrough=yes
- add action=mark-connection chain=forward layer7-protocol=MP4 \
- new-connection-mark=extensi passthrough=yes
- add action=mark-connection chain=forward layer7-protocol=download \
- new-connection-mark=extensi passthrough=yes
- add action=mark-connection chain=forward layer7-protocol=High \
- new-connection-mark=extensi passthrough=yes
- add action=mark-packet chain=forward connection-mark=extensi in-interface=\
- Modem_Browser new-packet-mark=extensi_down passthrough=no
- add action=mark-packet chain=forward connection-mark=extensi in-interface=\
- Hotspot new-packet-mark=extensi_up passthrough=no
- add action=mark-connection chain=forward comment="Browsing Traffic" \
- connection-mark=!heavy_traffic new-connection-mark=browsing passthrough=\
- yes src-address-list=PRIVATE_IP
- add action=mark-connection chain=forward comment="Heavy Traffic" \
- connection-bytes=1024000-0 connection-mark=browsing connection-rate=\
- 256k-102400k new-connection-mark=heavy_traffic passthrough=yes protocol=\
- tcp
- add action=mark-connection chain=forward connection-bytes=1024000-0 \
- connection-mark=browsing connection-rate=256k-102400k \
- new-connection-mark=heavy_traffic passthrough=yes protocol=udp
- add action=mark-packet chain=forward connection-mark=heavy_traffic \
- in-interface=Modem_Browser new-packet-mark=heavy_browsing_down \
- passthrough=no
- add action=mark-packet chain=forward connection-mark=heavy_traffic \
- in-interface=Hotspot new-packet-mark=heavy_browsing_up passthrough=no
- add action=mark-packet chain=forward connection-mark=browsing in-interface=\
- Modem_Browser new-packet-mark=small_browsing_down passthrough=no
- add action=mark-packet chain=forward connection-mark=browsing in-interface=\
- Hotspot new-packet-mark=small_browsing_up passthrough=no
- /ip firewall nat
- add action=passthrough chain=unused-hs-chain comment=\
- "place hotspot rules here" disabled=yes
- add action=masquerade chain=srcnat comment=DNS4Free out-interface=DNS4Free
- add action=masquerade chain=srcnat out-interface=UsetTv
- add action=masquerade chain=srcnat out-interface=To-STB
- add action=redirect chain=dstnat comment=expired dst-port=80 protocol=tcp \
- src-address=192.168.30.0/24 to-ports=3127
- add action=masquerade chain=srcnat comment="masquerade hotspot network" \
- disabled=yes src-address=192.168.1.0/24
- add action=redirect chain=dstnat comment="Transparent DNS" dst-port=53,5353 \
- in-interface=Hotspot protocol=udp to-ports=53
- add action=redirect chain=dstnat dst-port=53,5353 in-interface=wlan1 \
- protocol=udp to-ports=53
- add action=redirect chain=dstnat dst-port=53,5353 in-interface=Hotspot \
- protocol=tcp to-ports=53
- add action=redirect chain=dstnat dst-port=53,5353 in-interface=wlan1 \
- protocol=tcp to-ports=53
- /ip hotspot ip-binding
- add address=172.16.19.16 to-address=172.16.19.16 type=bypassed
- add address=192.168.1.16 comment="Modem Ap" mac-address=54:22:F8:99:1B:E4 \
- to-address=192.168.1.16 type=bypassed
- add address=172.16.16.19 comment="Ap Home" to-address=172.16.16.19 type=\
- bypassed
- add address=172.16.16.16 comment="Ap Utama Airmax" to-address=172.16.16.16 \
- type=bypassed
- add address=172.16.16.17 comment="Ap Utama 2" to-address=172.16.16.17 type=\
- bypassed
- add address=172.16.16.202 comment="Klient Anton" to-address=172.16.16.202 \
- type=bypassed
- add address=172.16.16.203 comment="Klient Tallo" to-address=172.16.16.203 \
- type=bypassed
- add address=172.16.16.201 comment="Klient Sepon" to-address=172.16.16.201 \
- type=bypassed
- add address=172.16.16.53 comment="Ap Sepon" to-address=172.16.16.53 type=\
- bypassed
- add address=172.16.16.51 comment="Ap Anton" to-address=172.16.16.51 type=\
- bypassed
- add address=172.16.16.55 comment="Repeter boy" to-address=172.16.16.55 type=\
- bypassed
- add address=172.16.16.204 comment="Key Ap (My Hp)" mac-address=\
- D4:6E:0E:A5:3E:06 to-address=172.16.16.204 type=bypassed
- /ip hotspot user
- add limit-uptime=52w1d mac-address=50:3C:EA:C8:09:63 name=99 password=99
- add limit-uptime=4h name=8mar791 password=176 profile=\
- "1. Aqua Class Rp. 5.000 4 Jam"
- add limit-uptime=4h name=8mar387 password=083 profile=\
- "1. Aqua Class Rp. 5.000 4 Jam"
- add limit-uptime=4h name=8mar126 password=489 profile=\
- "1. Aqua Class Rp. 5.000 4 Jam"
- add limit-uptime=4h name=8mar557 password=785 profile=\
- "1. Aqua Class Rp. 5.000 4 Jam"
- add limit-uptime=4h name=9mar603 password=643 profile=\
- "2. Kopi Hitam Rp. 10.000 4 Jam"
- add limit-uptime=4h name=9mar694 password=627 profile=\
- "2. Kopi Hitam Rp. 10.000 4 Jam"
- add limit-uptime=4h name=9mar868 password=894 profile=\
- "2. Kopi Hitam Rp. 10.000 4 Jam"
- add limit-uptime=4h name=9mar299 password=090 profile=\
- "2. Kopi Hitam Rp. 10.000 4 Jam"
- add limit-uptime=4h name=9mar880 password=468 profile=\
- "2. Kopi Hitam Rp. 10.000 4 Jam"
- add limit-uptime=52w1d name=kfl password=kfl profile="userman paket 19 jam"
- add name=warnet password=warnethotspottoraja profile=warnet server=hotspot1
- add limit-uptime=1d name=jef password=jef profile="userman paket 4 jam" \
- server=hotspot1
- add limit-bytes-out=21474836480 limit-uptime=4w3d name=wawan password=wawan78 \
- profile="userman paket bulanan 1Mbs" server=hotspot1
- add limit-bytes-total=2073741824 limit-uptime=52w1d name=sepon password=\
- siomai100 profile="Paket Antena free" server=hotspot1
- add address=192.168.73.132 comment=Tallo limit-bytes-out=42949672960 \
- limit-uptime=52w1d name=C8:3A:35:78:57:60 profile=Paket-Antena-2-Mbs \
- server=hotspot1
- add limit-bytes-out=21474836480 limit-uptime=4w3d name=erik password=erik09 \
- profile="userman paket bulanan 1Mbs" server=hotspot1
- add limit-bytes-out=52428800 mac-address=C4:42:02:96:3D:2C name=\
- T-C4:42:02:96:3D:2C profile=expired
- add limit-bytes-out=52428800 mac-address=CC:79:CF:D9:A6:BC name=\
- T-CC:79:CF:D9:A6:BC profile=expired
- add mac-address=E4:F8:EF:3C:96:79 name=1 password=2
- add limit-bytes-out=21474836480 limit-uptime=52w1d name=key89 password=key89 \
- profile=Paket-Antena-1-Mbs_Key server=hotspot1
- add address=192.168.73.131 comment=Key disabled=yes limit-bytes-out=\
- 21474836480 name=C8:3A:35:78:57:D0 profile=Paket-Antena-1-Mbs server=\
- hotspot1
- add limit-uptime=4h name=26mar4958 password=5232 profile=\
- "1. Aqua Class Rp. 5.000 4 Jam"
- add limit-uptime=4h name=26mar8809 password=3319 profile=\
- "1. Aqua Class Rp. 5.000 4 Jam"
- add limit-uptime=4h name=26mar5765 password=2574 profile=\
- "1. Aqua Class Rp. 5.000 4 Jam"
- add limit-uptime=4h name=26mar5853 password=7140 profile=\
- "1. Aqua Class Rp. 5.000 4 Jam"
- add limit-uptime=4h name=26mar0862 password=1711 profile=\
- "1. Aqua Class Rp. 5.000 4 Jam"
- add limit-uptime=4h name=27mar7064 password=1051 profile=\
- "1. Aqua Class Rp. 5.000 4 Jam"
- add limit-uptime=4h name=27mar1332 password=9600 profile=\
- "1. Aqua Class Rp. 5.000 4 Jam"
- add limit-uptime=4h name=27mar9711 password=3660 profile=\
- "1. Aqua Class Rp. 5.000 4 Jam"
- add limit-uptime=4h name=27mar1408 password=0841 profile=\
- "1. Aqua Class Rp. 5.000 4 Jam"
- add limit-uptime=4h name=27mar6416 password=3412 profile=\
- "1. Aqua Class Rp. 5.000 4 Jam"
- /ip hotspot walled-garden
- add comment="place hotspot rules here" disabled=yes
- /ip hotspot walled-garden ip
- add action=accept disabled=no !dst-address dst-host=s2.mylivechat.com \
- !dst-port !protocol !src-address
- /ip proxy
- set cache-path=web-proxy1 enabled=yes max-cache-size=none parent-proxy=\
- 0.0.0.0 port=3127
- /ip proxy access
- add dst-address=192.168.1.2 dst-port=80
- add action=deny redirect-to=192.168.1.2/expired.html src-address=\
- 192.168.30.0/24
- /ip route
- add distance=1 gateway=202.134.1.10 routing-mark=via_browsing scope=10
- add comment="route game" distance=1 gateway=192.168.99.1 routing-mark=\
- game_route
- add comment=DNS4Free distance=1 gateway=172.31.255.254 routing-mark=DNS4Free
- add distance=1 gateway=202.134.1.10 scope=10
- add comment="use tv" distance=1 dst-address=10.0.0.0/8 gateway=10.116.32.1
- add comment=link distance=1 dst-address=192.168.7.0/24 gateway=192.168.99.1
- add check-gateway=ping distance=1 dst-address=202.134.1.10/32 gateway=\
- 192.168.99.1 scope=10
- /ip route rule
- add comment=DNS4Free dst-address=103.80.80.243/32 table=DNS4Free
- add comment=DNS4Free dst-address=103.80.80.244/32 table=DNS4Free
- add comment=DNS4Free dst-address=103.80.80.248/32 table=DNS4Free
- add comment=DNS4Free dst-address=103.80.80.249/32 table=DNS4Free
- add comment=DNS4Free dst-address=208.67.220.220/32 table=DNS4Free
- add comment=DNS4Free dst-address=208.67.222.222/32 table=DNS4Free
- /ip service
- set telnet disabled=yes
- set ftp disabled=yes
- set www port=6667
- set ssh disabled=yes
- /radius
- add address=192.168.99.1 secret=12345 service=hotspot
- /routing igmp-proxy
- set query-response-interval=1m40s quick-leave=yes
- /routing igmp-proxy interface
- add alternative-subnets=0.0.0.0/0 interface=UsetTv upstream=yes
- add interface=To-STB
- add interface=Hotspot
- /system clock
- set time-zone-autodetect=no time-zone-name=Asia/Makassar
- /system identity
- set name=Cafe
- /system ntp client
- set enabled=yes primary-ntp=202.162.32.12 secondary-ntp=203.114.224.31
- /system scheduler
- add interval=10m name="kick non login" on-event="/ip hotspot host remove [find\
- \_where !authorized !bypassed]\r\
- \n/ip hotspot host remove [find where !authorized !bypassed]" policy=\
- ftp,reboot,read,write,policy,test,password,sniff,sensitive,romon \
- start-date=feb/24/2018 start-time=00:00:00
- add interval=5m name=limitdata on-event="#Set your dowload limit in MegaBYTES!\
- \r\
- \n:local downloadlimitmb \"50\"\r\
- \n\r\
- \n### You will not need to edit anything below this line ###\r\
- \n:local downloadlimit [(\$downloadlimitmb * 1048576)]\r\
- \n:local counter\r\
- \n:local datadown\r\
- \n:local username\r\
- \n:local macaddress\r\
- \n:foreach counter in=[/ip hotspot active find where user~\"^[T][-].{17}\"\
- ] do={\r\
- \n:set datadown [/ip hotspot active get \$counter bytes-out]\r\
- \n:if (\$datadown>\$downloadlimit) do={\r\
- \n:set username [/ip hotspot active get \$counter user]\r\
- \n:set macaddress [/ip hotspot active get \$counter mac-address]\r\
- \n/ip hotspot user remove [/ip hotspot user find where name=\$username pro\
- file=FreeUser]\r\
- \n/ip hotspot user add name=\$username limit-bytes-out=\$downloadlimit mac\
- -address=\$macaddress profile=FreeUser\r\
- \n/ip hotspot active remove \$counter\r\
- \n:log info \"Force logout on user: \$username - Reached download quota\"\
- \r\
- \n}}" policy=\
- ftp,reboot,read,write,policy,test,password,sniff,sensitive,romon \
- start-date=feb/28/2018 start-time=00:00:00
- add interval=5d name=clearusers on-event=":log info \"Checking Users\"\r\
- \n:local counter\r\
- \n\r\
- \n:foreach counter in=[/ip hotspot user find profile=\"FreeUser\" ] do={\r\
- \n/ip hotspot user remove \$counter\r\
- \n}" policy=\
- ftp,reboot,read,write,policy,test,password,sniff,sensitive,romon \
- start-date=feb/28/2018 start-time=00:00:01
- add interval=1d name=reboot on-event="/system reboot" policy=\
- ftp,reboot,read,write,policy,test,password,sniff,sensitive,romon \
- start-date=mar/02/2018 start-time=05:59:59
- add interval=4w3d name=kfl on-event="/ip hotspot user disable [find name=kfl]\
- \r\
- \n/ip hotspot active remove [find user=kfl]\r\
- \n/system schedule remove [find name=kfl]\r\
- \n/system schedule remove [find name=kfl]\r\
- \n/ip hotspot cookie remove [find user=kfl]" policy=\
- ftp,reboot,read,write,policy,test,password,sniff,sensitive,romon \
- start-date=mar/19/2018 start-time=09:31:04
- add interval=23h59m name="kick warnet 24 jam" on-event=\
- "/ip hotspot active remove [find user=warnet]" policy=\
- ftp,reboot,read,write,policy,test,password,sniff,sensitive,romon \
- start-date=mar/21/2018 start-time=00:00:00
- add interval=5d name=Backup_Mikrotik on-event=":log info \"Backup konfigurasi \
- Mikrotik dimulai . . .\"\r\
- \n:global backupfile configbackup\r\
- \n:global mikrotikexport exportbackup\r\
- \n \r\
- \n:log info \"Menghapus file backup lama jika ada,.Jika tidak, abaikan. La\
- njutkan proses berikutnya . . .\"\r\
- \n \r\
- \n/system backup save name=\$backupfile\r\
- \n/export file=\$mikrotikexport\r\
- \n \r\
- \n:log info \"Mulai proses backup . . .\"\r\
- \n:delay 20s\r\
- \n:log info \"Mulai mengirim file backup lewat email . . .\"\r\
- \n \r\
- \n/tool e-mail send to=\"supriyadiwaropen@gmail.com\" password=a1b2c3kafil\
- ah subject=([/system clock get date] . \\\r\
- \n\"-Mikrotik Config Backup\") from=backuphotspotaisyah@gmail.com file=\$b\
- ackupfile server=74.125.130.108 start-tls=yes\r\
- \n \r\
- \n/tool e-mail send to=\"supriyadiwaropen@gmail.com\" password=a1b2c3kafil\
- ah subject=([/system clock get date] . \\\r\
- \n\"-Mikrotik Export Backup\") from=backuphotspotaisyah@gmail.com file=\$m\
- ikrotikexport server=74.125.130.108 start-tls=yes\r\
- \n \r\
- \n:delay 40s\r\
- \n:log info \"Proses Backup dan pengiriman lewat email Selesai.\"\r\
- \n:log info \"Menghapus Backup File. Semuanya Selesai. (hotspotaisyah.net)\
- \"\r\
- \n/file remove \$backupfile\r\
- \n/file remove \$mikrotikexport" policy=\
- ftp,reboot,read,write,policy,test,password,sniff,sensitive,romon \
- start-date=mar/22/2018 start-time=00:00:01
- add interval=1w name=jef on-event="/ip hotspot user disable [find name=jef]\r\
- \n/ip hotspot active remove [find user=jef]\r\
- \n/system schedule remove [find name=jef]\r\
- \n/system schedule remove [find name=jef]\r\
- \n/ip hotspot cookie remove [find user=jef]" policy=\
- ftp,reboot,read,write,policy,test,password,sniff,sensitive,romon \
- start-date=mar/23/2018 start-time=18:46:59
- add interval=1d name=reset-counter-sepon on-event=\
- "/ip hotspot user reset-counter [find name=sepon]" policy=\
- ftp,reboot,read,write,policy,test,password,sniff,sensitive,romon \
- start-date=mar/25/2018 start-time=00:00:01
- add interval=52w1d name=sepon on-event="/ip hotspot user remove [find name=sep\
- on]\r\
- \n/ip hotspot active remove [find user=sepon]\r\
- \n/system schedule remove [find name=reset-counter-sepon]\r\
- \n/system schedule remove [find name=sepon]" policy=\
- ftp,reboot,read,write,policy,test,password,sniff,sensitive,romon \
- start-date=mar/25/2018 start-time=07:28:50
- add interval=1d name=Backup_Userman on-event="#----deklarasi variable---------\
- --------------\r\
- \n#:local ts [/system clock get time]\r\
- \n#:set ts ([:pick \$ts 0 0].[:pick \$ts 3 5].[:pick \$ts 6 8])\r\
- \n:local ds [/system clock get date]\r\
- \n:set ds ([:pick \$ds 7 11].[:pick \$ds 0 3].[:pick \$ds 4 6])\r\
- \n:local identitasRouter [/system identity get name];\r\
- \n:local emailTujuan [/tool e-mail get from];\r\
- \n:local seriMikrotik [/system resource get board-name];\r\
- \n#--------------------------------------\r\
- \n#-----Backup usermanager mikrotik---------------\r\
- \n:local usermanBackup (\$identitasRouter.\$seriMikrotik.\"-userman-\".\$d\
- s.\".umb\")\r\
- \n/tool user-manager database save name=\$usermanBackup;\r\
- \n#-----Mengirim email-------------------\r\
- \n:delay 20s\r\
- \n:log info \"Sedang mengirim email, silahkan tunggu beberapa detik...\"\r\
- \n\r\
- \n/tool e-mail send to=\"hotspottoraja@gmail.com\" password=a1b2c3kafilah \
- subject=([/system clock get date] . \\\r\
- \n\"-usermanBackup\") from=backuphotspotaisyah@gmail.com file=\$usermanBac\
- kup server=74.125.130.108 start-tls=yes\r\
- \n:log info \"Email sudah terkirim...\"\r\
- \n#--------------------------------------\r\
- \n#-----menghapus -----------------------\r\
- \n:delay 40s\r\
- \n:log info \"Proses Backup dan pengiriman lewat email Selesai.\"\r\
- \n:log info \"Menghapus Backup File. Semuanya Selesai. (hotspotaisyah.net)\
- \"\r\
- \n/file remove \$usermanBackup" policy=\
- ftp,reboot,read,write,policy,test,password,sniff,sensitive,romon \
- start-date=mar/24/2018 start-time=00:00:01
- add interval=20m name="anti netcut" on-event="source=\":local hosts [/ip dhcp-\
- server lease find]\\r\\\r\
- \n \\n:local pcname \\\"X\\\"\\r\\\r\
- \n \\n:local pcnum 0\\r\\\r\
- \n \\n:global hacklist \\\"\\\"\\r\\\r\
- \n \\n:foreach h in \\\$hosts do={\\r\\\r\
- \n \\n:local host [/ip dhcp-server lease get \\\$h host-name]\\r\\\r\
- \n \\n:if ([:len \\\$host] >0) do {\\r\\\r\
- \n \\n:set pcname (\\\$pcname . \\\",\\\" . \\\$host)\\r\\\r\
- \n \\n:set pcnum (\\\$pcnum + 1)\\r\\\r\
- \n \\n}\\r\\\r\
- \n \\n}\\r\\\r\
- \n \\n:foreach h in \\\$pcname do={\\r\\\r\
- \n \\n:local hh 0\\r\\\r\
- \n \\n:if (!([:find \\\$hacklist \\\$h]>=0)) do={\\r\\\r\
- \n \\n:foreach k in \\\$pcname do={ :if (\\\$k=\\\$h) do={:set hh (\\\$\
- hh + 1) } }\\r\\\r\
- \n \\n:if (\\\$hh>2) do={\\r\\\r\
- \n \\n:if ([:len \\\$hacklist] >0) do {:set hacklist (\\\$hacklist . \\\
- \",\\\" . \\\$h)}\\\r\
- \n \\_else={:set hacklist \\\$h}\\r\\\r\
- \n \\n}\\r\\\r\
- \n \\n}\\r\\\r\
- \n \\n}\\r\\\r\
- \n \\n:local timer [:pick [/system clock get time] 3 5]\\r\\\r\
- \n \\n:if ((\\\$switch > 0) || (\\\$timer >= \\\"58\\\")) do={\\r\\\r\
- \n \\n:log warning (\\\"New Hacklist: \\\" . \\\$hacklist)\"" policy=\
- ftp,reboot,read,write,policy,test,password,sniff,sensitive,romon \
- start-date=mar/24/2018 start-time=00:00:00
- add interval=4w3d name=wawan on-event="/ip hotspot user disable [find name=waw\
- an]\r\
- \n/ip hotspot active remove [find user=wawan]\r\
- \n/system schedule remove [find name=wawan]\r\
- \n/system schedule remove [find name=wawan]\r\
- \n/ip hotspot cookie remove [find user=wawan]" policy=\
- ftp,reboot,read,write,policy,test,password,sniff,sensitive,romon \
- start-date=mar/21/2018 start-time=19:37:56
- add interval=6h name="kick sepon" on-event=\
- "/ip hotspot active remove [find user=sepon]" policy=\
- ftp,reboot,read,write,policy,test,password,sniff,sensitive,romon \
- start-date=mar/25/2018 start-time=00:00:00
- add interval=4w3d name="Paket Antena 1 Mbs" on-event="ip hotspot user set prof\
- ile=\"Paket-Antena-1-Mbs\" [/ip hotspot user find profile=\"qouta_habis_1M\
- bs\"]" policy=\
- ftp,reboot,read,write,policy,test,password,sniff,sensitive,romon \
- start-date=mar/01/2018 start-time=00:00:01
- add interval=4w3d name=Paket-Antena-2-Mbs on-event="ip hotspot user set profil\
- e=\"Paket-Antena-2-Mbs\" [/ip hotspot user find profile=\"qouta_habis_2Mbs\
- \"]" policy=\
- ftp,reboot,read,write,policy,test,password,sniff,sensitive,romon \
- start-date=mar/01/2018 start-time=00:00:01
- add interval=4w3d name="Paket-Antena-1-Mbs_reset Counter" on-event=\
- "ip hotspot user reset-counter [find profile=\"Paket-Antena-1-Mbs\"]" \
- policy=ftp,reboot,read,write,policy,test,password,sniff,sensitive,romon \
- start-date=mar/01/2018 start-time=00:03:00
- add interval=4w3d name="Paket-Antena-2-Mbs_reset Counter" on-event=\
- "ip hotspot user reset-counter [find profile=\"Paket-Antena-2-Mbs\"]" \
- policy=ftp,reboot,read,write,policy,test,password,sniff,sensitive,romon \
- start-date=mar/01/2018 start-time=00:03:00
- add interval=4w3d name=erik on-event="/ip hotspot user disable [find name=erik\
- ]\r\
- \n/ip hotspot active remove [find user=erik]\r\
- \n/system schedule remove [find name=erik]\r\
- \n/system schedule remove [find name=erik]\r\
- \n/ip hotspot cookie remove [find user=erik]" policy=\
- ftp,reboot,read,write,policy,test,password,sniff,sensitive,romon \
- start-date=mar/20/2018 start-time=08:37:24
- add interval=1d name="set free user ke expired" on-event="ip hotspot user set \
- profile=\"expired\" [/ip hotspot user find profile=\"FreeUser\"]" policy=\
- ftp,reboot,read,write,policy,test,password,sniff,sensitive,romon \
- start-date=mar/25/2018 start-time=00:00:01
- add interval=1w name="clearusers expired" on-event=":log info \"Checking Users\
- \"\r\
- \n:local counter\r\
- \n\r\
- \n:foreach counter in=[/ip hotspot user find profile=\"expired\" ] do={\r\
- \n/ip hotspot user remove \$counter\r\
- \n}" policy=\
- ftp,reboot,read,write,policy,test,password,sniff,sensitive,romon \
- start-date=mar/25/2018 start-time=00:00:01
- add interval=2d name="pagi 08.00" on-event="tampilan fitur" policy=\
- ftp,reboot,read,write,policy,test,password,sniff,sensitive,romon \
- start-date=mar/25/2018 start-time=08:00:00
- add interval=2d name="pagi 08.05" on-event="tampilan hotspot" policy=\
- ftp,reboot,read,write,policy,test,password,sniff,sensitive,romon \
- start-date=mar/25/2018 start-time=08:05:00
- add interval=2d name="siang 02.00" on-event="tampilan fitur" policy=\
- ftp,reboot,read,write,policy,test,password,sniff,sensitive,romon \
- start-date=mar/25/2018 start-time=14:00:00
- add interval=2d name="siang 02.05" on-event="tampilan hotspot" policy=\
- ftp,reboot,read,write,policy,test,password,sniff,sensitive,romon \
- start-date=mar/25/2018 start-time=14:05:00
- add interval=1d name="malam 20.00" on-event="tampilan fitur" policy=\
- ftp,reboot,read,write,policy,test,password,sniff,sensitive,romon \
- start-date=mar/25/2018 start-time=20:00:00
- add interval=1d name="malam 20.10" on-event="tampilan hotspot" policy=\
- ftp,reboot,read,write,policy,test,password,sniff,sensitive,romon \
- start-date=mar/25/2018 start-time=20:10:00
- add interval=4w3d name=9C:B7:0D:85:73:0E on-event="/ip hotspot user disable [f\
- ind name=9C:B7:0D:85:73:0E]\r\
- \n/ip hotspot active remove [find user=9C:B7:0D:85:73:0E]\r\
- \n/system schedule remove [find name=9C:B7:0D:85:73:0E]\r\
- \n/system schedule remove [find name=9C:B7:0D:85:73:0E]\r\
- \n/ip hotspot cookie remove [find user=9C:B7:0D:85:73:0E]" policy=\
- ftp,reboot,read,write,policy,test,password,sniff,sensitive,romon \
- start-date=mar/26/2018 start-time=17:10:01
- add interval=4w3d name=key89 on-event="/ip hotspot user disable [find name=key\
- 89]\r\
- \n/ip hotspot active remove [find user=key89]\r\
- \n/system schedule remove [find name=key89]\r\
- \n/system schedule remove [find name=key89]\r\
- \n/ip hotspot cookie remove [find user=key89]" policy=\
- ftp,reboot,read,write,policy,test,password,sniff,sensitive,romon \
- start-date=mar/26/2018 start-time=17:21:50
- add interval=4w3d name=Paket-Antena-1-Mbs_Key on-event="ip hotspot user set pr\
- ofile=\"Paket-Antena-1-Mbs_Key\" [/ip hotspot user find profile=\"qouta_ha\
- bis_1Mbs_key\"]" policy=\
- ftp,reboot,read,write,policy,test,password,sniff,sensitive,romon \
- start-date=mar/01/2018 start-time=00:00:01
- add interval=4w3d name="Paket-Antena-1-Mbs_reset Counter_key" on-event=\
- "ip hotspot user reset-counter [find profile=\"Paket-Antena-1-Mbs_Key\"]" \
- policy=ftp,reboot,read,write,policy,test,password,sniff,sensitive,romon \
- start-date=mar/01/2018 start-time=00:03:00
- add interval=2d name=8mar387 on-event="/ip hotspot user remove [find name=8mar\
- 387]\r\
- \n/ip hotspot active remove [find user=8mar387]\r\
- \n/system schedule remove [find name=8mar387]\r\
- \n/ip hotspot cookie remove [find user=8mar387]" policy=\
- ftp,reboot,read,write,policy,test,password,sniff,sensitive,romon \
- start-date=mar/26/2018 start-time=18:39:23
- add interval=4w3d name="userman paket bulanan 1Mbs reset counter" on-event=\
- "ip hotspot user reset-counter [find profile=\"qouta_habis\"]" policy=\
- ftp,reboot,read,write,policy,test,password,sniff,sensitive,romon \
- start-date=mar/01/2018 start-time=00:03:00
- add interval=4w3d name="userman paket bulanan 2Mbs reset counter" on-event="ip\
- \_hotspot user reset-counter [find profile=\"qouta_habis_userman_paket_bul\
- anan_2Mbs\"]" policy=\
- ftp,reboot,read,write,policy,test,password,sniff,sensitive,romon \
- start-date=mar/01/2018 start-time=00:03:00
- add interval=4w3d name=C8:3A:35:78:57:60 on-event="/ip hotspot user disable [f\
- ind name=C8:3A:35:78:57:60]\r\
- \n/ip hotspot active remove [find user=C8:3A:35:78:57:60]\r\
- \n/system schedule remove [find name=C8:3A:35:78:57:60]\r\
- \n/system schedule remove [find name=C8:3A:35:78:57:60]\r\
- \n/ip hotspot cookie remove [find user=C8:3A:35:78:57:60]" policy=\
- ftp,reboot,read,write,policy,test,password,sniff,sensitive,romon \
- start-date=mar/26/2018 start-time=21:36:19
- add interval=2d name="dini hari 01.00" on-event="tampilan fitur" policy=\
- ftp,reboot,read,write,policy,test,password,sniff,sensitive,romon \
- start-date=mar/25/2018 start-time=01:00:00
- add interval=2d name="dini hari 03.00" on-event="tampilan hotspot" policy=\
- ftp,reboot,read,write,policy,test,password,sniff,sensitive,romon \
- start-date=mar/25/2018 start-time=03:10:00
- /system script
- add name=Backup_Mikrotik owner=aisyah policy=\
- ftp,reboot,read,write,policy,test,password,sniff,sensitive,romon source=":\
- log info \"Backup konfigurasi Mikrotik dimulai . . .\"\r\
- \n:global backupfile configbackup\r\
- \n:global mikrotikexport exportbackup\r\
- \n \r\
- \n:log info \"Menghapus file backup lama jika ada,.Jika tidak, abaikan. La\
- njutkan proses berikutnya . . .\"\r\
- \n \r\
- \n/system backup save name=\$backupfile\r\
- \n/export file=\$mikrotikexport\r\
- \n \r\
- \n:log info \"Mulai proses backup . . .\"\r\
- \n:delay 20s\r\
- \n:log info \"Mulai mengirim file backup lewat email . . .\"\r\
- \n \r\
- \n/tool e-mail send to=\"supriyadiwaropen@gmail.com\" password=a1b2c3kafil\
- ah subject=([/system clock get date] . \\\r\
- \n\"-Mikrotik Config Backup\") from=backuphotspotaisyah@gmail.com file=\$b\
- ackupfile server=74.125.130.108 start-tls=yes\r\
- \n \r\
- \n/tool e-mail send to=\"supriyadiwaropen@gmail.com\" password=a1b2c3kafil\
- ah subject=([/system clock get date] . \\\r\
- \n\"-Mikrotik Export Backup\") from=backuphotspotaisyah@gmail.com file=\$m\
- ikrotikexport server=74.125.130.108 start-tls=yes\r\
- \n \r\
- \n:delay 40s\r\
- \n:log info \"Proses Backup dan pengiriman lewat email Selesai.\"\r\
- \n:log info \"Menghapus Backup File. Semuanya Selesai. (hotspotaisyah.net)\
- \"\r\
- \n/file remove \$backupfile\r\
- \n/file remove \$mikrotikexport"
- add name=xx owner=aisyah policy=\
- ftp,reboot,read,write,policy,test,password,sniff,sensitive,romon source="i\
- p hotspot user set profile=\"xx\" [/ip hotspot user find profile=\"qouta_h\
- abis\"]"
- add name="xxxx reset counter" owner=aisyah policy=\
- ftp,reboot,read,write,policy,test,password,sniff,sensitive,romon source=\
- "ip hotspot user reset-counter [find profile=\"xx\"]"
- add name="tampilan fitur" owner=aisyah policy=\
- ftp,reboot,read,write,policy,test,password,sniff,sensitive,romon source=\
- "/ip hotspot profile set 1 html-directory=\"Fitur\""
- add name="tampilan hotspot" owner=aisyah policy=\
- ftp,reboot,read,write,policy,test,password,sniff,sensitive,romon source=\
- "/ip hotspot profile set 1 html-directory=\"hotspot\""
- /tool e-mail
- set address=74.125.130.108 from=supriyadiwaropen@gmail.com password=\
- a1b2c3kafilah port=587 start-tls=yes user=backuphotspotaisyah@gmail.com
- /tool netwatch
- add disabled=yes down-script=":log info \"Down Axarva Media Teknologi\"" \
- host=43.245.186.218 interval=10s timeout=300ms up-script=\
- ":log info \"Up Axarva Media Teknologi\""
- add comment="queue tree down" down-script=\
- "/queue tree set \"1. Download\" max-limit=4000k" host=172.16.16.19 \
- up-script="/queue tree set \"1. Download\" max-limit=17M"
- add down-script="/queue tree set \"5. Download Traffic\" max-limit=3M" host=\
- 172.16.16.19 up-script=\
- "/queue tree set \"5. Download Traffic\" max-limit=12M"
- add down-script="/queue tree set \"2. Upload\" max-limit=512k" host=\
- 172.16.16.19 up-script="/queue tree set \"2. Upload\" max-limit=1M"
- add down-script="/queue tree set \"5. Upload Traffic\" max-limit=384k" host=\
- 172.16.16.19 up-script=\
- "/queue tree set \"5. Upload Traffic\" max-limit=512k"
- add down-script="ip hotspot user disable [find name=sepon]" host=172.16.16.53 \
- up-script="ip hotspot user enable [find name=sepon]"
- add down-script="/ip firewall mangle disable [find comment=squid3]" host=\
- 192.168.3.2 interval=10s up-script=\
- "/ip firewall mangle enable [find comment=squid3]"
- add comment="kick jika internet down" disabled=yes down-script=":local dumplis\
- t [/ip hotspot active find]\r\
- \n:foreach i in=\$dumplist do={\r\
- \n /ip hotspot active remove \$i\r\
- \n}\r\
- \n:local dumplist [/ip hotspot cookie find]\r\
- \n:foreach i in=\$dumplist do={\r\
- \n /ip hotspot cookie remove \$i\r\
- \n}" host=8.8.8.8 interval=5m timeout=10s
- add comment="Info login down" down-script=\
- "/ip hotspot profile set 1 html-directory=\"aisyah\"" host=8.8.8.8 \
- up-script="/ip hotspot profile set 1 html-directory=\"hotspot\""
- add comment="Ap Utama" down-script="/tool fetch url=\"https://api.telegram.org\
- /bot492969668:AAER40y5KC3a6q1oGRIscW2WkJ9u8DaiSCY/sendMessage\?chat_id=458\
- 752171&text=Ap Utamat Down\" keep-result=no" host=172.16.16.17 interval=\
- 10s timeout=100ms up-script="/tool fetch url=\"https://api.telegram.org/bo\
- t492969668:AAER40y5KC3a6q1oGRIscW2WkJ9u8DaiSCY/sendMessage\?chat_id=458752\
- 171&text=AP Utama UP\" keep-result=no"
- add comment=Station down-script="/tool fetch url=\"https://api.telegram.org/bo\
- t492969668:AAER40y5KC3a6q1oGRIscW2WkJ9u8DaiSCY/sendMessage\?chat_id=458752\
- 171&text=Station Sepont Down\" keep-result=no" host=172.16.16.201 \
- up-script="/tool fetch url=\"https://api.telegram.org/bot492969668:AAER40y\
- 5KC3a6q1oGRIscW2WkJ9u8DaiSCY/sendMessage\?chat_id=458752171&text=Station S\
- epon UP\" keep-result=no"
- add comment=Station down-script="/tool fetch url=\"https://api.telegram.org/bo\
- t492969668:AAER40y5KC3a6q1oGRIscW2WkJ9u8DaiSCY/sendMessage\?chat_id=458752\
- 171&text=Station Anton Down\" keep-result=no" host=172.16.16.202 \
- up-script="/tool fetch url=\"https://api.telegram.org/bot492969668:AAER40y\
- 5KC3a6q1oGRIscW2WkJ9u8DaiSCY/sendMessage\?chat_id=458752171&text=Station A\
- nton UP\" keep-result=no"
- add comment=Station down-script="/tool fetch url=\"https://api.telegram.org/bo\
- t492969668:AAER40y5KC3a6q1oGRIscW2WkJ9u8DaiSCY/sendMessage\?chat_id=458752\
- 171&text=Station Tallo Down\" keep-result=no" host=172.16.16.203 \
- up-script="/tool fetch url=\"https://api.telegram.org/bot492969668:AAER40y\
- 5KC3a6q1oGRIscW2WkJ9u8DaiSCY/sendMessage\?chat_id=458752171&text=Station T\
- allo UP\" keep-result=no"
- add comment="Ap Utama 3" down-script="/tool fetch url=\"https://api.telegram.o\
- rg/bot492969668:AAER40y5KC3a6q1oGRIscW2WkJ9u8DaiSCY/sendMessage\?chat_id=4\
- 58752171&text=Ap Utamat 3 Down\" keep-result=no" host=172.16.16.19 \
- interval=10s timeout=100ms up-script="/tool fetch url=\"https://api.telegr\
- am.org/bot492969668:AAER40y5KC3a6q1oGRIscW2WkJ9u8DaiSCY/sendMessage\?chat_\
- id=458752171&text=AP Utama 3 UP\" keep-result=no"
- add comment="Ap Utama" down-script="/tool fetch url=\"https://api.telegram.org\
- /bot492969668:AAER40y5KC3a6q1oGRIscW2WkJ9u8DaiSCY/sendMessage\?chat_id=458\
- 752171&text=Ap Utamat AirmaxDown\" keep-result=no" host=172.16.16.16 \
- interval=10s timeout=100ms up-script="/tool fetch url=\"https://api.telegr\
- am.org/bot492969668:AAER40y5KC3a6q1oGRIscW2WkJ9u8DaiSCY/sendMessage\?chat_\
- id=458752171&text=AP Utama Airmax\" keep-result=no"
- add comment="di sable user sepon" down-script=\
- "ip hotspot user disable [find name=sepon]" host=172.16.16.201 up-script=\
- "ip hotspot user enable [find name=sepon]"
- add comment="remove use sepon" down-script=\
- "/ip hotspot active remove [find user=sepon]" host=172.16.16.201
- add comment="Ap sepon log" down-script=Jablay-koneksi host=172.16.16.201 \
- timeout=300ms up-script=":log info \"Up Sepon\""
- add comment="Ap Anton log" down-script=Jablay-koneksi host=172.16.16.202 \
- timeout=300ms up-script=":log info \"Up Anton\""
- add comment="Ap Tallo log" down-script=Jablay-koneksi host=172.16.16.203 \
- timeout=300ms up-script=":log info \"Up Tallo\""
- add comment="Dns Log" down-script=":log info \"Down dns indonusa\"" host=\
- 202.93.142.10 interval=10s timeout=100ms up-script=\
- ":log info \"Up dns indonusa\""
- add comment="Ping Repeter key" down-script=":log info \"Down Repeter key\"" \
- host=172.16.16.54 up-script=":log info \"Up Repeter key\""
- add comment="Dns Telegram" down-script="/tool fetch url=\"https://api.telegram\
- .org/bot492969668:AAER40y5KC3a6q1oGRIscW2WkJ9u8DaiSCY/sendMessage\?chat_id\
- =458752171&text=Dns Down\" keep-result=no" host=8.8.8.8 up-script="/tool f\
- etch url=\"https://api.telegram.org/bot492969668:AAER40y5KC3a6q1oGRIscW2Wk\
- J9u8DaiSCY/sendMessage\?chat_id=458752171&text=Dns UP\" keep-result=no"
- add comment="Dns Log Google" down-script=":log info \"Down dns google\"" \
- host=8.8.8.8 interval=10s timeout=100ms up-script=\
- ":log info \"Up dns google\""
- add comment="repeter boy" down-script="/tool fetch url=\"https://api.telegram.\
- org/bot492969668:AAER40y5KC3a6q1oGRIscW2WkJ9u8DaiSCY/sendMessage\?chat_id=\
- 458752171&text=Repeter boy Down\" keep-result=no" host=172.16.16.55 \
- up-script="/tool fetch url=\"https://api.telegram.org/bot492969668:AAER40y\
- 5KC3a6q1oGRIscW2WkJ9u8DaiSCY/sendMessage\?chat_id=458752171&text=Repeter b\
- oy UP\" keep-result=no"
- /tool romon
- set enabled=yes id=00:00:00:02:00:03 secrets=a1b2c3
Add Comment
Please, Sign In to add comment