Scrip Part2 Modif
Scrip Part2 Modif
Scrip Part2 Modif
10 0 0 0/8 HOTSPOT1
IP ADDRESS
ALL HOTSPOT
/ip firewall address-list
add address="10.0.0.0/8" list="IP HOTSPOT ALL" }
add address="..." list="IP HOTSPOT ALL" }
add address="..." list="IP HOTSPOT ALL" }
add address="..." list="IP HOTSPOT ALL" }
add address="..." list="IP HOTSPOT ALL" }
add address="..." list="IP HOTSPOT ALL" }
add address="..." list="IP HOTSPOT ALL" }
add address="..." list="IP HOTSPOT ALL" }
NAMA PENGGUNA
1 rido PPPOE
IP ADDRESS =BINDING,PPPOE,DYNAMIC IP 192 168
NAMA PENGGUNA
2 ega PPPOE
IP ADDRESS =BINDING,PPPOE,DYNAMIC IP 192 168
NAMA PENGGUNA
3 riko PPPOE
IP ADDRESS =BINDING,PPPOE,DYNAMIC IP 192 168
NAMA PENGGUNA
4 abil PPPOE
IP ADDRESS =BINDING,PPPOE,DYNAMIC IP 192 168
NAMA PENGGUNA
5 aldi PPPOE
IP ADDRESS =BINDING,PPPOE,DYNAMIC IP 192 168
KET:
LIMIT AT minimal bandwidh yg akan di berikan pada saat trafick padat
max adalah maximal bandwidht yg akan di berikan ketika trafick sepi
DOWNLOAD UPLUAD
Limit At down max download Limit At upluad maximal upluad
4 3
120K 2M 156K 1M
DOWNLOAD UPLUAD
Limit At down max download Limit At upluad maximal upluad
4 4
100K 2M 156K 1M
DOWNLOAD UPLUAD
Limit At down max download Limit At upluad maximal upluad
4 5
128K 2M 128K 1M
DOWNLOAD UPLUAD
Limit At down max download Limit At upluad maximal upluad
4 6
100K 2M 128K 1M
DOWNLOAD UPLUAD
Limit At down max download Limit At upluad maximal upluad
4 7
80K 2M 90K 1M
/ip firewall address-list
add address="192.168.4.3" list="IP LOCAL" }
/ip firewall mangle
add action=mark-packet chain="down-hotspot/clien-192.168.4.3" comment=\
"down-hotspot/clien-192.168.4.3" connection-mark=\
"!PORT SELAIN PORT UMUM ( KONEKSI BERAT )" new-packet-mark=\
"down-hotspot/clien-192.168.4.3" passthrough=yes
add action=jump chain=forward connection-mark=\
"!PORT SELAIN PORT UMUM ( GAME )" dst-address="192.168.4.3" in-interface=\
ether01-VSA jump-target="down-hotspot/clien-192.168.4.3"
add action=mark-packet chain="up-hotspot/clien-192.168.4.3" comment=\
"up-hotspot/clien-192.168.4.3" connection-mark=\
"!PORT SELAIN PORT UMUM ( KONEKSI BERAT )" new-packet-mark=\
"up-hotspot/clien-192.168.4.3" passthrough=yes
add action=jump chain=forward connection-mark=\
"!PORT SELAIN PORT UMUM ( GAME )" jump-target="up-hotspot/clien-192.168.4.3" \
out-interface=ether01-VSA src-address="192.168.4.3" }
/queue tree
add limit-at=120K max-limit=2M name="down-hotspot/clien-192.168.4.3-rido PPPOE" packet-mark=\
"down-hotspot/clien-192.168.4.3" parent="CLIEN RUMAHAN DOWN" queue=\
pcq-download-default
add limit-at=156K max-limit=1M name="up-hotspot/clien-192.168.4.3-rido PPPOE" packet-mark=\
"up-hotspot/clien-192.168.4.3" parent="CLIEN RUMAHAN UPLUAD" queue=\
pcq-upload-default
/queue tree
add limit-at=100K max-limit=2M name="down-hotspot/clien-192.168.4.4-ega PPPOE" packet-mark=\
"down-hotspot/clien-192.168.4.4" parent="CLIEN RUMAHAN DOWN" queue=\
pcq-download-default
add limit-at=156K max-limit=1M name="up-hotspot/clien-192.168.4.4-ega PPPOE" packet-mark=\
"up-hotspot/clien-192.168.4.4" parent="CLIEN RUMAHAN UPLUAD" queue=\
pcq-upload-default
/queue tree
add limit-at=128K max-limit=2M name="down-hotspot/clien-192.168.4.5-riko PPPOE" packet-mark=\
"down-hotspot/clien-192.168.4.5" parent="CLIEN RUMAHAN DOWN" queue=\
pcq-download-default
add limit-at=128K max-limit=1M name="up-hotspot/clien-192.168.4.5-riko PPPOE" packet-mark=\
"up-hotspot/clien-192.168.4.5" parent="CLIEN RUMAHAN UPLUAD" queue=\
pcq-upload-default
/queue tree
add limit-at=100K max-limit=2M name="down-hotspot/clien-192.168.4.6-abil PPPOE" packet-mark=\
"down-hotspot/clien-192.168.4.6" parent="CLIEN RUMAHAN DOWN" queue=\
pcq-download-default
add limit-at=128K max-limit=1M name="up-hotspot/clien-192.168.4.6-abil PPPOE" packet-mark=\
"up-hotspot/clien-192.168.4.6" parent="CLIEN RUMAHAN UPLUAD" queue=\
pcq-upload-default
/queue tree
add limit-at=80K max-limit=2M name="down-hotspot/clien-192.168.4.7-aldi PPPOE" packet-mark=\
"down-hotspot/clien-192.168.4.7" parent="CLIEN RUMAHAN DOWN" queue=\
pcq-download-default
add limit-at=90K max-limit=1M name="up-hotspot/clien-192.168.4.7-aldi PPPOE" packet-mark=\
"up-hotspot/clien-192.168.4.7" parent="CLIEN RUMAHAN UPLUAD" queue=\
pcq-upload-default
1
2
3
4
4