Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # dec/01/2018 12:32:40 by RouterOS 6.42.9
- # software id = 3A03-EEAZ
- #
- # model = 450G
- # serial number = 2796016CE96C
- /interface ethernet
- set [ find default-name=ether4 ] name=Cctv
- set [ find default-name=ether2 ] arp=proxy-arp name=Hotspot
- set [ find default-name=ether3 ] name=Lan
- set [ find default-name=ether5 ] name=Modem_Browser
- set [ find default-name=ether1 ] name=Radio
- /interface pppoe-client
- add add-default-route=yes default-route-distance=2 disabled=no interface=\
- Radio keepalive-timeout=60 max-mru=1480 max-mtu=1480 name=pppoe-out1 \
- password=AEZKJI36QI user=172808211535@telkom.net
- /interface l2tp-client
- add connect-to=17qls3pa.v.zenvpn.net disabled=no name=l2tp-out1 password=\
- SMhnoL63 user=Hky3rl0m
- /interface list
- add exclude=dynamic name=discover
- /interface wireless security-profiles
- set [ find default=yes ] supplicant-identity=MikroTik
- /ip firewall layer7-protocol
- add name=video_fb regexp="video-sin[0-9]+-[0-9]+\\.[a-z]+\\.fbcdn\\.net"
- /ip pool
- add name=expired-pppoe ranges=192.168.168.9,192.168.168.10-192.168.168.20
- add name=ppp-remot ranges=10.10.99.20-10.10.99.254
- add name=bulanan ranges=192.168.73.150,192.168.73.151-192.168.73.254
- add name=Key ranges=192.168.73.5,192.168.73.7
- add name=ppoe_hotspot ranges=192.168.73.10,192.168.73.11-192.168.73.50
- add name=hotspot ranges=192.168.99.50,192.168.99.51-192.168.99.254
- add name=expired ranges=192.168.168.51,192.168.168.52-192.168.168.254
- add name=Cctv ranges=172.191.191.3,172.191.191.4-172.191.191.254
- /ip dhcp-server
- add add-arp=yes address-pool=hotspot disabled=no interface=Hotspot \
- lease-time=3h name=dhcp1
- add address-pool=Cctv disabled=no interface=Cctv lease-time=1d10m name=Cctv
- /ppp profile
- add local-address=10.10.99.1 name=vpn_remot remote-address=ppp-remot
- /queue simple
- add max-limit=5M/30M name="0. HIT PROXY" packet-marks=HIT priority=1/1 \
- target=""
- add max-limit=5M/27M name="1. Global" packet-marks=\
- icmp_pkt,Game_pkt,up_pkt,down_pkt,ggc_pkt target=192.168.0.0/16
- add max-limit=512k/1M name="0. ICMP" packet-marks=icmp_pkt parent="1. Global" \
- priority=1/1 target=192.168.0.0/16,172.16.0.0/12
- add limit-at=128k/1M max-limit=3M/5M name="1. Game" packet-marks=Game_pkt \
- parent="1. Global" priority=1/1 target=192.168.0.0/16
- /queue type
- add kind=pcq name=Download pcq-classifier=dst-address pcq-rate=256k
- add kind=pcq name=Http pcq-classifier=dst-address pcq-rate=1M
- add kind=pcq name=Game pcq-classifier=\
- src-address,dst-address,src-port,dst-port
- add kind=pcq name=Upload pcq-classifier=src-address
- add kind=pcq name=PCQ_Limit_Video pcq-classifier=dst-address pcq-rate=64k
- 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
- add kind=pcq name="2 Mbs-down_pcq" pcq-classifier=dst-address \
- pcq-dst-address6-mask=64 pcq-rate=2M pcq-src-address6-mask=64
- add kind=pcq name=512k-up_pcq pcq-classifier=src-address \
- pcq-dst-address6-mask=64 pcq-rate=512k pcq-src-address6-mask=64
- /queue simple
- add max-limit=4M/25M name="3. Download / Upload" packet-marks=\
- up_pkt,down_pkt,ggc_pkt parent="1. Global" queue=up_pcq/down_pcq target=\
- 192.168.0.0/16
- add limit-at=64/64 max-limit=2M/21M name="1. Warnet" parent=\
- "3. Download / Upload" target=192.168.7.0/24
- add max-limit=1M/17M name="0. Billing" parent="1. Warnet" target=\
- 192.168.7.10/32
- add burst-limit=0/5M burst-threshold=0/2M burst-time=0s/5s max-limit=\
- 384k/768k name="1. PC-Client" parent="1. Warnet" target=192.168.7.21/32
- add burst-limit=0/5M burst-threshold=0/2M burst-time=0s/5s max-limit=\
- 384k/768k name="2. PC-Client" parent="1. Warnet" target=192.168.7.22/32
- add burst-limit=0/5M burst-threshold=0/2M burst-time=0s/5s max-limit=\
- 384k/768k name="3. PC-Client" parent="1. Warnet" target=192.168.7.23/32
- add burst-limit=0/10M burst-threshold=0/2M burst-time=0s/5s max-limit=\
- 384k/768k name="4. PC-Client" parent="1. Warnet" target=192.168.7.24/32
- add burst-limit=0/10M burst-threshold=0/2M burst-time=0s/5s max-limit=\
- 384k/768k name="5. PC-Client" parent="1. Warnet" target=192.168.7.25/32
- add burst-limit=0/5M burst-threshold=0/2M burst-time=0s/5s max-limit=\
- 384k/768k name="10. PC-Client" parent="1. Warnet" target=192.168.7.30/32
- add burst-limit=0/5M burst-threshold=0/2M burst-time=0s/5s max-limit=\
- 384k/768k name="6. PC-Client" parent="1. Warnet" target=192.168.7.26/32
- add burst-limit=0/5M burst-threshold=0/2M burst-time=0s/5s max-limit=\
- 384k/768k name="7. PC-Client" parent="1. Warnet" target=192.168.7.27/32
- add burst-limit=0/5M burst-threshold=0/2M burst-time=0s/5s max-limit=\
- 384k/768k name="8. PC-Client" parent="1. Warnet" target=192.168.7.28/32
- add burst-limit=0/5M burst-threshold=0/2M burst-time=0s/5s max-limit=\
- 384k/768k name="9. PC-Client" parent="1. Warnet" target=192.168.7.29/32
- add limit-at=64/64 max-limit=3M/23M name="2. Hotspot" parent=\
- "3. Download / Upload" target=192.168.0.0/16
- add limit-at=64/64 max-limit=1M/7M name="1. bulanan" parent="2. Hotspot" \
- priority=3/3 target=192.168.73.0/24
- add limit-at=64/64 max-limit=3M/21M name="2. Vouceran" parent="2. Hotspot" \
- target=192.168.99.0/24
- add limit-at=64/64 max-limit=512k/1500k name="1. Key" parent="1. bulanan" \
- priority=1/1 queue=up_pcq/down_pcq target=\
- 192.168.73.5/32,192.168.73.7/32,192.168.73.8/32
- /ip hotspot user profile
- set [ find default=yes ] insert-queue-before="1. Warnet" parent-queue=\
- "2. Vouceran" shared-users=15
- add insert-queue-before="1. Warnet" name=userman-paket-4-jam parent-queue=\
- "2. Vouceran" rate-limit="512k/2048k 0/10m 0/5m 5 5 64/64"
- add insert-queue-before="1. Warnet" name=userman-paket-19-jam parent-queue=\
- "2. Vouceran" rate-limit="512k/2500k 0/10m 0/5m 5 5 64/64"
- add insert-queue-before="1. Warnet" keepalive-timeout=3m name=\
- "Paket bulanan 1Mbs MK" on-login="{\r\
- \n:local usernya \$user;:local userbh \$user;:local datetime [/system cloc\
- k get date];:local hari [:pick \$datetime 4 6];:local bulan [:pick \$datet\
- ime 0 3];:local tahun [:pick \$datetime 7 11];\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}\r\
- \n:if ([/system schedule find name=\$usernya]=\"\") do={\r\
- \n/system schedule add name=\$usernya interval=31d on-event=\"/ip hotspot \
- user set profile=expired [find name=\$usernya]\\r\\n/ip hotspot active rem\
- ove [find user=\$usernya]\\r\\n/system schedule remove [find name=\$userny\
- a]\\r\\n/system schedule remove [find name=\$usernya]\\r\\n/ip hotspot coo\
- kie 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="2. Vouceran" rate-limit=\
- "512k/1500k 0/0m 0/0m 5 5 64/64"
- add insert-queue-before="1. Warnet" keepalive-timeout=3m name=\
- "Paket bulanan 2Mbs MK" 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 set profile=expired [find name=\$usernya]\\r\\n/ip hotspot active rem\
- ove [find user=\$usernya]\\r\\n/system schedule remove [find name=\$userny\
- a]\\r\\n/system schedule remove [find name=\$usernya]\\r\\n/ip hotspot coo\
- kie 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_habis2Mbs\" [find\
- \_name=\$usernya]\r\
- \n}\r\
- \n}" parent-queue="2. Vouceran" rate-limit=\
- "512k/2048k 0/0m 0/0m 5 5 64/64"
- add add-mac-cookie=no address-pool=expired insert-queue-before="1. Warnet" \
- !mac-cookie-timeout name=expired parent-queue="2. Vouceran" rate-limit=\
- "128k/1m 0/7m 0/2m 8 8 64/64" shared-users=5
- add address-pool=bulanan insert-queue-before="1. Warnet" keepalive-timeout=3m \
- name=qouta_habis parent-queue="1. bulanan" rate-limit=\
- "384k/512k 0/1024k 0/768k 5 5 64/64"
- add address-pool=Key insert-queue-before="1. Warnet" keepalive-timeout=3m \
- 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=31d on-event=\"/ip hotspot \
- user set profile=expired [find name=\$usernya]\\r\\n/ip hotspot active rem\
- ove [find user=\$usernya]\\r\\n/system schedule remove [find name=\$userny\
- a]\\r\\n/system schedule remove [find name=\$usernya]\\r\\n/ip hotspot coo\
- kie 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_key\" \
- [find name=\$usernya]\r\
- \n}\r\
- \n}" parent-queue="1. Key" rate-limit="512k/1024k 0/0m 0/0m 5 5 64/64" \
- shared-users=3
- add address-pool=Key insert-queue-before="1. Warnet" keepalive-timeout=3m \
- name=qouta_habis_1Mbs_key parent-queue="1. Key" rate-limit=\
- "384k/512k 0/1024k 0/768k 5 5 64/64" shared-users=2
- add address-pool=bulanan insert-queue-before="1. Warnet" keepalive-timeout=3m \
- name=qouta_habis2Mbs parent-queue="1. bulanan" rate-limit=\
- "384k/768k 0/2m 0/1024k 5 5 64/64"
- add insert-queue-before="1. Warnet" name=userman-paket-1Mbs parent-queue=\
- "2. Vouceran" rate-limit="512k/512k 0/1024k 0/768k 5 5 64/64"
- add insert-queue-before="1. Warnet" keepalive-timeout=5m name=\
- userman-paket-2Mbs parent-queue="2. Vouceran" rate-limit=\
- "512k/768k 0/2m 0/1024k 5 5 64/64" status-autorefresh=3m
- add add-mac-cookie=no insert-queue-before="1. Warnet" keepalive-timeout=1h \
- !mac-cookie-timeout name=Warnet-free on-login="{\r\
- \n:local usernya \$user;\r\
- \n:if ([/ip hotspot user find name=\$usernya limit-uptime=1h]=\"\") do={/i\
- p hotspot user set [find name=\$usernya] limit-uptime=1h\r\
- \n}\r\
- \n:if ([/system schedule find name=\$usernya]=\"\") do={\r\
- \n/system schedule add name=\$usernya interval=20m on-event=\"/ip hotspot \
- active remove [find user=\$usernya]\\r\\n/system schedule remove [find nam\
- e=\$usernya]\\r\\n/ip hotspot cookie remove [find user=\$usernya]\"\r\
- \n}\r\
- \n}" on-logout="ip hotspot user reset-counter [find name=wrn525]" \
- parent-queue="2. Vouceran" rate-limit="128k/384k 0/10m 0/512k 5 5 64/64" \
- shared-users=5 status-autorefresh=3m
- add insert-queue-before="1. Warnet" name=userman-paket-Qouta parent-queue=\
- "2. Vouceran" rate-limit="512k/3m 0/10m 0/5m 5 5 64/64" shared-users=3
- add insert-queue-before="1. Warnet" mac-cookie-timeout=30m name=1G-reset1d \
- 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=1073741824]\
- =\"\") do={/ip hotspot user set [find name=\$usernya] limit-bytes-total=10\
- 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=1d on-event=\"/ip hotspot a\
- ctive remove [find user=\$usernya]\\r\\n/system schedule remove [find name\
- =\$resetnya]\\r\\n/system schedule remove [find name=\$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="2. Vouceran" \
- rate-limit="512k/2500k 0/10m 0/4m 5 5 64/64" shared-users=3
- add insert-queue-before="1. Warnet" name=PAKET-AQUA on-login="{:local userbh \
- \$user;:local datetime [/system clock get date];:local hari [:pick \$datet\
- ime 4 6];:local bulan [:pick \$datetime 0 3];:local tahun [:pick \$datetim\
- e 7 11];:if ([/system schedule find name=\$userbh]=\"\") do={/system sched\
- ule add name=\$userbh interval=3d on-event=\"/ip hotspot user set profile=\
- expired [find name=\$userbh]\\r\\n/ip hotspot active remove [find user=\$u\
- serbh]\\r\\n/ip hotspot cookie remove [find user=\$userbh]\\r\\n/system sc\
- hedule remove [find name=\$userbh]\"}}" parent-queue="2. Vouceran" \
- rate-limit="512k/5m 0/10m 0/7m 5 5 64/64"
- add insert-queue-before="1. Warnet" name=PAKET-NGOPI on-login="{:local userbh \
- \$user;:local datetime [/system clock get date];:local hari [:pick \$datet\
- ime 4 6];:local bulan [:pick \$datetime 0 3];:local tahun [:pick \$datetim\
- e 7 11];:local macbh \$\"mac-address\";/ip hotspot user set mac-address=\$\
- macbh [find where name=\$userbh];:if ([/system schedule find name=\$userbh\
- ]=\"\") do={/system schedule add name=\$userbh interval=1d on-event=\"/ip \
- hotspot user set profile=expired [find name=\$userbh] [find name=\$userbh]\
- \\r\\n/ip hotspot user remove [find name=\$userbh]\\r\\n/ip hotspot active\
- \_remove [find user=\$userbh]\\r\\n/ip hotspot cookie remove [find user=\$\
- userbh]\\r\\n/system schedule remove [find name=\$userbh]\"}}" \
- parent-queue="2. Vouceran" rate-limit="512k/5m 0/10m 0/7m 5 5 64/64"
- add insert-queue-before="1. Warnet" keepalive-timeout=3m name=\
- "Paket bulanan Qouta 8G MK" on-login="{\r\
- \n:local usernya \$user;\r\
- \n:if ([/ip hotspot user find name=\$usernya limit-bytes-total=8589934592]\
- =\"\") do={/ip hotspot user set [find name=\$usernya] limit-bytes-total=85\
- 89934592\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 set profile=expired [find name=\$usernya]\\r\\n/ip hotspot active rem\
- ove [find user=\$usernya]\\r\\n/system schedule remove [find name=\$userny\
- a]\\r\\n/system schedule remove [find name=\$usernya]\\r\\n/ip hotspot coo\
- kie remove [find user=\$usernya]\"\r\
- \n}\r\
- \n}" parent-queue="2. Vouceran" rate-limit="512k/3m 0/10m 0/5m 5 5 64/64" \
- shared-users=3 status-autorefresh=2m
- add insert-queue-before="1. Warnet" name=Kafilah-19Jam-MK on-login="{:local us\
- erbh \$user;:local datetime [/system clock get date];:local hari [:pick \$\
- datetime 4 6];:local bulan [:pick \$datetime 0 3];:local tahun [:pick \$da\
- tetime 7 11];:if ([/system schedule find name=\$userbh]=\"\") do={/system \
- schedule add name=\$userbh interval=14d on-event=\"/ip hotspot user set pr\
- ofile=expired [find name=\$userbh]\\r\\n/ip hotspot user disable [find nam\
- e=\$userbh]\\r\\n/ip hotspot active remove [find user=\$userbh]\\r\\n/ip h\
- otspot cookie remove [find user=\$userbh]\\r\\n/system schedule remove [fi\
- nd name=\$userbh]\"}}" parent-queue="2. Vouceran" rate-limit=\
- "512k/5m 0/10m 0/7m 5 5 64/64"
- add insert-queue-before="1. Warnet" keepalive-timeout=3m 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=31d on-event=\"/ip hotspot \
- user set profile=expired [find name=\$usernya]\\r\\n/ip hotspot active rem\
- ove [find user=\$usernya]\\r\\n/system schedule remove [find name=\$userny\
- a]\\r\\n/system schedule remove [find name=\$usernya]\\r\\n/ip hotspot coo\
- kie 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-Paket-Anten\
- a-1-Mbs\" [find name=\$usernya]\r\
- \n}\r\
- \n}" parent-queue="2. Vouceran" rate-limit=\
- "512k/1500k 0/0m 0/0m 5 5 64/64"
- add address-pool=bulanan insert-queue-before="1. Warnet" keepalive-timeout=5m \
- name=qouta_habis-Paket-Antena-1-Mbs parent-queue="1. bulanan" rate-limit=\
- "384k/512k 0/1024k 0/768k 5 5 64/64" status-autorefresh=3m
- add mac-cookie-timeout=1w name=KAFILAH on-login=":log warning (\"wellcome \$us\
- er ( \$address )\")\r\
- \n:if ( [ /ip hotspot user get \$user comment ] = \"\" ) do={\r\
- \n :local month\r\
- \n :local year\r\
- \n :local yeardiv\r\
- \n :local yearmult\r\
- \n :local leapyear\r\
- \n :local lastday\r\
- \n :local date [ /system clock get date ]\r\
- \n :local time [ /system clock get time ]\r\
- \n # ambil nama bulan dan tahun dari date\r\
- \n :set month [:pick \$date 0 3]\r\
- \n :set year [:pick \$date 7 11]\r\
- \n # check tahun kabisat atau bukan\r\
- \n :set yeardiv (\$year / 4)\r\
- \n :set yearmult (\$yeardiv * 4)\r\
- \n :if ([\$yearmult] = \$year) do={ :set leapyear true } else={ :set le\
- apyear false }\r\
- \n # set nilai lastday sesuai nama bulan dan tahun\r\
- \n :if ([\$month] = \"jan\") do={ :set lastday 31d }\r\
- \n :if ([\$month] = \"feb\") do={ \r\
- \n :if (\$leapyear = true) do={ :set lastday 29d }\r\
- \n :if (\$leapyear = false) do={ :set lastday 28d }\r\
- \n }\r\
- \n :if ([\$month] = \"mar\") do={ :set lastday 31d } \r\
- \n :if ([\$month] = \"apr\") do={ :set lastday 30d }\r\
- \n :if ([\$month] = \"may\") do={ :set lastday 31d }\r\
- \n :if ([\$month] = \"jun\") do={ :set lastday 30d }\r\
- \n :if ([\$month] = \"jul\") do={ :set lastday 31d }\r\
- \n :if ([\$month] = \"aug\") do={ :set lastday 31d }\r\
- \n :if ([\$month] = \"sep\") do={ :set lastday 30d }\r\
- \n :if ([\$month] = \"oct\") do={ :set lastday 31d }\r\
- \n :if ([\$month] = \"nov\") do={ :set lastday 30d }\r\
- \n :if ([\$month] = \"dec\") do={ :set lastday 31d }\r\
- \n # cek nilai lastday\r\
- \n #:log info (\"\$lastday\")\r\
- \n :if ([:len [/queue simple find name=\"\$user-shared\"]] > 0) do={\r\
- \n :local profile [/ip hotspot user get [find name=\$user] profile]\
- \r\
- \n :local rateLimit [/ip hotspot user profile get [find name=\$prof\
- ile] rate-limit]\r\
- \n :local queue [/ip hotspot user profile get [find name=\$profile]\
- \_queue]\r\
- \n /queue simple remove [find name=\"\$user-\$address\"]\r\
- \n /queue simple add max-limit=\$rateLimit name=\"\$user-\$address\
- \" parent=\"\$user-shared\" queue=\"\$queue/\$queue\" target=\$address\r\
- \n :local xx 1;\r\
- \n :local targetsimple \"\";\r\
- \n :foreach y in=[ /queue simple find parent=\"\$user-shared\"] do=\
- {\r\
- \n :if (xx=1) do={\r\
- \n :set targetsimple [/queue simple get value-name=target \
- \$y ];\r\
- \n } else={\r\
- \n :set targetsimple (\$targetsimple . \",\" . [/queue simp\
- le get value-name=target \$y ]);\r\
- \n }\r\
- \n :set xx (\$xx+1);\r\
- \n }\r\
- \n /queue simple set [find name=\"\$user-shared\"] target=\$targets\
- imple\r\
- \n } else={\r\
- \n :local profile [/ip hotspot user get [find name=\$user] profile]\
- \r\
- \n :local rateLimit [/ip hotspot user profile get [find name=\$prof\
- ile] rate-limit]\r\
- \n :local parent [/ip hotspot user profile get [find name=\$profile\
- ] parent]\r\
- \n :local queue [/ip hotspot user profile get [find name=\$profile]\
- \_queue]\r\
- \n /queue simple add max-limit=\$rateLimit name=\"\$user-shared\" p\
- arent=\"\$parent\" queue=\"\$queue/\$queue\" target=\$address\r\
- \n /queue simple remove [find name=\"\$user-\$address\"]\r\
- \n /queue simple add max-limit=\$rateLimit name=\"\$user-\$address\
- \" parent=\"\$user-shared\" queue=\"\$queue/\$queue\" target=\$address\r\
- \n }\r\
- \n /ip hotspot user set \$user comment=\"\$date \$time\"\r\
- \n /system scheduler remove [/system scheduler find name=\$user]\r\
- \n /system scheduler add interval=\$lastday name=\$user on-event=\"/ip \
- hotspot active remove [/ip hotspot active find user=\$user]\\r\\n/ip hotsp\
- ot user disable [/ip hotspot user find name=\$user]\\r\\n/ip hotspot user \
- reset-counters [/ip hotspot user find name=\$user]\\r\\n/system scheduler \
- remove [/system scheduler find name=\$user]\\r\\n/queue simple remove [fin\
- d name=\\\"\$user-shared\\\"]\" start-date=\$date start-time=\$time\r\
- \n /queue simple remove [find where name~\"^<hotspot\"]\r\
- \n} else={\r\
- \n :local zoky [ /ip hotspot user get \$user comment ]\r\
- \n :local zoky1 \" \$zoky\"\r\
- \n :local zoky2\r\
- \n :for i from=0 to=([:len \$zoky1] - 1) do={\r\
- \n :local char [:pick \$zoky1 \$i]\r\
- \n :if (\$char = \" \") do={\r\
- \n :set \$char \"\\\\ \"\r\
- \n }\r\
- \n :set zoky2 (\$zoky2 . \$char)\r\
- \n }\r\
- \n :local var \$zoky2\r\
- \n :local myArray [:toarray [:pick \$var ([:find \$var \" \"]+1) [:len \
- \$var]]]\r\
- \n :local month\r\
- \n :local year\r\
- \n :local yeardiv\r\
- \n :local yearmult\r\
- \n :local leapyear\r\
- \n :local lastday\r\
- \n :local comdate [:pick \$myArray 0]\r\
- \n :local comtime [:pick \$myArray 1]\r\
- \n # ambil nama bulan dan tahun dari comdate\r\
- \n :set month [:pick \$comdate 0 3]\r\
- \n :set year [:pick \$comdate 7 11]\r\
- \n # check tahun kabisat atau bukan\r\
- \n :set yeardiv (\$year / 4)\r\
- \n :set yearmult (\$yeardiv * 4)\r\
- \n :if ([\$yearmult] = \$year) do={ :set leapyear true } else={ :set le\
- apyear false }\r\
- \n # set nilai lastday sesuai nama bulan dan tahun\r\
- \n :if ([\$month] = \"jan\") do={ :set lastday 31d }\r\
- \n :if ([\$month] = \"feb\") do={ \r\
- \n :if (\$leapyear = true) do={ :set lastday 29d }\r\
- \n :if (\$leapyear = false) do={ :set lastday 28d }\r\
- \n }\r\
- \n :if ([\$month] = \"mar\") do={ :set lastday 31d } \r\
- \n :if ([\$month] = \"apr\") do={ :set lastday 30d }\r\
- \n :if ([\$month] = \"may\") do={ :set lastday 31d }\r\
- \n :if ([\$month] = \"jun\") do={ :set lastday 30d }\r\
- \n :if ([\$month] = \"jul\") do={ :set lastday 31d }\r\
- \n :if ([\$month] = \"aug\") do={ :set lastday 31d }\r\
- \n :if ([\$month] = \"sep\") do={ :set lastday 30d }\r\
- \n :if ([\$month] = \"oct\") do={ :set lastday 31d }\r\
- \n :if ([\$month] = \"nov\") do={ :set lastday 30d }\r\
- \n :if ([\$month] = \"dec\") do={ :set lastday 31d }\r\
- \n # cek nilai lastday\r\
- \n #:log info (\"\$lastday\")\r\
- \n :if ([:len [/queue simple find name=\"\$user-shared\"]] > 0) do={\r\
- \n :local profile [/ip hotspot user get [find name=\$user] profile]\
- \r\
- \n :local rateLimit [/ip hotspot user profile get [find name=\$prof\
- ile] rate-limit]\r\
- \n :local queue [/ip hotspot user profile get [find name=\$profile]\
- \_queue]\r\
- \n /queue simple remove [find name=\"\$user-\$address\"]\r\
- \n /queue simple add max-limit=\$rateLimit name=\"\$user-\$address\
- \" parent=\"\$user-shared\" queue=\"\$queue/\$queue\" target=\$address\r\
- \n :local xx 1;\r\
- \n :local targetsimple \"\";\r\
- \n :foreach y in=[ /queue simple find parent=\"\$user-shared\"] do=\
- {\r\
- \n :if (xx=1) do={\r\
- \n :set targetsimple [/queue simple get value-name=target \
- \$y ];\r\
- \n } else={\r\
- \n :set targetsimple (\$targetsimple . \",\" . [/queue simp\
- le get value-name=target \$y ]);\r\
- \n }\r\
- \n :set xx (\$xx+1);\r\
- \n }\r\
- \n /queue simple set [find name=\"\$user-shared\"] target=\$targets\
- imple\r\
- \n } else={\r\
- \n :local profile [/ip hotspot user get [find name=\$user] profile]\
- \r\
- \n :local rateLimit [/ip hotspot user profile get [find name=\$prof\
- ile] rate-limit]\r\
- \n :local parent [/ip hotspot user profile get [find name=\$profile\
- ] parent]\r\
- \n :local queue [/ip hotspot user profile get [find name=\$profile]\
- \_queue]\r\
- \n /queue simple add max-limit=\$rateLimit name=\"\$user-shared\" p\
- arent=\"\$parent\" queue=\"\$queue/\$queue\" target=\$address\r\
- \n /queue simple remove [find name=\"\$user-\$address\"]\r\
- \n /queue simple add max-limit=\$rateLimit name=\"\$user-\$address\
- \" parent=\"\$user-shared\" queue=\"\$queue/\$queue\" target=\$address\r\
- \n }\r\
- \n /system scheduler remove [/system scheduler find name=\$user]\r\
- \n /system scheduler add interval=\$lastday name=\$user on-event=\"/ip \
- hotspot active remove [/ip hotspot active find user=\$user]\\r\\n/ip hotsp\
- ot user disable [/ip hotspot user find name=\$user]\\r\\n/ip hotspot user \
- reset-counters [/ip hotspot user find name=\$user]\\r\\n/system scheduler \
- remove [/system scheduler find name=\$user]\\r\\n/queue simple remove [fin\
- d name=\\\"\$user-shared\\\"]\" start-date=\$comdate start-time=\$comtime\
- \r\
- \n /queue simple remove [find where name~\"^<hotspot\"]\r\
- \n}\r\
- \n" on-logout=":log warning (\"goodbye \$user ( \$address )\")\r\
- \n/queue simple remove [find name=\"\$user-\$address\"]\r\
- \n:if ( [/queue simple find parent=\"\$user-shared\"] = \"\" ) do={\r\
- \n :log warning (\"delete parent \$user-shared, nothing child-queue\")\
- \r\
- \n /queue simple remove [find name=\"\$user-shared\"]\r\
- \n} else={\r\
- \n :local xx 1;\r\
- \n :local targetsimple \"\";\r\
- \n :foreach y in=[ /queue simple find parent=\"\$user-shared\"] do={\r\
- \n :if (xx=1) do={\r\
- \n :set targetsimple [/queue simple get value-name=target \$y ]\
- ;\r\
- \n } else={\r\
- \n :set targetsimple (\$targetsimple . \",\" . [/queue simple g\
- et value-name=target \$y ]);\r\
- \n }\r\
- \n :set xx (\$xx+1);\r\
- \n }\r\
- \n /queue simple set [find name=\"\$user-shared\"] target=\$targetsimpl\
- e\r\
- \n}\r\
- \n" parent-queue="1. bulanan" rate-limit=3 shared-users=3
- add insert-queue-before="1. Warnet" name="PAKET 19 JAM MK" on-login="{:local u\
- serbh \$user;:local datetime [/system clock get date];:local hari [:pick \
- \$datetime 4 6];:local bulan [:pick \$datetime 0 3];:local tahun [:pick \$\
- datetime 7 11];:if ([/system schedule find name=\$userbh]=\"\") do={/syste\
- m schedule add name=\$userbh interval=14d on-event=\"/ip hotspot user set \
- profile=expired [find name=\$userbh]\\r\\n/ip hotspot active remove [find \
- user=\$userbh]\\r\\n/ip hotspot cookie remove [find user=\$userbh]\\r\\n/s\
- ystem schedule remove [find name=\$userbh]\"}}" parent-queue=\
- "2. Vouceran" rate-limit="512k/5m 0/10m 0/7m 5 5 64/64"
- /ip hotspot profile
- set [ find default=yes ] login-by=http-chap,trial,mac-cookie \
- trial-uptime-limit=1m trial-uptime-reset=1w trial-user-profile=\
- "Paket bulanan 2Mbs MK" use-radius=yes
- add dns-name=www.hotspottoraja.info hotspot-address=192.168.99.2 login-by=\
- http-chap,http-pap,trial,mac-cookie name=hsprof1 trial-uptime-limit=10m \
- trial-uptime-reset=1w trial-user-profile=Warnet-free use-radius=yes
- add dns-name=wifi.login hotspot-address=192.168.99.2 login-by=\
- http-chap,http-pap,trial,mac-cookie name=hsprof2 trial-uptime-limit=10m \
- trial-uptime-reset=1w trial-user-profile=userman-paket-19-jam use-radius=\
- yes
- /ip hotspot
- add address-pool=hotspot disabled=no interface=Hotspot name=hotspot1 profile=\
- hsprof1
- /ppp profile
- add insert-queue-before="1. Warnet" local-address=192.168.73.9 name=\
- ppoe-client only-one=yes parent-queue="1. bulanan" remote-address=\
- ppoe_hotspot
- add insert-queue-before="1. Warnet" local-address=192.168.73.9 name=\
- client_2Mbs only-one=yes parent-queue="1. bulanan" rate-limit=\
- "512k/1024k 0/2048k 0/1500k 5 5 64/64" remote-address=ppoe_hotspot
- add insert-queue-before="1. Warnet" local-address=192.168.73.9 name=\
- client_1Mbs only-one=yes parent-queue="1. bulanan" rate-limit=\
- "512k/512k 0/1024k 0/768k 5 5 64/64" remote-address=ppoe_hotspot
- add insert-queue-before="1. Warnet" local-address=192.168.73.9 name=\
- expired-pppoe only-one=yes parent-queue="1. bulanan" rate-limit=\
- "512k/2048k 0/0 0/0 0 0 64/64" remote-address=expired-pppoe
- add insert-queue-before="1. Warnet" local-address=192.168.73.9 name=\
- "client_2Mbs 1:1" only-one=yes parent-queue="1. bulanan" rate-limit=\
- "512k/2048k 0/0 0/0 5 5 64/64" remote-address=ppoe_hotspot
- /queue simple
- add limit-at=128k/512k max-limit=1M/10M name="0. Ggc" packet-marks=ggc_pkt \
- parent="3. Download / Upload" priority=3/3 queue=512k-up_pcq/down_pcq \
- target=192.168.0.0/16
- /tool user-manager customer
- set aisyah access=\
- own-routers,own-users,own-profiles,own-limits,config-payment-gw login=\
- aisyah password=a1b2c3181084 time-zone=+08:00
- add access=own-routers,own-users,own-profiles,own-limits,config-payment-gw \
- backup-allowed=yes date-format=%d.%b.%Y disabled=no login=supriadi \
- password=a1b2c3kafilah paypal-accept-pending=no paypal-allowed=no \
- paypal-secure-response=no permissions=owner signup-allowed=no time-zone=\
- +08:00
- /tool user-manager profile
- add name=expired name-for-users="" override-shared-users=off owner=aisyah \
- price=0 starts-at=logon validity=4w3d
- add name="PAKET AISYAH 4 JAM - AKTIF 3 HARI" name-for-users="" \
- override-shared-users=off owner=aisyah price=0 starts-at=logon validity=\
- 3d
- add name="PAKET KAFILAH 19 JAM - AKTIF 2 MINGGU" name-for-users="" \
- override-shared-users=off owner=aisyah price=0 starts-at=logon validity=\
- 2w
- add name="Paket ppoe 2 Mbs" name-for-users="" override-shared-users=off \
- owner=aisyah price=0 starts-at=logon validity=4w3d
- add name="Qouta ppoe 2 Mbs" name-for-users="" override-shared-users=off \
- owner=aisyah price=0 starts-at=logon validity=4w3d
- add name="Paket Qouta - Aktif 1 Bulan" name-for-users="" \
- override-shared-users=off owner=aisyah price=0 starts-at=logon validity=\
- 4w3d
- add name="Paket 1 Mbs - Aktif 1 Bulan" name-for-users="" \
- override-shared-users=off owner=aisyah price=0 starts-at=logon validity=\
- 0s
- add name="Paket 2 Mbs - Aktif 1 Bulan" name-for-users="" \
- override-shared-users=off owner=aisyah price=0 starts-at=logon validity=\
- 4w3d
- add name="Migrasi - 1 Hari" name-for-users="" override-shared-users=off \
- owner=aisyah price=0 starts-at=logon validity=1d
- add name=expired-pppoe name-for-users="" override-shared-users=off owner=\
- aisyah price=0 starts-at=logon validity=4w3d
- add name="Paket ppoe 1 Mbs" name-for-users="" override-shared-users=off \
- owner=aisyah price=0 starts-at=logon validity=4w3d
- add name="Qouta ppoe 1 Mbs" name-for-users="" override-shared-users=off \
- owner=aisyah price=0 starts-at=logon validity=4w3d
- /tool user-manager profile limitation
- add address-list="" download-limit=0B group-name="" ip-pool=expired name=\
- expired owner=aisyah transfer-limit=0B upload-limit=0B uptime-limit=1w
- add address-list="" download-limit=0B group-name="" ip-pool="" name=\
- "PAKET AISYAH 4 JAM - AKTIF 3 HARI" owner=aisyah transfer-limit=0B \
- upload-limit=0B uptime-limit=4h
- add address-list="" download-limit=0B group-name="" ip-pool="" name=\
- "PAKET KAFILAH 19 JAM - AKTIF 2 MINGGU" owner=aisyah transfer-limit=0B \
- upload-limit=0B uptime-limit=19h
- add address-list="" download-limit=0B group-name=userman-paket-4-jam ip-pool=\
- "" name="BANDWITH PAKET AISYAH 4 JAM - AKTIF 3 HARI" owner=aisyah \
- transfer-limit=0B upload-limit=0B uptime-limit=0s
- add address-list="" download-limit=0B group-name=userman-paket-19-jam \
- ip-pool="" name="BANDWITH PAKET KAFILAH 19 JAM - AKTIF 2 MINGGU" owner=\
- aisyah transfer-limit=0B upload-limit=0B uptime-limit=0s
- add address-list="" download-limit=0B group-name="" ip-pool=expired name=\
- "expired ppoe" owner=aisyah rate-limit-min-rx=64B rate-limit-min-tx=64B \
- rate-limit-rx=262144B rate-limit-tx=10485760B transfer-limit=0B \
- upload-limit=0B uptime-limit=0s
- add address-list="" download-limit=0B group-name=ppoe-client ip-pool="" name=\
- "Paket ppoe 2 Mbs" owner=aisyah rate-limit-min-rx=64B rate-limit-min-tx=\
- 64B rate-limit-rx=524288B rate-limit-tx=2097152B transfer-limit=\
- 42949672960B upload-limit=0B uptime-limit=4w3d
- add address-list="" download-limit=0B group-name=ppoe-client ip-pool="" name=\
- "Qouta ppoe 2 Mbs" owner=aisyah rate-limit-burst-time-tx=5s \
- rate-limit-burst-treshold-tx=1048576B rate-limit-burst-tx=2097152B \
- rate-limit-min-rx=64B rate-limit-min-tx=64B rate-limit-rx=393216B \
- rate-limit-tx=786432B transfer-limit=0B upload-limit=0B uptime-limit=4w3d
- add address-list="" download-limit=0B group-name=userman-paket-Qouta ip-pool=\
- "" name="Paket Qouta" owner=aisyah transfer-limit=8589934592B \
- upload-limit=0B uptime-limit=4w3d
- add address-list="" download-limit=0B group-name=userman-paket-1Mbs ip-pool=\
- "" name="Paket 1 Mbs" owner=aisyah transfer-limit=0B upload-limit=0B \
- uptime-limit=4w3d
- add address-list="" download-limit=0B group-name=userman-paket-2Mbs ip-pool=\
- "" name="Paket 2 Mbs" owner=aisyah transfer-limit=0B upload-limit=0B \
- uptime-limit=4w3d
- add address-list="" download-limit=0B group-name=ppoe-client ip-pool="" name=\
- Migrasi owner=aisyah rate-limit-min-rx=64B rate-limit-min-tx=64B \
- rate-limit-rx=524288B rate-limit-tx=5242880B transfer-limit=1073741824B \
- upload-limit=0B uptime-limit=0s
- add address-list="" download-limit=0B group-name="" ip-pool=expired-pppoe \
- name=expired-ppoe owner=aisyah transfer-limit=0B upload-limit=0B \
- uptime-limit=0s
- add address-list="" download-limit=0B group-name="" ip-pool="" name=\
- "Paket ppoe 1 Mbs" owner=aisyah rate-limit-min-rx=64B rate-limit-min-tx=\
- 64B rate-limit-rx=524288B rate-limit-tx=1536000B transfer-limit=\
- 21474836480B upload-limit=0B uptime-limit=4w3d
- add address-list="" download-limit=0B group-name="" ip-pool="" name=\
- "Qouta ppoe 1 Mbs" owner=aisyah rate-limit-burst-time-tx=8s \
- rate-limit-burst-treshold-tx=786432B rate-limit-burst-tx=1048576B \
- rate-limit-min-rx=64B rate-limit-min-tx=64B rate-limit-rx=524288B \
- rate-limit-tx=524288B transfer-limit=0B upload-limit=0B uptime-limit=0s
- /ip neighbor discovery-settings
- set discover-interface-list=discover
- /interface pppoe-server server
- add default-profile=ppoe-client disabled=no interface=Hotspot max-sessions=\
- 100 service-name=service1
- /interface pptp-server server
- set enabled=yes
- /ip address
- add address=192.168.7.1/24 interface=Lan network=192.168.7.0
- add address=192.168.10.3/24 interface=Radio network=192.168.10.0
- add address=172.16.16.2/24 interface=Hotspot network=172.16.16.0
- add address=192.168.99.2/24 comment="hotspot network" interface=Hotspot \
- network=192.168.99.0
- add address=192.168.73.2/24 comment=bulanan interface=Hotspot network=\
- 192.168.73.0
- add address=192.168.20.187/24 interface=Modem_Browser network=192.168.20.0
- add address=192.168.1.25/24 comment="reset ubnt" disabled=yes interface=\
- Hotspot network=192.168.1.0
- add address=192.168.168.2/24 interface=Hotspot network=192.168.168.0
- add address=172.191.191.2/24 interface=Cctv network=172.191.191.0
- /ip cloud
- set ddns-enabled=yes
- /ip dhcp-server lease
- add address=192.168.99.79 always-broadcast=yes block-access=yes mac-address=\
- CC:2D:83:A9:E2:54 server=dhcp1
- /ip dhcp-server network
- add address=172.191.191.0/24 gateway=172.191.191.2
- add address=192.168.99.0/24 comment="hotspot network" gateway=192.168.99.2 \
- netmask=32
- /ip dns
- set allow-remote-requests=yes max-udp-packet-size=2000 servers="1.1.1.1,208.67\
- .222.222,208.67.220.220,103.80.80.248,103.80.80.249,8.8.8.8,8.8.4.4"
- /ip firewall address-list
- add address=192.168.3.0/24 disabled=yes list=proxy
- add address=192.168.7.0/24 list=lan
- add address=192.168.7.30 disabled=yes list="drop ip"
- add address=192.168.7.0/24 list=client
- add address=192.168.3.0/24 disabled=yes list=client
- add address=192.168.0.0/16 list=PRIVATE_IP
- add address=172.16.0.0/12 list=PRIVATE_IP
- add address=192.168.7.0/24 comment=no disabled=yes list=no_internet
- add address=192.168.99.0/24 list=Hospot
- add address=172.16.16.0/24 list=Hospot
- add address=192.168.99.0/24 list=client
- add address=192.168.73.0/24 list=client
- add address=172.16.16.0/24 list=client
- add address=118.97.116.10 comment=uzone list=ads_list
- add address=118.97.116.2 comment=cfs.uzone list=ads_list
- add address=118.97.116.7 comment=uadexchange list=ads_list
- add address=180.250.66.131 comment=cfs2.uzone list=ads_list
- add address=180.250.68.156 comment=cfs2.uadexchange list=ads_list
- add address=36.86.63.180 comment=mercusuar.uzone list=ads_list
- add address=36.66.1.2 comment=kendedes.uzone list=ads_list
- add address=104.28.25.43 comment="Speaker Aktif" list=ads_list
- add address=192.168.73.0/24 list=Hospot
- add address=yougetsignal.com list=speedtest
- add address=xmyip.com list=speedtest
- add address=www.yougetsignal.com list=speedtest
- add address=expressvpn.com list=speedtest
- add address=www.expressvpn.com list=speedtest
- add address=whatismyip.net list=speedtest
- add address=speedtestcustom.com comment=whatismyip.net list=speedtest
- add address=income.speedtestcustom.com comment=speedtestcustom.com list=\
- speedtest
- add address=iplocation.net comment=income.speedtestcustom.com list=speedtest
- add address=www.iplocation.net comment=iplocation.net list=speedtest
- add address=www.astrill.com comment=www.iplocation.net list=speedtest
- add address=www.privateinternetaccess.com comment=www.astrill.com list=\
- speedtest
- add address=mxtoolbox.com comment=www.privateinternetaccess.com list=\
- speedtest
- add address=ifconfig.co comment=mxtoolbox.com list=speedtest
- add address=whatismyip.org comment=ifconfig.co list=speedtest
- add address=www.goldenfrog.com comment=whatismyip.org list=speedtest
- add address=www.mxtoolbox.com comment=www.goldenfrog.com list=speedtest
- add address=www.ultratools.com comment=www.mxtoolbox.com list=speedtest
- add address=www.ip-adress.eu comment=www.ultratools.com list=speedtest
- add address=iplogger.org list=speedtest
- add address=www.vermiip.es list=speedtest
- add address=www.purevpn.com list=speedtest
- add address=www.whatismybrowser.com list=speedtest
- add address=zenmate.com list=speedtest
- add address=www.ipchicken.com list=speedtest
- add address=bittrex.com list=speedtest
- add address=whatismyip.li list=speedtest
- add address=www.ipburger.com list=speedtest
- add address=cbn.net.id list=speedtest
- add address=whatismyip4.com list=speedtest
- add address=www.inmotionhosting.com list=speedtest
- add address=nordvpn.com list=speedtest
- add address=wolframalpha.com list=speedtest
- add address=cactusvpn.com list=speedtest
- add address=www.cactusvpn.com list=speedtest
- add address=m.wolframalpha.com list=speedtest
- add address=ipcow.com list=speedtest
- add address=whatismycountry.com list=speedtest
- add address=passwordsgenerator.net list=speedtest
- add address=att-services.net list=speedtest
- add address=wtfismyip.com list=speedtest
- add address=whatismyip.network list=speedtest
- add address=ipinfo.info list=speedtest
- add address=encodable.com list=speedtest
- add address=www.overplay.net list=speedtest
- add address=myipaddress.com list=speedtest
- add address=www.myipaddress.com list=speedtest
- add address=whoer.net list=speedtest
- add address=whatismyip.com list=speedtest
- add address=www.speedtest.net list=speedtest
- add address=c.speedtest.net list=speedtest
- add address=whatismyipaddress.com list=speedtest
- add address=whatismyip.host list=speedtest
- add address=bearsmyip.com list=speedtest
- add address=check-host.net list=speedtest
- add address=hide.me list=speedtest
- add address=ipv6test.hide.me list=speedtest
- add address=ipleak.com list=speedtest
- add address=www.perfect-privacy.com list=speedtest
- add address=perfect-privacy.com list=speedtest
- add address=www.whatsmyip.org list=speedtest
- add address=whatsmyip.org list=speedtest
- add address=ipleak.net comment=kendedes.uzone list=ads_list
- add address=ipsaya.com list=speedtest
- add address=showmyip.gr comment=yougetsignal.com list=speedtest
- add address=showmyipaddress.com list=speedtest
- add address=www.showmyipaddress.com comment=ifconfig.co list=speedtest
- add address=10.0.0.0/8 list=PRIVATE_IP
- add address=192.168.168.0/24 list=client
- add address=ip.w69b.com comment=yougetsignal.com list=speedtest
- add address=cekipsaya.com list=speedtest
- add address=cmyip.com comment=yougetsignal.com list=speedtest
- add address=74.125.0.0/16 list=ggc-telkom
- add address=172.217.0.0/16 list=ggc-telkom
- add address=216.58.192.0/19 list=ggc-telkom
- add address=216.239.32.0/19 list=ggc-telkom
- add address=95.85.16.212 comment=ipleak.net list=ads_list
- add address=127.0.0.0/8 list=PRIVATE_IP
- add address=www.ip.w69b.com comment=www.ultratools.com list=speedtest
- add address=speedtest.mybroadband.co.za comment=www.ultratools.com list=\
- speedtest
- add address=172.191.191.0/24 list=client
- /ip firewall filter
- add action=drop chain=input comment=dns-flood dst-port=53,5353 protocol=tcp \
- src-address-list=!PRIVATE_IP
- add action=drop chain=input comment=dns-flood dst-port=53,5353 protocol=udp \
- src-address-list=!PRIVATE_IP
- add action=drop chain=forward comment=dns-flood dst-port=53,5353 protocol=tcp \
- src-address-list=!PRIVATE_IP
- add action=drop chain=forward comment=dns-flood dst-port=53,5353 protocol=udp \
- src-address-list=!PRIVATE_IP
- add action=drop chain=forward comment="Drop video facebook" dst-address=\
- !192.168.7.0/24 dst-port=80,443 layer7-protocol=video_fb protocol=tcp \
- src-address=192.168.7.0/24 time=6h-20h,sun,mon,tue,wed,thu,fri,sat
- 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.168.0/24
- add action=drop chain=forward comment="Drop Access Internet" src-address=\
- 192.168.168.0/24
- add action=drop chain=forward comment=";;Block W32.Kido - Conficker" \
- protocol=udp src-port=135-139,445,3389
- add action=drop chain=forward dst-port=135-139,445,3389 protocol=udp
- add action=drop chain=forward dst-port=50484 protocol=udp
- add action=drop chain=forward dst-port=11211 protocol=udp
- add action=drop chain=forward protocol=tcp src-port=135-139,445,3389
- add action=drop chain=forward dst-port=135-139,445,3389 protocol=tcp
- /ip firewall mangle
- 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
- add action=mark-connection chain=input connection-mark=no-mark in-interface=\
- pppoe-out1 new-connection-mark=pppoe_conn passthrough=yes
- add action=mark-routing chain=output connection-mark=pppoe_conn \
- new-routing-mark=via_radio passthrough=yes
- add action=mark-packet chain=forward comment="HIT PROXY" dscp=12 \
- new-packet-mark=HIT passthrough=no
- add chain=prerouting comment="Bypass Local Paket" dst-address-list=PRIVATE_IP \
- src-address-list=PRIVATE_IP
- add chain=forward dst-address-list=PRIVATE_IP src-address-list=PRIVATE_IP
- add chain=output dst-address-list=PRIVATE_IP src-address-list=PRIVATE_IP
- add action=mark-connection chain=prerouting comment="Game Conn" dst-port=\
- 27000-28998,9100-9200,8230-8250,8110-8120,14300-15512,14000-14010 \
- new-connection-mark=game_conn passthrough=yes protocol=tcp src-address=\
- 192.168.7.0/24
- add action=mark-connection chain=prerouting dst-port=\
- 39190-39200,49001-49190,9080-9081 new-connection-mark=game_conn \
- passthrough=yes protocol=tcp src-address=192.168.7.0/24
- add action=mark-connection chain=prerouting dst-port="27000-28998,3478-4380,28\
- 010-28200,39000,15000-15500,14000-14010,40000-40010,24010-24160" \
- new-connection-mark=game_conn passthrough=yes protocol=udp src-address=\
- 192.168.7.0/24
- add action=jump chain=prerouting connection-rate=0-325k jump-target=jumpgames \
- port=!21,22,23,80,81,88,5050,843,443,182,282,8777,1935,8000-8081 \
- protocol=tcp src-address=192.168.0.0/16
- add action=jump chain=prerouting connection-rate=0-325k jump-target=jumpgames \
- port=!21,22,23,80,81,88,5050,843,443,182,282,8777,1935,8000-8081 \
- protocol=udp src-address=192.168.0.0/16
- add action=mark-connection chain=jumpgames connection-rate=0-325k \
- new-connection-mark=game_conn passthrough=yes port="!53,5353,5938,8291,126\
- 71-12675,123,7282,40003,3478,8181,8383,1080,1194,1468" protocol=tcp \
- src-address=192.168.0.0/16
- add action=mark-connection chain=jumpgames connection-rate=0-325k \
- new-connection-mark=game_conn passthrough=yes port="!53,5353,5938,8291,126\
- 71-12675,123,7282,40003,3478,8181,8383,1080,1194,1468" protocol=udp \
- src-address=192.168.0.0/16
- add action=return chain=jumpgames src-address=192.168.0.0/16
- add action=mark-routing chain=prerouting connection-mark=game_conn \
- in-interface=Lan new-routing-mark=game_route passthrough=yes
- 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=prerouting connection-mark=game_conn \
- new-packet-mark=Game_pkt passthrough=no
- add action=change-dscp chain=postrouting comment=ICMP new-dscp=1 passthrough=\
- yes protocol=icmp
- add action=change-dscp chain=postrouting dst-port=53 new-dscp=1 passthrough=\
- yes protocol=udp
- add action=change-dscp chain=postrouting dst-port=53 new-dscp=1 passthrough=\
- yes protocol=tcp
- add action=mark-connection chain=postrouting dscp=1 new-connection-mark=\
- icmp_conn passthrough=yes
- add action=mark-packet chain=postrouting connection-mark=icmp_conn \
- new-packet-mark=icmp_pkt passthrough=no
- add action=jump chain=prerouting comment=Lb dst-address-list=!PRIVATE_IP \
- in-interface=Lan jump-target=LoadBalance src-address=192.168.7.0/24
- add action=jump chain=prerouting dst-address-list=!PRIVATE_IP in-interface=\
- Hotspot jump-target=LoadBalance src-address=192.168.99.0/24
- add action=jump chain=prerouting dst-address-list=!PRIVATE_IP in-interface=\
- Hotspot jump-target=LoadBalance src-address=192.168.73.0/24
- add action=mark-connection chain=LoadBalance new-connection-mark=local_con1 \
- passthrough=yes per-connection-classifier=both-addresses:3/0
- add action=mark-connection chain=LoadBalance new-connection-mark=local_con1 \
- passthrough=yes per-connection-classifier=both-addresses:3/1
- add action=mark-connection chain=LoadBalance new-connection-mark=local_con2 \
- passthrough=yes per-connection-classifier=both-addresses:3/2
- add action=mark-routing chain=LoadBalance connection-mark=local_con1 \
- new-routing-mark=via_browsing passthrough=yes
- add action=mark-routing chain=LoadBalance connection-mark=local_con2 \
- new-routing-mark=via_radio passthrough=yes
- add action=mark-connection chain=LoadBalance dst-port=80,8080 \
- new-connection-mark=local_con11 passthrough=yes \
- per-connection-classifier=src-address-and-port:3/0 protocol=tcp
- add action=mark-connection chain=LoadBalance dst-port=80,8080 \
- new-connection-mark=local_con11 passthrough=yes \
- per-connection-classifier=src-address-and-port:3/1 protocol=tcp
- add action=mark-connection chain=LoadBalance dst-port=80,8080 \
- new-connection-mark=local_con22 passthrough=yes \
- per-connection-classifier=src-address-and-port:3/2 protocol=tcp
- add action=mark-routing chain=LoadBalance connection-mark=local_con11 \
- new-routing-mark=via_browsing passthrough=yes
- add action=mark-routing chain=LoadBalance connection-mark=local_con22 \
- new-routing-mark=via_radio passthrough=yes
- add action=mark-connection chain=prerouting comment=Koneksi-GGC dst-address=\
- !192.168.0.0/16 dst-address-list=ggc-telkom new-connection-mark=ggc_conn \
- passthrough=yes src-address=192.168.0.0/16 time=\
- 8h-22h,sun,mon,tue,wed,thu,fri,sat
- add action=mark-packet chain=prerouting comment=Koneksi-GGC connection-mark=\
- ggc_conn new-packet-mark=ggc_pkt passthrough=no time=\
- 8h-22h,sun,mon,tue,wed,thu,fri,sat
- add action=mark-routing chain=prerouting comment=Unlimited disabled=yes \
- dst-address=!192.168.73.0/24 dst-port=443 new-routing-mark=via_radio \
- passthrough=yes protocol=tcp src-address=192.168.73.0/24 time=\
- 23h-7h,sun,mon,tue,wed,thu,fri,sat
- add action=mark-routing chain=prerouting comment=pptp-vpnbook \
- dst-address-list=speedtest new-routing-mark=pptp-vpnbook passthrough=no \
- src-address-list=PRIVATE_IP
- add action=mark-connection chain=prerouting comment="Global Conn" \
- dst-address-list=!PRIVATE_IP new-connection-mark=Global_conn \
- src-address-list=PRIVATE_IP
- add action=mark-packet chain=prerouting connection-mark=Global_conn \
- in-interface=Modem_Browser new-packet-mark=down_pkt passthrough=no
- add action=mark-packet chain=prerouting connection-mark=Global_conn \
- in-interface=pppoe-out1 new-packet-mark=down_pkt passthrough=no
- add action=mark-packet chain=prerouting connection-mark=Global_conn \
- in-interface=all-ppp new-packet-mark=up_pkt passthrough=no
- add action=mark-packet chain=prerouting connection-mark=Global_conn \
- in-interface=Lan new-packet-mark=up_pkt passthrough=no
- add action=mark-packet chain=prerouting connection-mark=Global_conn \
- in-interface=Hotspot new-packet-mark=up_pkt passthrough=no
- /ip firewall nat
- add action=redirect chain=dstnat comment="Direct Expired" dst-port=80 \
- protocol=tcp src-address=192.168.168.0/24 to-ports=3127
- add action=passthrough chain=unused-hs-chain comment=\
- "place hotspot rules here" disabled=yes
- add action=dst-nat chain=dstnat comment="modem browser ssh" dst-port=3003 \
- protocol=tcp to-addresses=192.168.20.1 to-ports=80
- add action=dst-nat chain=dstnat protocol=icmp to-addresses=103.242.104.114
- add action=masquerade chain=srcnat comment=Vpn out-interface=l2tp-out1
- add action=masquerade chain=srcnat comment=Modem_Browser out-interface=\
- Modem_Browser
- add action=masquerade chain=srcnat comment=Speedy_Game out-interface=\
- pppoe-out1
- add action=masquerade chain=srcnat comment=Speedy_radio_remot out-interface=\
- Radio to-addresses=0.0.0.0
- add action=masquerade chain=srcnat comment="masquerade hotspot network" \
- disabled=yes src-address=192.168.99.0/24
- add action=dst-nat chain=dstnat comment=ssh disabled=yes dst-port=202 \
- protocol=tcp to-addresses=192.168.20.1 to-ports=22
- 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=Lan 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=Lan protocol=\
- tcp to-ports=53
- /ip firewall raw
- add action=drop chain=prerouting dst-address=192.168.20.1 dst-port=80 \
- protocol=tcp
- add action=drop chain=prerouting in-interface=Lan src-address-list=\
- no_internet
- add action=drop chain=prerouting comment=Iklan dst-address-list=ads_list
- add action=accept chain=prerouting dst-address=192.168.20.1 src-address=\
- 192.168.7.10
- add action=drop chain=prerouting dst-address=192.168.20.1 src-address-list=\
- PRIVATE_IP
- /ip hotspot ip-binding
- add address=172.16.16.202 comment="Station Key" to-address=172.16.16.202 \
- type=bypassed
- add address=172.16.16.203 comment="Station Tallo" to-address=172.16.16.203 \
- type=bypassed
- add address=172.16.16.200 comment="Ap Pusat Airmax 68:72:51:70:1E:B4" \
- to-address=172.16.16.200 type=bypassed
- add address=172.16.16.51 comment="Ap Home cctv" mac-address=68:72:51:80:31:7D \
- to-address=172.16.16.51 type=bypassed
- add address=172.16.16.52 comment="Ap Key" to-address=172.16.16.52 type=\
- bypassed
- add address=172.16.16.50 comment=\
- "Ap warnet hotspot toraja rm 2 68:72:51:84:CA:3F" to-address=172.16.16.50 \
- type=bypassed
- add address=172.16.16.201 comment="Station gita" to-address=172.16.16.201 \
- type=bypassed
- add address=172.16.16.204 comment="Station 5210" to-address=172.16.16.204 \
- type=bypassed
- add address=172.16.16.55 comment="Ap cafe hotspot toraja 68:72:51:5C:88:58" \
- to-address=172.16.16.55 type=bypassed
- add address=172.16.16.206 comment="Wrt 54 Gl" to-address=172.16.16.206 type=\
- bypassed
- add address=172.16.16.205 comment="5210 klient wds" to-address=172.16.16.205 \
- type=bypassed
- add address=192.168.1.20 comment=UBNT disabled=yes to-address=192.168.1.20 \
- type=bypassed
- add address=192.168.99.43 comment="tenda f3" to-address=192.168.99.43 type=\
- bypassed
- add address=172.16.16.123 comment="Prose ubnt" to-address=172.16.16.123 type=\
- bypassed
- add address=172.16.16.53 comment="7210 " to-address=172.16.16.53 type=\
- bypassed
- /ip hotspot user
- add limit-uptime=52w1d mac-address=E4:F8:EF:3C:96:79 name=1 password=2 \
- profile=userman-paket-4-jam
- add limit-uptime=52w1d mac-address=E0:99:71:BB:E3:34 name=2 password=3 \
- profile=userman-paket-4-jam
- add limit-uptime=52w1d name=aisyah password=kafilah
- add limit-bytes-out=42949672960 limit-uptime=52w1d mac-address=\
- 50:3C:EA:C8:09:63 name=99 password=99 profile="Paket bulanan 2Mbs MK" \
- server=hotspot1
- add limit-bytes-out=21474836480 limit-uptime=4w2d name=wawan password=wawan78 \
- profile="Paket bulanan 1Mbs MK" server=hotspot1
- add limit-bytes-out=21474836480 limit-uptime=4w2d name=sisil2 password=\
- sisil45 profile="Paket bulanan 1Mbs MK" server=hotspot1
- add limit-bytes-out=21474836480 limit-uptime=4w2d name=sisil3 password=\
- sisil45 profile="Paket bulanan 1Mbs MK" server=hotspot1
- add limit-bytes-out=42949672960 mac-address=74:97:81:09:B7:DB name=tv \
- password=tv profile="Paket bulanan 2Mbs MK" server=hotspot1
- add limit-uptime=1h name=wrn525 password=976 profile=Warnet-free server=\
- hotspot1
- add limit-bytes-total=1073741824 limit-uptime=1d name=kafilah password=aisyah \
- profile=1G-reset1d server=hotspot1
- add limit-uptime=52w1d mac-address=18:D7:17:69:05:15 name=3 password=4
- add comment="Billing Hotspot v1.3.3.0" limit-uptime=4h name=3093959 password=\
- 8533 profile=PAKET-AQUA server=hotspot1
- add limit-bytes-out=21474836480 limit-uptime=4w2d name=jeff123 password=\
- jeff123 profile="Paket bulanan 1Mbs MK" server=hotspot1
- add limit-bytes-out=21474836480 limit-uptime=4w3d name=megi password=megi45 \
- profile="Paket bulanan 1Mbs MK" server=hotspot1
- add limit-bytes-out=21474836480 limit-uptime=4w3d name=key89 password=key89 \
- profile=Paket-Antena-1-Mbs_Key server=hotspot1
- add limit-uptime=30m name=33 password=33 profile=Warnet-free server=hotspot1
- add comment="Billing Hotspot v1.3.3.0" limit-uptime=4h name=29104461 \
- password=8065 profile=PAKET-AQUA server=hotspot1
- add comment="Billing Hotspot v1.3.3.0" limit-uptime=4h name=5112390 password=\
- 5112390 profile=PAKET-AQUA server=hotspot1
- add comment="Billing Hotspot v1.3.3.0" limit-uptime=4h name=5110802 password=\
- 5110802 profile=PAKET-AQUA server=hotspot1
- add limit-uptime=1h name=cb password=cb profile=Warnet-free server=hotspot1
- add comment="Billing Hotspot v1.3.3.0" limit-uptime=19h name=14104699 \
- password=3257 profile="PAKET 19 JAM MK"
- add comment="Billing Hotspot v1.3.3.0" limit-uptime=19h name=14106516 \
- password=3080 profile="PAKET 19 JAM MK"
- add comment="Billing Hotspot v1.3.3.0" limit-uptime=19h name=14103254 \
- password=2938 profile="PAKET 19 JAM MK"
- add comment="Billing Hotspot v1.3.3.0" limit-uptime=19h name=14106604 \
- password=9655 profile="PAKET 19 JAM MK"
- add comment="Billing Hotspot v1.3.3.0" limit-uptime=19h name=14101643 \
- password=7988 profile="PAKET 19 JAM MK"
- add comment="Billing Hotspot v1.3.3.0" limit-uptime=19h name=14102561 \
- password=7820 profile="PAKET 19 JAM MK"
- add comment="Billing Hotspot v1.3.3.0" limit-uptime=19h name=14109032 \
- password=1947 profile="PAKET 19 JAM MK"
- add comment="Billing Hotspot v1.3.3.0" limit-uptime=19h name=14100950 \
- password=2870 profile="PAKET 19 JAM MK"
- add comment="Billing Hotspot v1.3.3.0" limit-uptime=19h name=14107411 \
- password=6907 profile="PAKET 19 JAM MK"
- add comment="Billing Hotspot v1.3.3.0" limit-uptime=4h name=15103329 \
- password=9370 profile=PAKET-AQUA server=hotspot1
- add comment="Billing Hotspot v1.3.3.0" limit-uptime=4h name=15101753 \
- password=4599 profile=PAKET-AQUA server=hotspot1
- add comment="Billing Hotspot v1.3.3.0" limit-uptime=4h name=15106725 \
- password=5433 profile=expired server=hotspot1
- add comment="Billing Hotspot v1.3.3.0" limit-uptime=4h name=15108542 \
- password=6365 profile=expired server=hotspot1
- add comment="Billing Hotspot v1.3.3.0" limit-uptime=4h name=15101992 \
- password=3092 profile=expired server=hotspot1
- add comment="Billing Hotspot v1.3.3.0" limit-uptime=4h name=15107554 \
- password=6119 profile=expired server=hotspot1
- add comment="Billing Hotspot v1.3.3.0" limit-uptime=4h name=15105150 \
- password=0551 profile=expired server=hotspot1
- add comment="Billing Hotspot v1.3.3.0" limit-uptime=4h name=15104410 \
- password=5284 profile=expired server=hotspot1
- add comment="Billing Hotspot v1.3.3.0" limit-uptime=4h name=15105248 \
- password=6117 profile=expired server=hotspot1
- add comment="Billing Hotspot v1.3.3.0" limit-uptime=4h name=15108688 \
- password=3834 profile=expired server=hotspot1
- add comment="Billing Hotspot v1.3.3.0" limit-uptime=4h name=15109041 \
- password=5243 profile=expired server=hotspot1
- add comment="Billing Hotspot v1.3.3.0" limit-uptime=4h name=15106875 \
- password=7893 profile=expired server=hotspot1
- add comment="Billing Hotspot v1.3.3.0" limit-uptime=4h name=15101914 \
- password=5125 profile=expired server=hotspot1
- add comment="Billing Hotspot v1.3.3.0" limit-uptime=4h name=15107486 \
- password=8243 profile=expired server=hotspot1
- add comment="Billing Hotspot v1.3.3.0" limit-uptime=4h name=15109303 \
- password=9085 profile=expired server=hotspot1
- add comment="Billing Hotspot v1.3.3.0" limit-uptime=4h name=15105975 \
- password=3102 profile=expired server=hotspot1
- add comment="Billing Hotspot v1.3.3.0" limit-uptime=4h name=15107792 \
- password=4045 profile=PAKET-AQUA server=hotspot1
- add limit-bytes-out=21474836480 limit-uptime=4w2d name=sultan password=\
- sultan45 profile="Paket bulanan 1Mbs MK" server=hotspot1
- add comment="Billing Hotspot v1.3.3.0" limit-uptime=4h name=27115281 \
- password=4885 profile=PAKET-AQUA server=hotspot1
- add comment="Billing Hotspot v1.3.3.0" limit-uptime=4h name=27115141 \
- password=0123 profile=PAKET-AQUA server=hotspot1
- add comment="Billing Hotspot v1.3.3.0" limit-uptime=4h name=27117978 \
- password=0056 profile=PAKET-AQUA server=hotspot1
- add comment="Billing Hotspot v1.3.3.0" limit-uptime=4h name=27117838 \
- password=6394 profile=PAKET-AQUA server=hotspot1
- add comment="Billing Hotspot v1.3.3.0" limit-uptime=4h name=27119755 \
- password=7236 profile=PAKET-AQUA server=hotspot1
- add comment="Billing Hotspot v1.3.3.0" limit-uptime=4h name=27115227 \
- password=0354 profile=PAKET-AQUA server=hotspot1
- add comment="Billing Hotspot v1.3.3.0" limit-uptime=4h name=27117144 \
- password=1286 profile=PAKET-AQUA server=hotspot1
- add comment="Billing Hotspot v1.3.3.0" limit-uptime=4h name=27113706 \
- password=5304 profile=PAKET-AQUA server=hotspot1
- add comment="Billing Hotspot v1.3.3.0" limit-uptime=4h name=27115533 \
- password=6146 profile=PAKET-AQUA server=hotspot1
- add comment="Billing Hotspot v1.3.3.0" limit-uptime=4h name=27116450 \
- password=7078 profile=PAKET-AQUA server=hotspot1
- add comment="Billing Hotspot v1.3.3.0" limit-uptime=4h name=27110237 \
- password=7334 profile=PAKET-AQUA server=hotspot1
- add comment="Billing Hotspot v1.3.3.0" limit-uptime=4h name=27113753 \
- password=9872 profile=PAKET-AQUA server=hotspot1
- add comment="Billing Hotspot v1.3.3.0" limit-uptime=4h name=27110315 \
- password=2900 profile=PAKET-AQUA server=hotspot1
- add comment="Billing Hotspot v1.3.3.0" limit-uptime=4h name=27115364 \
- password=0232 profile=PAKET-AQUA server=hotspot1
- add comment="Billing Hotspot v1.3.3.0" limit-uptime=4h name=27116281 \
- password=1065 profile=PAKET-AQUA server=hotspot1
- add comment="Billing Hotspot v1.3.3.0" limit-uptime=4h name=27113743 \
- password=5192 profile=PAKET-AQUA server=hotspot1
- add comment="Billing Hotspot v1.3.3.0" limit-uptime=4h name=27111449 \
- password=9624 profile=PAKET-AQUA server=hotspot1
- add comment="Billing Hotspot v1.3.3.0" limit-uptime=4h name=27117911 \
- password=2741 profile=PAKET-AQUA server=hotspot1
- add comment="Billing Hotspot v1.3.3.0" limit-uptime=4h name=27112050 \
- password=0084 profile=PAKET-AQUA server=hotspot1
- add comment="Billing Hotspot v1.3.3.0" limit-uptime=4h name=27114877 \
- password=1916 profile=PAKET-AQUA server=hotspot1
- add comment="Billing Hotspot v1.3.3.0" limit-uptime=4h name=28115160 \
- password=7834 profile=PAKET-AQUA server=hotspot1
- add comment="Billing Hotspot v1.3.3.0" limit-uptime=4h name=28117087 \
- password=7676 profile=PAKET-AQUA server=hotspot1
- add comment="Billing Hotspot v1.3.3.0" limit-uptime=4h name=28118814 \
- password=8509 profile=PAKET-AQUA server=hotspot1
- add comment="Billing Hotspot v1.3.3.0" limit-uptime=4h name=28111254 \
- password=5236 profile=PAKET-AQUA server=hotspot1
- add comment="Billing Hotspot v1.3.3.0" limit-uptime=4h name=28118826 \
- password=9353 profile=PAKET-AQUA server=hotspot1
- add comment="Billing Hotspot v1.3.3.0" limit-uptime=4h name=28113865 \
- password=6686 profile=PAKET-AQUA server=hotspot1
- add comment="Billing Hotspot v1.3.3.0" limit-uptime=4h name=28114782 \
- password=7528 profile=PAKET-AQUA server=hotspot1
- add comment="Billing Hotspot v1.3.3.0" limit-uptime=4h name=28116500 \
- password=8451 profile=PAKET-AQUA server=hotspot1
- add comment="Billing Hotspot v1.3.3.0" limit-uptime=4h name=28112171 \
- password=2578 profile=PAKET-AQUA server=hotspot1
- add comment="Billing Hotspot v1.3.3.0" limit-uptime=4h name=28114999 \
- password=2310 profile=PAKET-AQUA server=hotspot1
- add comment="Billing Hotspot v1.3.3.0" limit-uptime=4h name=28114255 \
- password=3901 profile=PAKET-AQUA server=hotspot1
- add comment="Billing Hotspot v1.3.3.0" limit-uptime=4h name=28119394 \
- password=1234 profile=PAKET-AQUA server=hotspot1
- add comment="Billing Hotspot v1.3.3.0" limit-uptime=4h name=28115866 \
- password=5351 profile=PAKET-AQUA server=hotspot1
- add comment="Billing Hotspot v1.3.3.0" limit-uptime=4h name=28113561 \
- password=8794 profile=PAKET-AQUA server=hotspot1
- add comment="Billing Hotspot v1.3.3.0" limit-uptime=4h name=28110123 \
- password=2811 profile=PAKET-AQUA server=hotspot1
- add comment="Billing Hotspot v1.3.3.0" limit-uptime=4h name=28113649 \
- password=4369 profile=PAKET-AQUA server=hotspot1
- add comment="Billing Hotspot v1.3.3.0" limit-uptime=4h name=28110111 \
- password=8486 profile=PAKET-AQUA server=hotspot1
- add comment="Billing Hotspot v1.3.3.0" limit-uptime=4h name=28111038 \
- password=8319 profile=PAKET-AQUA server=hotspot1
- add comment="Billing Hotspot v1.3.3.0" limit-uptime=4h name=28118690 \
- password=2436 profile=PAKET-AQUA server=hotspot1
- add comment="Billing Hotspot v1.3.3.0" limit-uptime=4h name=28119427 \
- password=3378 profile=PAKET-AQUA server=hotspot1
- add comment="Billing Hotspot v1.3.3.0" limit-uptime=4h name=29115284 \
- password=2023 profile=PAKET-AQUA server=hotspot1
- add comment="Billing Hotspot v1.3.3.0" limit-uptime=4h name=29117101 \
- password=3866 profile=PAKET-AQUA server=hotspot1
- add comment="Billing Hotspot v1.3.3.0" limit-uptime=4h name=29110551 \
- password=0583 profile=PAKET-AQUA server=hotspot1
- add comment="Billing Hotspot v1.3.3.0" limit-uptime=4h name=29113891 \
- password=7210 profile=PAKET-AQUA server=hotspot1
- add comment="Billing Hotspot v1.3.3.0" limit-uptime=4h name=29114719 \
- password=8142 profile=PAKET-AQUA server=hotspot1
- add comment="Billing Hotspot v1.3.3.0" limit-uptime=4h name=29111381 \
- password=1260 profile=PAKET-AQUA server=hotspot1
- add comment="Billing Hotspot v1.3.3.0" limit-uptime=4h name=29112108 \
- password=2102 profile=PAKET-AQUA server=hotspot1
- add comment="Billing Hotspot v1.3.3.0" limit-uptime=4h name=29115548 \
- password=9729 profile=PAKET-AQUA server=hotspot1
- add comment="Billing Hotspot v1.3.3.0" limit-uptime=4h name=29118988 \
- password=6446 profile=PAKET-AQUA server=hotspot1
- add comment="Billing Hotspot v1.3.3.0" limit-uptime=4h name=29110715 \
- password=6389 profile=PAKET-AQUA server=hotspot1
- add comment="Billing Hotspot v1.3.3.0" limit-uptime=4h name=29117045 \
- password=0434 profile=PAKET-AQUA server=hotspot1
- add comment="Billing Hotspot v1.3.3.0" limit-uptime=4h name=29112094 \
- password=8766 profile=PAKET-AQUA server=hotspot1
- add comment="Billing Hotspot v1.3.3.0" limit-uptime=4h name=29118656 \
- password=1784 profile=PAKET-AQUA server=hotspot1
- add comment="Billing Hotspot v1.3.3.0" limit-uptime=4h name=29110473 \
- password=2626 profile=PAKET-AQUA server=hotspot1
- add comment="Billing Hotspot v1.3.3.0" limit-uptime=4h name=29116045 \
- password=6744 profile=PAKET-AQUA server=hotspot1
- add comment="Billing Hotspot v1.3.3.0" limit-uptime=4h name=29118962 \
- password=7676 profile=PAKET-AQUA server=hotspot1
- add comment="Billing Hotspot v1.3.3.0" limit-uptime=4h name=29119789 \
- password=7518 profile=PAKET-AQUA server=hotspot1
- add comment="Billing Hotspot v1.3.3.0" limit-uptime=4h name=29112139 \
- password=4235 profile=PAKET-AQUA server=hotspot1
- add comment="Billing Hotspot v1.3.3.0" limit-uptime=4h name=29119691 \
- password=8353 profile=PAKET-AQUA server=hotspot1
- add comment="Billing Hotspot v1.3.3.0" limit-uptime=4h name=29110519 \
- password=9195 profile=PAKET-AQUA server=hotspot1
- /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.99.2 dst-port=80
- add action=deny redirect-to=192.168.99.2/expired.html src-address=\
- 192.168.168.0/24
- /ip route
- add check-gateway=ping distance=1 gateway=103.80.80.248 routing-mark=\
- via_browsing
- add check-gateway=ping distance=1 gateway=8.8.4.4 routing-mark=via_browsing
- add distance=1 gateway=pppoe-out1 routing-mark=via_radio
- add distance=1 gateway=192.168.20.1 routing-mark=game_route
- add check-gateway=ping comment=pptp-vpnbook distance=1 gateway=l2tp-out1 \
- routing-mark=pptp-vpnbook
- add check-gateway=ping distance=1 gateway=103.80.80.248
- add check-gateway=ping distance=1 gateway=8.8.4.4
- add distance=2 gateway=pppoe-out1
- add comment=route_Google distance=1 dst-address=8.8.4.4/32 gateway=\
- 192.168.20.1 scope=10
- add check-gateway=ping comment=route_Dns-sehat distance=1 dst-address=\
- 103.80.80.248/32 gateway=192.168.20.1 scope=10
- /ip route rule
- add dst-address=161.202.0.0/16 table=game_route
- add dst-address=119.81.0.0/16 table=game_route
- add comment=grap dst-address=52.77.0.0/16 table=game_route
- add comment=grap dst-address=54.169.128.0/17 table=game_route
- /ip service
- set telnet disabled=yes port=233
- set ftp disabled=yes
- set www port=2002
- set ssh disabled=yes port=222
- set winbox port=7282
- set api-ssl port=5225
- /ppp aaa
- set interim-update=1m use-radius=yes
- /ppp secret
- add local-address=10.10.99.1 name=remot1 password=remot123 profile=vpn_remot \
- remote-address=10.10.99.123 service=pptp
- add name=ppp1 password=ppp1 profile=vpn_remot service=pptp
- add local-address=192.168.73.9 name=root password=aisyahkafilah profile=\
- client_1Mbs service=pppoe
- add local-address=192.168.73.9 name=crispppoe2 password=crispppoe profile=\
- client_1Mbs service=pppoe
- add local-address=192.168.73.9 name=coba123 password=coba123 profile=\
- client_2Mbs service=pppoe
- add local-address=192.168.73.9 name=conf password=conf profile=client_2Mbs \
- service=pppoe
- add local-address=192.168.73.9 name=gita2 password=gita45 profile=\
- "client_2Mbs 1:1" service=pppoe
- add local-address=192.168.73.9 name=tallo8912 password=tallo89 profile=\
- expired-pppoe service=pppoe
- /radius
- add address=127.0.0.1 secret=12345 service=ppp,hotspot
- /radius incoming
- set port=1700
- /system clock
- set time-zone-autodetect=no time-zone-name=Asia/Makassar
- /system clock manual
- set time-zone=+08:00
- /system identity
- set name=HotspotToraja
- /system ntp client
- set enabled=yes primary-ntp=202.162.32.12 secondary-ntp=203.114.224.31
- /system package update
- set channel=bugfix
- /system routerboard settings
- set silent-boot=no
- /system scheduler
- add interval=1w name=Backup_Mikrotik on-event=Backup_Mikrotik policy=\
- ftp,reboot,read,write,policy,test,password,sniff,sensitive,romon \
- start-date=dec/30/2017 start-time=03:50:12
- add interval=1w name=Backup_Userman on-event=Backup_Userman policy=\
- ftp,reboot,read,write,policy,test,password,sniff,sensitive,romon \
- start-date=dec/30/2017 start-time=01:50:35
- add interval=4w2d name="hapus log userman" on-event="hapus log userman" \
- policy=ftp,reboot,read,write,policy,test,password,sniff,sensitive,romon \
- start-date=dec/30/2017 start-time=01:52:39
- add interval=15m7s name="kick non login" on-event="/ip hotspot host remove [fi\
- nd where !authorized !bypassed]\r\
- \n/ip hotspot host remove [find where !authorized !bypassed]\r\
- \n/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 start-date=\
- feb/24/2018 start-time=00:00:00
- add interval=1m name="cek lokal modem PPOE" on-event=":if ( [/int get pppoe-ou\
- t1 running] ) do={\r\
- \n:if ( [/ip add get [find interface=pppoe-out1] address] in 10.0.0.0/8) d\
- o={\r\
- \n/int dis pppoe-out1\r\
- \ndelay 5\r\
- \n/int en pppoe-out1\r\
- \n}\r\
- \n}" policy=\
- ftp,reboot,read,write,policy,test,password,sniff,sensitive,romon \
- start-date=feb/25/2018 start-time=00:00:00
- add interval=1d name="off ip modem browser 2" on-event=\
- "/ip address disable [find address=\"192.168.20.187/24\"]" policy=\
- ftp,reboot,read,write,policy,test,password,sniff,sensitive,romon \
- start-date=dec/30/2017 start-time=05:59:59
- add interval=1d name="on ip modem browser 2" on-event=\
- "/ip address enable [find address=\"192.168.20.187/24\"]" policy=\
- ftp,reboot,read,write,policy,test,password,sniff,sensitive,romon \
- start-date=dec/30/2017 start-time=06:01:59
- add interval=15m 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=feb/25/2018 start-time=00:00:00
- add interval=52w1d name=C8:3A:35:78:57:60 on-event="/ip hotspot user disable [\
- find 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=apr/18/2018 start-time=02:37:13
- add interval=52w1d name=50:3C:EA:C8:09:63 on-event="/ip hotspot user disable [\
- find name=50:3C:EA:C8:09:63]\r\
- \n/ip hotspot active remove [find user=50:3C:EA:C8:09:63]\r\
- \n/system schedule remove [find name=50:3C:EA:C8:09:63]\r\
- \n/system schedule remove [find name=50:3C:EA:C8:09:63]\r\
- \n/ip hotspot cookie remove [find user=50:3C:EA:C8:09:63]" policy=\
- ftp,reboot,read,write,policy,test,password,sniff,sensitive,romon \
- start-date=apr/18/2018 start-time=19:45:52
- add interval=1d name=login_template_hotspot on-event=login_template_hotspot \
- policy=ftp,reboot,read,write,policy,test,password,sniff,sensitive,romon \
- start-date=may/18/2018 start-time=07:59:59
- add interval=52w1d name=99 on-event="/ip hotspot user disable [find name=99]\r\
- \n/ip hotspot active remove [find user=99]\r\
- \n/system schedule remove [find name=99]\r\
- \n/system schedule remove [find name=99]\r\
- \n/ip hotspot cookie remove [find user=99]" policy=\
- ftp,reboot,read,write,policy,test,password,sniff,sensitive,romon \
- start-date=jun/05/2018 start-time=07:36:47
- add interval=30m name="ip cloud force-update" on-event=\
- "ip cloud force-update" policy=\
- ftp,reboot,read,write,policy,test,password,sniff,sensitive,romon \
- start-date=jul/02/2018 start-time=00:00:00
- add interval=52w1d name=tv on-event="/ip hotspot user disable [find name=tv]\r\
- \n/ip hotspot active remove [find user=tv]\r\
- \n/system schedule remove [find name=tv]\r\
- \n/system schedule remove [find name=tv]\r\
- \n/ip hotspot cookie remove [find user=tv]" policy=\
- ftp,reboot,read,write,policy,test,password,sniff,sensitive,romon \
- start-date=aug/19/2018 start-time=15:22:10
- add interval=4w3d name="3. Paket-Antena-1-Mbs_Key" on-event="ip hotspot user s\
- et profile=\"Paket-Antena-1-Mbs_Key\" [/ip hotspot user find profile=\"qou\
- ta_habis_1Mbs_key\"]" policy=\
- ftp,reboot,read,write,policy,test,password,sniff,sensitive,romon \
- start-date=sep/15/2018 start-time=00:00:01
- add interval=4w3d name="3. Paket-Antena-1-Mbs_reset Counter_key" on-event=\
- "ip hotspot user reset-counter [find name=key89]" policy=\
- ftp,reboot,read,write,policy,test,password,sniff,sensitive,romon \
- start-date=sep/15/2018 start-time=00:01:05
- add interval=2w1d name=hapus-expired_user-mikrotik on-event=\
- hapus-expired_user-mikrotik policy=\
- ftp,reboot,read,write,policy,test,password,sniff,sensitive,romon \
- start-date=sep/15/2018 start-time=00:00:09
- add interval=4w3d name="2. Paket-Antena-1-Mbs-cris" on-event="ip hotspot user \
- set profile=\"Paket-Antena-1-Mbs\" [/ip hotspot user find profile=\"qouta_\
- habis-Paket-Antena-1-Mbs\"]" policy=\
- ftp,reboot,read,write,policy,test,password,sniff,sensitive,romon \
- start-date=sep/15/2018 start-time=00:00:01
- add interval=4w3d name="2. Paket-Antena-1-Mbs_reset Counter_Cris" on-event=\
- "ip hotspot user reset-counter [find name=cris45]" policy=\
- ftp,reboot,read,write,policy,test,password,sniff,sensitive,romon \
- start-date=sep/15/2018 start-time=00:01:05
- add interval=1d name="di sable Ggc" on-event=\
- "/ip firewall mangle disable [find comment=Koneksi-GGC]" policy=\
- reboot,read,write,test,password,sniff,sensitive,romon start-date=\
- sep/09/2018 start-time=20:01:57
- add interval=1d name="enable ggc" on-event=\
- "/ip firewall mangle enable [find comment=Koneksi-GGC]" policy=\
- reboot,read,write,test,password,sniff,sensitive,romon start-date=\
- sep/09/2018 start-time=08:00:57
- add interval=1d name="Unlimited disable" on-event=\
- "/ip firewall mangle disable [find comment=Unlimited]" policy=\
- reboot,read,write,test,password,sniff,sensitive,romon start-date=\
- jul/30/2018 start-time=06:19:54
- add interval=1d name="Unlimited enable" on-event=\
- "/ip firewall mangle enable [find comment=Unlimited]" policy=\
- reboot,read,write,test,password,sniff,sensitive,romon start-date=\
- aug/22/2018 start-time=23:00:59
- add interval=8w5d name=megi on-event="/ip hotspot user set profile=expired [fi\
- nd name=megi]\r\
- \n/ip hotspot active remove [find user=megi]\r\
- \n/system schedule remove [find name=megi]\r\
- \n/system schedule remove [find name=megi]\r\
- \n/ip hotspot cookie remove [find user=megi]" policy=\
- ftp,reboot,read,write,policy,test,password,sniff,sensitive,romon \
- start-date=oct/07/2018 start-time=19:21:28
- add interval=1w name=reboot on-event="/system reboot" policy=\
- ftp,reboot,read,write,policy,test,password,sniff,sensitive,romon \
- start-date=oct/22/2018 start-time=06:01:01
- add interval=2w1d name=hapus-expired_userman on-event=hapus-expired_userman \
- policy=ftp,reboot,read,write,policy,test,password,sniff,sensitive,romon \
- start-date=oct/15/2018 start-time=00:00:01
- add interval=8w5d name=sisil3 on-event="/ip hotspot user set profile=expired [\
- find name=sisil3]\r\
- \n/ip hotspot active remove [find user=sisil3]\r\
- \n/system schedule remove [find name=sisil3]\r\
- \n/system schedule remove [find name=sisil3]\r\
- \n/ip hotspot cookie remove [find user=sisil3]" policy=\
- ftp,reboot,read,write,policy,test,password,sniff,sensitive,romon \
- start-date=oct/24/2018 start-time=05:49:54
- add interval=30m name="kick dinamik" on-event=\
- "/ip hotspot host remove numbers=[find dynamic]" policy=\
- ftp,reboot,read,write,policy,test,password,sniff,sensitive,romon \
- start-date=oct/30/2018 start-time=00:00:00
- add interval=3h name="info-Antena enable" on-event="info-Antena enable" \
- policy=ftp,reboot,read,write,policy,test,password,sniff,sensitive,romon \
- start-date=oct/31/2018 start-time=00:00:00
- add interval=3h10m name="info-Antena disable" on-event="info-Antena disable" \
- policy=ftp,reboot,read,write,policy,test,password,sniff,sensitive,romon \
- start-date=oct/31/2018 start-time=00:00:00
- add interval=4w3d name=jeff123 on-event="/ip hotspot user set profile=expired \
- [find name=jeff123]\r\
- \n/ip hotspot active remove [find user=jeff123]\r\
- \n/system schedule remove [find name=jeff123]\r\
- \n/system schedule remove [find name=jeff123]\r\
- \n/ip hotspot cookie remove [find user=jeff123]" policy=\
- ftp,reboot,read,write,policy,test,password,sniff,sensitive,romon \
- start-date=nov/05/2018 start-time=18:05:37
- add interval=4w3d name=key89 on-event="/ip hotspot user set profile=expired [f\
- ind name=key89]\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=nov/17/2018 start-time=19:28:52
- add interval=4w3d name=sultan on-event="/ip hotspot user set profile=expired [\
- find name=sultan]\r\
- \n/ip hotspot active remove [find user=sultan]\r\
- \n/system schedule remove [find name=sultan]\r\
- \n/system schedule remove [find name=sultan]\r\
- \n/ip hotspot cookie remove [find user=sultan]" policy=\
- ftp,reboot,read,write,policy,test,password,sniff,sensitive,romon \
- start-date=nov/19/2018 start-time=20:34:00
- add interval=4w3d name=wawan on-event="/ip hotspot user set profile=expired [f\
- ind name=wawan]\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=nov/22/2018 start-time=19:06:02
- add interval=4w3d name=sisil2 on-event="/ip hotspot user set profile=expired [\
- find name=sisil2]\r\
- \n/ip hotspot active remove [find user=sisil2]\r\
- \n/system schedule remove [find name=sisil2]\r\
- \n/system schedule remove [find name=sisil2]\r\
- \n/ip hotspot cookie remove [find user=sisil2]" policy=\
- ftp,reboot,read,write,policy,test,password,sniff,sensitive,romon \
- start-date=nov/23/2018 start-time=21:13:42
- add interval=3d name=27110237 on-event="/ip hotspot user set profile=expired [\
- find name=27110237]\r\
- \n/ip hotspot active remove [find user=27110237]\r\
- \n/ip hotspot cookie remove [find user=27110237]\r\
- \n/system schedule remove [find name=27110237]" policy=\
- ftp,reboot,read,write,policy,test,password,sniff,sensitive,romon \
- start-date=nov/28/2018 start-time=18:12:56
- add interval=3d name=27113753 on-event="/ip hotspot user set profile=expired [\
- find name=27113753]\r\
- \n/ip hotspot active remove [find user=27113753]\r\
- \n/ip hotspot cookie remove [find user=27113753]\r\
- \n/system schedule remove [find name=27113753]" policy=\
- ftp,reboot,read,write,policy,test,password,sniff,sensitive,romon \
- start-date=nov/28/2018 start-time=18:56:11
- add interval=3d name=27110315 on-event="/ip hotspot user set profile=expired [\
- find name=27110315]\r\
- \n/ip hotspot active remove [find user=27110315]\r\
- \n/ip hotspot cookie remove [find user=27110315]\r\
- \n/system schedule remove [find name=27110315]" policy=\
- ftp,reboot,read,write,policy,test,password,sniff,sensitive,romon \
- start-date=nov/28/2018 start-time=19:37:34
- add interval=3d name=27115364 on-event="/ip hotspot user set profile=expired [\
- find name=27115364]\r\
- \n/ip hotspot active remove [find user=27115364]\r\
- \n/ip hotspot cookie remove [find user=27115364]\r\
- \n/system schedule remove [find name=27115364]" policy=\
- ftp,reboot,read,write,policy,test,password,sniff,sensitive,romon \
- start-date=nov/29/2018 start-time=10:17:51
- add interval=3d name=15107792 on-event="/ip hotspot user set profile=expired [\
- find name=15107792]\r\
- \n/ip hotspot active remove [find user=15107792]\r\
- \n/ip hotspot cookie remove [find user=15107792]\r\
- \n/system schedule remove [find name=15107792]" policy=\
- ftp,reboot,read,write,policy,test,password,sniff,sensitive,romon \
- start-date=nov/29/2018 start-time=17:20:13
- add interval=3d name=27111449 on-event="/ip hotspot user set profile=expired [\
- find name=27111449]\r\
- \n/ip hotspot active remove [find user=27111449]\r\
- \n/ip hotspot cookie remove [find user=27111449]\r\
- \n/system schedule remove [find name=27111449]" policy=\
- ftp,reboot,read,write,policy,test,password,sniff,sensitive,romon \
- start-date=nov/29/2018 start-time=18:13:09
- add interval=3d name=27116281 on-event="/ip hotspot user set profile=expired [\
- find name=27116281]\r\
- \n/ip hotspot active remove [find user=27116281]\r\
- \n/ip hotspot cookie remove [find user=27116281]\r\
- \n/system schedule remove [find name=27116281]" policy=\
- ftp,reboot,read,write,policy,test,password,sniff,sensitive,romon \
- start-date=nov/29/2018 start-time=18:20:53
- add interval=3d name=27117911 on-event="/ip hotspot user set profile=expired [\
- find name=27117911]\r\
- \n/ip hotspot active remove [find user=27117911]\r\
- \n/ip hotspot cookie remove [find user=27117911]\r\
- \n/system schedule remove [find name=27117911]" policy=\
- ftp,reboot,read,write,policy,test,password,sniff,sensitive,romon \
- start-date=nov/29/2018 start-time=20:31:26
- add interval=3d name=27113743 on-event="/ip hotspot user set profile=expired [\
- find name=27113743]\r\
- \n/ip hotspot active remove [find user=27113743]\r\
- \n/ip hotspot cookie remove [find user=27113743]\r\
- \n/system schedule remove [find name=27113743]" policy=\
- ftp,reboot,read,write,policy,test,password,sniff,sensitive,romon \
- start-date=nov/30/2018 start-time=12:50:44
- add interval=3d name=29115548 on-event="/ip hotspot user set profile=expired [\
- find name=29115548]\r\
- \n/ip hotspot active remove [find user=29115548]\r\
- \n/ip hotspot cookie remove [find user=29115548]\r\
- \n/system schedule remove [find name=29115548]" policy=\
- ftp,reboot,read,write,policy,test,password,sniff,sensitive,romon \
- start-date=nov/30/2018 start-time=13:08:24
- add interval=1d name="flus dns" on-event="/ip dns cache flush" policy=\
- ftp,reboot,read,write,policy,test,password,sniff,sensitive,romon \
- start-date=nov/30/2018 start-time=08:00:59
- add interval=3d name=29112108 on-event="/ip hotspot user set profile=expired [\
- find name=29112108]\r\
- \n/ip hotspot active remove [find user=29112108]\r\
- \n/ip hotspot cookie remove [find user=29112108]\r\
- \n/system schedule remove [find name=29112108]" policy=\
- ftp,reboot,read,write,policy,test,password,sniff,sensitive,romon \
- start-date=nov/30/2018 start-time=19:17:24
- /system script
- add name="kick hotspot" owner=aisyah policy=\
- ftp,reboot,read,write,policy,test,password,sniff,sensitive source=":local \
- dumplist [/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}"
- add name=Jablay-koneksi owner=aisyah policy=\
- ftp,reboot,read,write,policy,test,password,sniff,sensitive source=":beep l\
- ength=300ms frequency=1046.5022612024\r\
- \n:delay 350ms\r\
- \n:beep length=300ms frequency=1318.5102276515\r\
- \n:delay 350ms\r\
- \n:beep length=300ms frequency=1318.5102276515\r\
- \n:delay 350ms\r\
- \n:beep length=300ms frequency=1174.6590716696\r\
- \n:delay 350ms\r\
- \n:beep length=300ms frequency=1046.5022612024\r\
- \n:delay 350ms\r\
- \n:beep length=650ms frequency=987.7666025122\r\
- \n:delay 700ms\r\
- \n:beep length=300ms frequency=987.7666025122\r\
- \n:delay 350ms\r\
- \n:beep length=300ms frequency=1046.5022612024\r\
- \n:delay 350ms\r\
- \n:beep length=300ms frequency=1174.6590716696\r\
- \n:delay 350ms\r\
- \n:beep length=300ms frequency=1318.5102276515\r\
- \n:delay 350ms\r\
- \n:beep length=175ms frequency=1046.5022612024\r\
- \n:delay 175ms\r\
- \n:beep length=175ms frequency=1174.6590716696\r\
- \n:delay 175ms\r\
- \n:beep length=175ms frequency=987.7666025122\r\
- \n:delay 175ms\r\
- \n:beep length=175ms frequency=1046.5022612024\r\
- \n:delay 175ms\r\
- \n:beep length=650ms frequency=880\r\
- \n:delay 1050ms\r\
- \n:beep length=300ms frequency=1046.5022612024\r\
- \n:delay 350ms\r\
- \n:beep length=300ms frequency=1318.5102276515\r\
- \n:delay 350ms\r\
- \n:beep length=300ms frequency=1318.5102276515\r\
- \n:delay 350ms\r\
- \n:beep length=300ms frequency=1174.6590716696\r\
- \n:delay 350ms\r\
- \n:beep length=300ms frequency=1046.5022612024\r\
- \n:delay 350ms\r\
- \n:beep length=650ms frequency=987.7666025122\r\
- \n:delay 700ms\r\
- \n:beep length=300ms frequency=987.7666025122\r\
- \n:delay 350ms\r\
- \n:beep length=300ms frequency=1046.5022612024\r\
- \n:delay 350ms\r\
- \n:beep length=300ms frequency=1174.6590716696\r\
- \n:delay 350ms\r\
- \n:beep length=300ms frequency=1318.5102276515\r\
- \n:delay 350ms\r\
- \n:beep length=175ms frequency=1046.5022612024\r\
- \n:delay 175ms\r\
- \n:beep length=175ms frequency=1174.6590716696\r\
- \n:delay 175ms\r\
- \n:beep length=175ms frequency=987.7666025122\r\
- \n:delay 175ms\r\
- \n:beep length=175ms frequency=1046.5022612024\r\
- \n:delay 175ms\r\
- \n:beep length=650ms frequency=880\r\
- \n"
- add name=hapus-expired_userman owner=aisyah policy=\
- ftp,reboot,read,write,policy,test,password,sniff,sensitive source=":local \
- username\r\
- \n\r\
- \n:foreach i in [/tool user-manager user find where !actual-profile] do={\
- \r\
- \n :set username [/tool user-manager user get \$i username]\r\
- \n :log warning (\"Remove user name \$username\")\r\
- \n [/tool user-manager user remove \$i]\r\
- \n}"
- add name="hapus log userman" owner=aisyah policy=\
- ftp,reboot,read,write,policy,test,password,sniff,sensitive source=":foreac\
- h i in=[/tool user-manager log find] do={\r\
- \n:log warning \"delete log user \$[/tool user-manager log get \$i user]\"\
- \r\
- \n/tool user-manager log remove \$i\r\
- \n}\r\
- \n:log info \"====== delete log user hotspot selesai!..=====\""
- add name=Backup_Mikrotik owner=aisyah policy=\
- ftp,reboot,read,write,policy,test,password,sniff,sensitive source=":log in\
- fo \"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=\"hotspottoraja@gmail.com\" password=a1b2c3kafilah \
- 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=\"hotspottoraja@gmail.com\" password=a1b2c3kafilah \
- 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=Backup_Userman owner=aisyah policy=\
- ftp,reboot,read,write,policy,test,password,sniff,sensitive,romon source="#\
- ----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"
- add name=login_template_hotspot owner=aisyah policy=\
- ftp,reboot,read,write,policy,test,password,sniff,sensitive,romon source=\
- "/ip hotspot profile set 1 html-directory=\"hotspot\""
- add name="kick non login" owner=aisyah policy=\
- ftp,reboot,read,write,policy,test,password,sniff,sensitive,romon source="/\
- ip hotspot host remove [find where !authorized !bypassed]\r\
- \n/ip hotspot host remove [find where !authorized !bypassed]"
- add name="Open Dns" owner=aisyah policy=\
- ftp,reboot,read,write,policy,test,password,sniff,sensitive,romon source="/\
- ip dns\r\
- \nset allow-remote-requests=yes max-udp-packet-size=2000 servers=\\\r\
- \n 208.67.220.220,208.67.222.222"
- add name="Dns Sehat" owner=aisyah policy=\
- ftp,reboot,read,write,policy,test,password,sniff,sensitive,romon source="/\
- ip dns\r\
- \nset allow-remote-requests=yes max-udp-packet-size=2000 servers=\\\r\
- \n \r\
- \n1.1.1.1,208.67.222.222,208.67.220.220,103.80.80.248,103.80.80.249,8.8.8.\
- 8,8.8.4.4"
- add name="di sable dns" owner=aisyah policy=\
- ftp,reboot,read,write,policy,test,password,sniff,sensitive,romon source=\
- "ip route disable [find comment=DNS]"
- add name="cek rto" owner=aisyah policy=\
- ftp,reboot,read,write,policy,test,password,sniff,sensitive,romon source=":\
- if ([/ping 1.1.1.1 count=5] = 0) do={\r\
- \n:local datetime1 [/system clock get date]\r\
- \n:local datetime2 [/system clock get time]\r\
- \n:log error \"RTO pada jam [ \$datetime2 ] tanggal [ \$datetime1 ]\"\r\
- \n/tool fetch url=\"https://api.telegram.org/bot492969668:AAER40y5KC3a6q1o\
- GRIscW2WkJ9u8DaiSCY/sendMessage\?chat_id=458752171&text=Hotspot-Toraja ->>\
- \_RTO pada jam [ \$datetime2 ] tanggal [ \$datetime1 ] \" keep-result=no \
- \r\
- \n}"
- add name="DNS disable" owner=aisyah policy=\
- ftp,reboot,read,write,policy,test,password,sniff,sensitive,romon source=\
- "/ip route disable [find comment=DNS]"
- add name="DNS enable" owner=aisyah policy=\
- ftp,reboot,read,write,policy,test,password,sniff,sensitive,romon source=\
- "ip route enable [find comment=DNS]"
- add name="cek rto open dns" owner=aisyah policy=\
- ftp,reboot,read,write,policy,test,password,sniff,sensitive,romon source=":\
- if ([/ping 208.67.220.220 count=5] = 0) do={\r\
- \n:local datetime1 [/system clock get date]\r\
- \n:local datetime2 [/system clock get time]\r\
- \n:log error \"RTO pada jam [ \$datetime2 ] tanggal [ \$datetime1 ]\"\r\
- \n/tool fetch url=\"https://api.telegram.org/bot492969668:AAER40y5KC3a6q1o\
- GRIscW2WkJ9u8DaiSCY/sendMessage\?chat_id=458752171&text=open-dns ->> RTO p\
- ada jam [ \$datetime2 ] tanggal [ \$datetime1 ] \" keep-result=no \r\
- \n}"
- add name=hapus-expired_user-mikrotik owner=aisyah policy=\
- ftp,reboot,read,write,policy,test,password,sniff,sensitive,romon source=\
- "ip hotspot user remove [find profile=\"expired\"]"
- add name="cek ip publik" owner=aisyah policy=\
- ftp,reboot,read,write,policy,test,password,sniff,sensitive,romon source="/\
- tool fetch url=\"https://wtfismyip.com/text/\" mode=https dst-path=myip.tx\
- t\r\
- \n:local ipaddr [file get myip.txt contents ];\r\
- \n:log warning \" IP Address = \$ipaddr\""
- add name="info-Antena enable" owner=aisyah policy=\
- ftp,reboot,read,write,policy,test,password,sniff,sensitive,romon source=\
- "/tool netwatch enable [find comment=info-Antena]"
- add name="info-Antena disable" owner=aisyah policy=\
- ftp,reboot,read,write,policy,test,password,sniff,sensitive,romon source=\
- "/tool netwatch disable [find comment=info-Antena]"
- add name="di sable no internet" owner=aisyah policy=\
- ftp,reboot,read,write,policy,test,password,sniff,sensitive,romon source=\
- "ip firewall address-list enable [find comment=no]"
- /tool e-mail
- set address=74.125.130.108 from=hotspottoraja@gmail.com password=\
- a1b2c3kafilah port=587 start-tls=yes user=backuphotspotaisyah@gmail.com
- /tool mac-server
- set allowed-interface-list=none
- /tool mac-server mac-winbox
- set allowed-interface-list=none
- /tool netwatch
- add comment="Jaringan Down" down-script=\
- "/queue simple set \"1. Global\" max-limit=512k/4500k" host=192.168.20.1 \
- interval=3m40s up-script=\
- "/queue simple set \"1. Global\" max-limit=5M/27M"
- add down-script=\
- "/queue simple set \"3. Download / Upload\" max-limit=384k/3500k" host=\
- 192.168.20.1 interval=3m40s up-script=\
- "/queue simple set \"3. Download / Upload\" max-limit=4M/25M"
- add comment="Info login down" down-script=\
- "/ip hotspot profile set 1 html-directory=\"aisyah\"" host=1.1.1.1 \
- interval=2m up-script=\
- "/ip hotspot profile set 1 html-directory=\"hotspot\""
- add comment="di sable modem 2" down-script=\
- "/ip address disable [find address=\"192.168.20.187/24\"]" host=\
- 192.168.10.1 interval=10s up-script=\
- "/ip address enable [find address=\"192.168.20.187/24\"]"
- add down-script="/queue simple set \"1. Warnet\" max-limit=384k/2500k" host=\
- 192.168.20.1 interval=3m40s up-script=\
- "/queue simple set \"1. Warnet\" max-limit=2M/21M"
- add down-script="/queue simple set \"2. Hotspot\" max-limit=384k/3500k" host=\
- 192.168.20.1 interval=3m40s up-script=\
- "/queue simple set \"2. Hotspot\" max-limit=3M/23M"
- add down-script="/queue simple set \"2. Vouceran\" max-limit=384k/3500k" \
- host=192.168.20.1 interval=3m40s up-script=\
- "/queue simple set \"2. Vouceran\" max-limit=3M/21M"
- add down-script="/queue simple set \"0. Ggc\" max-limit=384k/1500k" host=\
- 192.168.20.1 interval=3m40s up-script=\
- "/queue simple set \"0. Ggc\" max-limit=1M/10M"
- add down-script="/queue simple set \"0. Ggc\" max-limit=384k/1500k" host=\
- 192.168.20.1 interval=3m40s up-script=\
- "/queue simple set \"1. Ggc\" max-limit=1M/5M"
- add comment="Info Modem" down-script="/tool fetch url=\"https://api.telegram.o\
- rg/bot492969668:AAER40y5KC3a6q1oGRIscW2WkJ9u8DaiSCY/sendMessage\?chat_id=4\
- 58752171&text=Down_Modem\" keep-result=no" host=192.168.20.1 timeout=\
- 300ms up-script="/tool fetch url=\"https://api.telegram.org/bot492969668:A\
- AER40y5KC3a6q1oGRIscW2WkJ9u8DaiSCY/sendMessage\?chat_id=458752171&text=Up_\
- Modem\" keep-result=no"
- add comment=Koneksi-GGC down-script=\
- "/ip firewall mangle disable [find comment=Koneksi-GGC]" host=\
- 172.16.16.51 interval=5m up-script=\
- "/ip firewall mangle enable [find comment=Koneksi-GGC]"
- add comment="route dns sehat" down-script=\
- "/ip route disable [find comment=route_Dns-sehat]" host=103.80.80.249 \
- timeout=300ms up-script="/ip route enable [find comment=route_Dns-sehat]"
- add comment=info-Antena down-script=":if ([/ping 172.16.16.50 count=5] = 0) do\
- ={\r\
- \n:local datetime1 [/system clock get date]\r\
- \n:local datetime2 [/system clock get time]\r\
- \n:log error \"Ap-50RTO pada jam [ \$datetime2 ] tanggal [ \$datetime1 ]\"\
- \r\
- \n/tool fetch url=\"https://api.telegram.org/bot492969668:AAER40y5KC3a6q1o\
- GRIscW2WkJ9u8DaiSCY/sendMessage\?chat_id=458752171&text=Ap-50 Down ->> RTO\
- \_pada jam [ \$datetime2 ] tanggal [ \$datetime1 ] \" keep-result=no \r\
- \n}" host=172.16.16.50 up-script="/tool fetch url=\"https://api.telegram.o\
- rg/bot492969668:AAER40y5KC3a6q1oGRIscW2WkJ9u8DaiSCY/sendMessage\?chat_id=4\
- 58752171&text=Ap-50 up\" keep-result=no"
- add comment=info-Antena down-script=":if ([/ping 172.16.16.51 count=5] = 0) do\
- ={\r\
- \n:local datetime1 [/system clock get date]\r\
- \n:local datetime2 [/system clock get time]\r\
- \n:log error \"Ap-51RTO pada jam [ \$datetime2 ] tanggal [ \$datetime1 ]\"\
- \r\
- \n/tool fetch url=\"https://api.telegram.org/bot492969668:AAER40y5KC3a6q1o\
- GRIscW2WkJ9u8DaiSCY/sendMessage\?chat_id=458752171&text=Ap-51 Down ->> RTO\
- \_pada jam [ \$datetime2 ] tanggal [ \$datetime1 ] \" keep-result=no \r\
- \n}" host=172.16.16.51 up-script="/tool fetch url=\"https://api.telegram.o\
- rg/bot492969668:AAER40y5KC3a6q1oGRIscW2WkJ9u8DaiSCY/sendMessage\?chat_id=4\
- 58752171&text=Ap-51 up\" keep-result=no"
- add comment=info-Antena down-script=":if ([/ping 172.16.16.55 count=5] = 0) do\
- ={\r\
- \n:local datetime1 [/system clock get date]\r\
- \n:local datetime2 [/system clock get time]\r\
- \n:log error \"Ap-55RTO pada jam [ \$datetime2 ] tanggal [ \$datetime1 ]\"\
- \r\
- \n/tool fetch url=\"https://api.telegram.org/bot492969668:AAER40y5KC3a6q1o\
- GRIscW2WkJ9u8DaiSCY/sendMessage\?chat_id=458752171&text=Ap-55 Down ->> RTO\
- \_pada jam [ \$datetime2 ] tanggal [ \$datetime1 ] \" keep-result=no \r\
- \n}" host=172.16.16.55 up-script="/tool fetch url=\"https://api.telegram.o\
- rg/bot492969668:AAER40y5KC3a6q1oGRIscW2WkJ9u8DaiSCY/sendMessage\?chat_id=4\
- 58752171&text=Ap-55 up\" keep-result=no"
- add comment=info-Antena down-script=":if ([/ping 172.16.16.200 count=5] = 0) d\
- o={\r\
- \n:local datetime1 [/system clock get date]\r\
- \n:local datetime2 [/system clock get time]\r\
- \n:log error \"Ap-200RTO pada jam [ \$datetime2 ] tanggal [ \$datetime1 ]\
- \"\r\
- \n/tool fetch url=\"https://api.telegram.org/bot492969668:AAER40y5KC3a6q1o\
- GRIscW2WkJ9u8DaiSCY/sendMessage\?chat_id=458752171&text=Ap-200 Down ->> RT\
- O pada jam [ \$datetime2 ] tanggal [ \$datetime1 ] \" keep-result=no \r\
- \n}" host=172.16.16.200 up-script="/tool fetch url=\"https://api.telegram.\
- org/bot492969668:AAER40y5KC3a6q1oGRIscW2WkJ9u8DaiSCY/sendMessage\?chat_id=\
- 458752171&text=ApAirmaxPusat-200 up\" keep-result=no"
- add comment=info-Antena down-script=":if ([/ping 172.16.16.201 count=5] = 0) d\
- o={\r\
- \n:local datetime1 [/system clock get date]\r\
- \n:local datetime2 [/system clock get time]\r\
- \n:log error \"Ap-201RTO pada jam [ \$datetime2 ] tanggal [ \$datetime1 ]\
- \"\r\
- \n/tool fetch url=\"https://api.telegram.org/bot492969668:AAER40y5KC3a6q1o\
- GRIscW2WkJ9u8DaiSCY/sendMessage\?chat_id=458752171&text=Ap-201 Down ->> RT\
- O pada jam [ \$datetime2 ] tanggal [ \$datetime1 ] \" keep-result=no \r\
- \n}" host=172.16.16.201 interval=30s up-script="/tool fetch url=\"https://\
- api.telegram.org/bot492969668:AAER40y5KC3a6q1oGRIscW2WkJ9u8DaiSCY/sendMess\
- age\?chat_id=458752171&text=ApGita-201 up\" keep-result=no"
- add comment=info-Antena down-script=":if ([/ping 172.16.16.202 count=5] = 0) d\
- o={\r\
- \n:local datetime1 [/system clock get date]\r\
- \n:local datetime2 [/system clock get time]\r\
- \n:log error \"Apkey-202RTO pada jam [ \$datetime2 ] tanggal [ \$datetime1\
- \_]\"\r\
- \n/tool fetch url=\"https://api.telegram.org/bot492969668:AAER40y5KC3a6q1o\
- GRIscW2WkJ9u8DaiSCY/sendMessage\?chat_id=458752171&text=Apkey-202 Down ->>\
- \_RTO pada jam [ \$datetime2 ] tanggal [ \$datetime1 ] \" keep-result=no \
- \r\
- \n}" host=172.16.16.202 interval=30s up-script="/tool fetch url=\"https://\
- api.telegram.org/bot492969668:AAER40y5KC3a6q1oGRIscW2WkJ9u8DaiSCY/sendMess\
- age\?chat_id=458752171&text=ApKey-202 up\" keep-result=no"
- add comment=info-Antena down-script=":if ([/ping 172.16.16.203 count=5] = 0) d\
- o={\r\
- \n:local datetime1 [/system clock get date]\r\
- \n:local datetime2 [/system clock get time]\r\
- \n:log error \"Ap-203RTO pada jam [ \$datetime2 ] tanggal [ \$datetime1 ]\
- \"\r\
- \n/tool fetch url=\"https://api.telegram.org/bot492969668:AAER40y5KC3a6q1o\
- GRIscW2WkJ9u8DaiSCY/sendMessage\?chat_id=458752171&text=Ap-203 Down ->> RT\
- O pada jam [ \$datetime2 ] tanggal [ \$datetime1 ] \" keep-result=no \r\
- \n}" host=172.16.16.203 interval=30s up-script="/tool fetch url=\"https://\
- api.telegram.org/bot492969668:AAER40y5KC3a6q1oGRIscW2WkJ9u8DaiSCY/sendMess\
- age\?chat_id=458752171&text=ApTallo-203 up\" keep-result=no"
- add comment=info-Antena down-script=":if ([/ping 172.16.16.205 count=5] = 0) d\
- o={\r\
- \n:local datetime1 [/system clock get date]\r\
- \n:local datetime2 [/system clock get time]\r\
- \n:log error \"Ap-205RTO pada jam [ \$datetime2 ] tanggal [ \$datetime1 ]\
- \"\r\
- \n/tool fetch url=\"https://api.telegram.org/bot492969668:AAER40y5KC3a6q1o\
- GRIscW2WkJ9u8DaiSCY/sendMessage\?chat_id=458752171&text=Ap-205 Down ->> RT\
- O pada jam [ \$datetime2 ] tanggal [ \$datetime1 ] \" keep-result=no \r\
- \n}" host=172.16.16.205 interval=30s up-script="/tool fetch url=\"https://\
- api.telegram.org/bot492969668:AAER40y5KC3a6q1oGRIscW2WkJ9u8DaiSCY/sendMess\
- age\?chat_id=458752171&text=ApCris-205 up\" keep-result=no"
- add comment="set dns" down-script="/ip dns\r\
- \nset allow-remote-requests=yes max-udp-packet-size=2000 servers=\\\r\
- \n 208.67.220.220,208.67.222.222" host=103.80.80.249 up-script="/ip dns\
- \r\
- \nset allow-remote-requests=yes max-udp-packet-size=2000 servers=\\\r\
- \n \r\
- \n1.1.1.1,208.67.222.222,208.67.220.220,103.80.80.248,103.80.80.249,8.8.8.\
- 8,8.8.4.4"
- add comment="route ip route manggle" down-script=\
- "/queue simple set \"3. Download / Upload\" max-limit=384k/3500k" host=\
- 8.8.4.4 interval=3m40s up-script=\
- "/queue simple set \"3. Download / Upload\" max-limit=4M/25M"
- /tool user-manager database
- set db-path=user-manager
- /tool user-manager profile profile-limitation
- add from-time=0s till-time=23h59m59s weekdays=\
- sunday,monday,tuesday,wednesday,thursday,friday,saturday
- add from-time=0s till-time=23h59m59s weekdays=\
- sunday,monday,tuesday,wednesday,thursday,friday,saturday
- add from-time=0s till-time=23h59m59s weekdays=\
- sunday,monday,tuesday,wednesday,thursday,friday,saturday
- add from-time=0s till-time=23h59m59s weekdays=\
- sunday,monday,tuesday,wednesday,thursday,friday,saturday
- add from-time=0s profile=expired till-time=23h59m59s weekdays=\
- sunday,monday,tuesday,wednesday,thursday,friday,saturday
- add from-time=0s limitation=expired profile=expired till-time=23h59m59s \
- weekdays=sunday,monday,tuesday,wednesday,thursday,friday,saturday
- add from-time=0s till-time=23h59m59s weekdays=\
- sunday,monday,tuesday,wednesday,thursday,friday,saturday
- add from-time=0s till-time=23h59m59s weekdays=\
- sunday,monday,tuesday,wednesday,thursday,friday,saturday
- add from-time=0s till-time=23h59m59s weekdays=\
- sunday,monday,tuesday,wednesday,thursday,friday,saturday
- add from-time=0s till-time=23h59m59s weekdays=\
- sunday,monday,tuesday,wednesday,thursday,friday,saturday
- add from-time=0s till-time=23h59m59s weekdays=\
- sunday,monday,tuesday,wednesday,thursday,friday,saturday
- add from-time=0s till-time=23h59m59s weekdays=\
- sunday,monday,tuesday,wednesday,thursday,friday,saturday
- add from-time=0s till-time=23h59m59s weekdays=\
- sunday,monday,tuesday,wednesday,thursday,friday,saturday
- add from-time=0s till-time=23h59m59s weekdays=\
- sunday,monday,tuesday,wednesday,thursday,friday,saturday
- add from-time=0s till-time=23h59m59s weekdays=\
- sunday,monday,tuesday,wednesday,thursday,friday,saturday
- add from-time=0s till-time=23h59m59s weekdays=\
- sunday,monday,tuesday,wednesday,thursday,friday,saturday
- add from-time=0s profile=expired till-time=23h59m59s weekdays=\
- sunday,monday,tuesday,wednesday,thursday,friday,saturday
- add from-time=0s limitation=expired profile=expired till-time=23h59m59s \
- weekdays=sunday,monday,tuesday,wednesday,thursday,friday,saturday
- add from-time=0s till-time=23h59m59s weekdays=\
- sunday,monday,tuesday,wednesday,thursday,friday,saturday
- add from-time=0s till-time=23h59m59s weekdays=\
- sunday,monday,tuesday,wednesday,thursday,friday,saturday
- add from-time=0s till-time=23h59m59s weekdays=\
- sunday,monday,tuesday,wednesday,thursday,friday,saturday
- add from-time=0s till-time=23h59m59s weekdays=\
- sunday,monday,tuesday,wednesday,thursday,friday,saturday
- add from-time=0s till-time=23h59m59s weekdays=\
- sunday,monday,tuesday,wednesday,thursday,friday,saturday
- add from-time=0s till-time=23h59m59s weekdays=\
- sunday,monday,tuesday,wednesday,thursday,friday,saturday
- add from-time=0s till-time=23h59m59s weekdays=\
- sunday,monday,tuesday,wednesday,thursday,friday,saturday
- add from-time=0s till-time=23h59m59s weekdays=\
- sunday,monday,tuesday,wednesday,thursday,friday,saturday
- add from-time=0s till-time=23h59m59s weekdays=\
- sunday,monday,tuesday,wednesday,thursday,friday,saturday
- add from-time=0s till-time=23h59m59s weekdays=\
- sunday,monday,tuesday,wednesday,thursday,friday,saturday
- add from-time=0s till-time=23h59m59s weekdays=\
- sunday,monday,tuesday,wednesday,thursday,friday,saturday
- add from-time=0s till-time=23h59m59s weekdays=\
- sunday,monday,tuesday,wednesday,thursday,friday,saturday
- add from-time=0s till-time=23h59m59s weekdays=\
- sunday,monday,tuesday,wednesday,thursday,friday,saturday
- add from-time=0s till-time=23h59m59s weekdays=\
- sunday,monday,tuesday,wednesday,thursday,friday,saturday
- add from-time=0s till-time=23h59m59s weekdays=\
- sunday,monday,tuesday,wednesday,thursday,friday,saturday
- add from-time=0s till-time=23h59m59s weekdays=\
- sunday,monday,tuesday,wednesday,thursday,friday,saturday
- add from-time=0s till-time=23h59m59s weekdays=\
- sunday,monday,tuesday,wednesday,thursday,friday,saturday
- add from-time=0s till-time=23h59m59s weekdays=\
- sunday,monday,tuesday,wednesday,thursday,friday,saturday
- add from-time=0s till-time=23h59m59s weekdays=\
- sunday,monday,tuesday,wednesday,thursday,friday,saturday
- add from-time=0s till-time=23h59m59s weekdays=\
- sunday,monday,tuesday,wednesday,thursday,friday,saturday
- add from-time=0s till-time=23h59m59s weekdays=\
- sunday,monday,tuesday,wednesday,thursday,friday,saturday
- add from-time=0s till-time=23h59m59s weekdays=\
- sunday,monday,tuesday,wednesday,thursday,friday,saturday
- add from-time=0s till-time=23h59m59s weekdays=\
- sunday,monday,tuesday,wednesday,thursday,friday,saturday
- add from-time=0s till-time=23h59m59s weekdays=\
- sunday,monday,tuesday,wednesday,thursday,friday,saturday
- add from-time=0s till-time=23h59m59s weekdays=\
- sunday,monday,tuesday,wednesday,thursday,friday,saturday
- add from-time=0s till-time=23h59m59s weekdays=\
- sunday,monday,tuesday,wednesday,thursday,friday,saturday
- add from-time=0s till-time=23h59m59s weekdays=\
- sunday,monday,tuesday,wednesday,thursday,friday,saturday
- add from-time=0s till-time=23h59m59s weekdays=\
- sunday,monday,tuesday,wednesday,thursday,friday,saturday
- add from-time=0s till-time=23h59m59s weekdays=\
- sunday,monday,tuesday,wednesday,thursday,friday,saturday
- add from-time=0s till-time=23h59m59s weekdays=\
- sunday,monday,tuesday,wednesday,thursday,friday,saturday
- add from-time=0s limitation="PAKET KAFILAH 19 JAM - AKTIF 2 MINGGU" \
- till-time=23h59m59s weekdays=\
- sunday,monday,tuesday,wednesday,thursday,friday,saturday
- add from-time=0s limitation="PAKET AISYAH 4 JAM - AKTIF 3 HARI" till-time=\
- 23h59m59s weekdays=\
- sunday,monday,tuesday,wednesday,thursday,friday,saturday
- add from-time=0s limitation="PAKET AISYAH 4 JAM - AKTIF 3 HARI" profile=\
- "PAKET AISYAH 4 JAM - AKTIF 3 HARI" till-time=23h59m59s weekdays=\
- sunday,monday,tuesday,wednesday,thursday,friday,saturday
- add from-time=0s limitation="PAKET AISYAH 4 JAM - AKTIF 3 HARI" profile=\
- "PAKET AISYAH 4 JAM - AKTIF 3 HARI" till-time=23h59m59s weekdays=\
- sunday,monday,tuesday,wednesday,thursday,friday,saturday
- add from-time=0s limitation="BANDWITH PAKET AISYAH 4 JAM - AKTIF 3 HARI" \
- profile="PAKET AISYAH 4 JAM - AKTIF 3 HARI" till-time=23h59m59s weekdays=\
- sunday,monday,tuesday,wednesday,thursday,friday,saturday
- add from-time=0s till-time=23h59m59s weekdays=\
- sunday,monday,tuesday,wednesday,thursday,friday,saturday
- add from-time=0s limitation="PAKET KAFILAH 19 JAM - AKTIF 2 MINGGU" \
- till-time=23h59m59s weekdays=\
- sunday,monday,tuesday,wednesday,thursday,friday,saturday
- add from-time=0s limitation="BANDWITH PAKET KAFILAH 19 JAM - AKTIF 2 MINGGU" \
- till-time=23h59m59s weekdays=\
- sunday,monday,tuesday,wednesday,thursday,friday,saturday
- add from-time=0s till-time=23h59m59s weekdays=\
- sunday,monday,tuesday,wednesday,thursday,friday,saturday
- add from-time=0s till-time=23h59m59s weekdays=\
- sunday,monday,tuesday,wednesday,thursday,friday,saturday
- add from-time=0s till-time=23h59m59s weekdays=\
- sunday,monday,tuesday,wednesday,thursday,friday,saturday
- add from-time=0s limitation="PAKET KAFILAH 19 JAM - AKTIF 2 MINGGU" profile=\
- "PAKET KAFILAH 19 JAM - AKTIF 2 MINGGU" till-time=23h59m59s weekdays=\
- sunday,monday,tuesday,wednesday,thursday,friday,saturday
- add from-time=0s limitation="BANDWITH PAKET KAFILAH 19 JAM - AKTIF 2 MINGGU" \
- profile="PAKET KAFILAH 19 JAM - AKTIF 2 MINGGU" till-time=23h59m59s \
- weekdays=sunday,monday,tuesday,wednesday,thursday,friday,saturday
- add from-time=0s limitation="Paket ppoe 2 Mbs" profile="Paket ppoe 2 Mbs" \
- till-time=23h59m59s weekdays=\
- sunday,monday,tuesday,wednesday,thursday,friday,saturday
- add from-time=0s limitation="Qouta ppoe 2 Mbs" profile="Qouta ppoe 2 Mbs" \
- till-time=23h59m59s weekdays=\
- sunday,monday,tuesday,wednesday,thursday,friday,saturday
- add from-time=0s limitation="Paket Qouta" profile=\
- "Paket Qouta - Aktif 1 Bulan" till-time=23h59m59s weekdays=\
- sunday,monday,tuesday,wednesday,thursday,friday,saturday
- add from-time=0s limitation="Paket 1 Mbs" profile=\
- "Paket 1 Mbs - Aktif 1 Bulan" till-time=23h59m59s weekdays=\
- sunday,monday,tuesday,wednesday,thursday,friday,saturday
- add from-time=0s limitation="Paket 2 Mbs" profile=\
- "Paket 2 Mbs - Aktif 1 Bulan" till-time=23h59m59s weekdays=\
- sunday,monday,tuesday,wednesday,thursday,friday,saturday
- add from-time=0s limitation=Migrasi profile="Migrasi - 1 Hari" till-time=\
- 23h59m59s weekdays=\
- sunday,monday,tuesday,wednesday,thursday,friday,saturday
- add from-time=0s limitation=expired-ppoe profile=expired-pppoe till-time=\
- 23h59m59s weekdays=\
- sunday,monday,tuesday,wednesday,thursday,friday,saturday
- add from-time=0s limitation="Paket ppoe 1 Mbs" profile="Paket ppoe 1 Mbs" \
- till-time=23h59m59s weekdays=\
- sunday,monday,tuesday,wednesday,thursday,friday,saturday
- add from-time=0s limitation="Qouta ppoe 1 Mbs" profile="Qouta ppoe 1 Mbs" \
- till-time=23h59m59s weekdays=\
- sunday,monday,tuesday,wednesday,thursday,friday,saturday
- /tool user-manager router
- add coa-port=1700 customer=aisyah disabled=no ip-address=127.0.0.1 log=\
- auth-fail name=Warnet_Hotspot-Toraja shared-secret=12345 use-coa=no
- /tool user-manager user
- add customer=aisyah disabled=no password=m9w shared-users=1 username=0586es \
- wireless-enc-algo=none wireless-enc-key="" wireless-psk=""
- add customer=aisyah disabled=no password=tallo89 shared-users=1 username=\
- tallo89 wireless-enc-algo=none wireless-enc-key="" wireless-psk=""
- add customer=aisyah disabled=no password=gita45 shared-users=1 username=gita \
- wireless-enc-algo=none wireless-enc-key="" wireless-psk=""
- add customer=aisyah disabled=no password=wqf4 shared-users=1 username=\
- 191792db wireless-enc-algo=none wireless-enc-key="" wireless-psk=""
- add customer=aisyah disabled=no password=w8rh shared-users=1 username=\
- 19179xku wireless-enc-algo=none wireless-enc-key="" wireless-psk=""
- add customer=aisyah disabled=no password=aqe5 shared-users=1 username=239sisk \
- wireless-enc-algo=none wireless-enc-key="" wireless-psk=""
- add customer=aisyah disabled=no password=ruvt shared-users=1 username=\
- 19j289qh2 wireless-enc-algo=none wireless-enc-key="" wireless-psk=""
- add customer=aisyah disabled=no password=czgb shared-users=1 username=\
- 19j289t5g wireless-enc-algo=none wireless-enc-key="" wireless-psk=""
- add customer=aisyah disabled=no password=6gm2 shared-users=1 username=\
- 19j28935m wireless-enc-algo=none wireless-enc-key="" wireless-psk=""
- add customer=aisyah disabled=no password=e6mv shared-users=1 username=\
- 19j289kf6 wireless-enc-algo=none wireless-enc-key="" wireless-psk=""
- add customer=aisyah disabled=no password=crispppoe shared-users=1 username=\
- crispppoe wireless-enc-algo=none wireless-enc-key="" wireless-psk=""
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement