Professional Documents
Culture Documents
Wlan2 Ether1 Dibawah Ini Adalah Contoh Settingan Pembagian Untuk Paket Download 50M
Wlan2 Ether1 Dibawah Ini Adalah Contoh Settingan Pembagian Untuk Paket Download 50M
Wlan2 Ether1 Dibawah Ini Adalah Contoh Settingan Pembagian Untuk Paket Download 50M
wlan2 ether1
DIBAWAH INI ADALAH CONTOH SETTINGAN PEMBAGIAN UNTUK PAKET DOWNLOAD 50M
DIBAWAH INI ADALAH CONTOH SETTINGAN PEMBAGIAN UNTUK PAKET UPLUAD 10M
M
/ip firewall mangle
add action=mark-connection chain=prerouting comment="PORT UMUM" dst-port=\
21,22,23,81,88,5050,843,182,8777,1935,53,8000-8081,80,443 in-interface=\
!ether1 new-connection-mark="PORT UMUM" passthrough=yes \
protocol=tcp
add action=mark-connection chain=prerouting dst-port=\
21,22,23,81,88,5050,843,182,8777,1935,53,8000-8081,80,443 in-interface=\
!ether1 new-connection-mark="PORT UMUM" passthrough=yes \
protocol=udp
add action=mark-connection chain=prerouting dst-port=\
67,5228,35915,39397,110,5060,6666,3478,66,53 in-interface=\
!ether1 new-connection-mark="PORT UMUM" passthrough=yes \
protocol=tcp
add action=mark-connection chain=prerouting dst-port=\
67,5228,35915,39397,110,5060,6666,3478,66,53 in-interface=\
!ether1 new-connection-mark="PORT UMUM" passthrough=yes \
protocol=udp
add action=mark-connection chain=prerouting comment="PORT RINGAN (GAME)" \
connection-mark="!PORT UMUM" in-interface=!ether1 \
new-connection-mark="PORT RINGAN (GAME)" passthrough=yes protocol=tcp
add action=mark-connection chain=prerouting connection-mark="!PORT UMUM" \
in-interface=!ether1 new-connection-mark="PORT RINGAN (GAME)" \
passthrough=yes protocol=udp
add action=add-dst-to-address-list address-list="IP BUKAN UMUM BERAT" \
address-list-timeout=1d chain=prerouting comment=\
"PORT BERAT BUKAN (GAME)" connection-mark="!PORT UMUM" connection-rate=\
1M-100M in-interface=!ether1
add action=mark-connection chain=prerouting dst-address-list=\
"IP BUKAN UMUM BERAT" in-interface=!ether1 new-connection-mark=\
"PORT BERAT (BUKAN GAME)" passthrough=yes protocol=tcp
add action=mark-connection chain=prerouting dst-address-list=\
"IP BUKAN UMUM BERAT" in-interface=!ether1 new-connection-mark=\
"PORT BERAT (BUKAN GAME)" passthrough=yes protocol=udp
add action=add-dst-to-address-list address-list="ip youtube" \
address-list-timeout=3m chain=prerouting comment=YOUTUBE.COM content=\
googlevideo.com in-interface=!ether1
add action=mark-connection chain=prerouting dst-address-list="ip youtube" \
in-interface=!ether1 new-connection-mark=YOUTUBE.COM \
passthrough=yes
add action=mark-packet chain=forward comment="PORT RINGAN (GAME) DOWN" \
connection-mark="PORT RINGAN (GAME)" in-interface=ether1 \
new-packet-mark="PORT RINGAN (GAME) DOWN" passthrough=yes
add action=mark-packet chain=forward comment="PORT RINGAN (GAME) UPLUAD" \
connection-mark="PORT RINGAN (GAME)" new-packet-mark=\
"PORT RINGAN (GAME) UPLUAD" out-interface=ether1 passthrough=yes
add action=mark-packet chain=forward comment="PORT BERAT (BUKAN GAME) DOWN" \
connection-mark="PORT BERAT (BUKAN GAME)" in-interface=ether1 \
new-packet-mark="PORT BERAT (BUKAN GAME) DOWN" passthrough=yes
add action=mark-packet chain=forward comment="PORT BERAT (BUKAN GAME) UPLUAD" \
connection-mark="PORT BERAT (BUKAN GAME)" new-packet-mark=\
"PORT BERAT (BUKAN GAME) UPLUAD" out-interface=ether1 \
passthrough=yes
add action=mark-packet chain=forward comment="YOUTUBE.COM DOWN" \
connection-mark=YOUTUBE.COM in-interface=ether1 new-packet-mark=\
"YOUTUBE.COM DOWN" passthrough=yes
add action=mark-packet chain=forward comment="YOUTUBE.COM UPLUAD" \
connection-mark=YOUTUBE.COM new-packet-mark="YOUTUBE.COM UPLUAD" \
out-interface=ether1 passthrough=yes
/queue tree
add max-limit=30M name="DOWNLOAD ALL DARI ISP" parent=global queue=\
pcq-download-default
add max-limit=15M name="UPLUAD ALL DARI ISP" parent=global queue=\
pcq-upload-default
add max-limit=25M name="1.TOTAL DOWNLOAD ALL CLIEN/HOTSPOT" parent=\
"DOWNLOAD ALL DARI ISP" queue=pcq-download-default
add max-limit=10M name="2.PORT RINGAN (GAME)" packet-mark=\
"PORT RINGAN (GAME) DOWN" parent="DOWNLOAD ALL DARI ISP" priority=1 \
queue=pcq-download-default
add max-limit=25M name="PORT BERAT (BUKAN GAME) DOWN" packet-mark=\
"PORT BERAT (BUKAN GAME) DOWN" parent=\
"1.TOTAL DOWNLOAD ALL CLIEN/HOTSPOT" queue=pcq-download-default
add max-limit=25M name="YOUTUBE.COM DOWN" packet-mark="YOUTUBE.COM DOWN" \
parent="1.TOTAL DOWNLOAD ALL CLIEN/HOTSPOT" queue=pcq-download-default
add max-limit=10M name="1.TOTAL UPLUAD ALL CLIEN/HOTSPOT" parent=\
"UPLUAD ALL DARI ISP" queue=pcq-upload-default
add max-limit=10M name="PORT BERAT(BUKAN GAME) UPLUAD" packet-mark=\
"PORT BERAT (BUKAN GAME) UPLUAD" parent=\
"1.TOTAL UPLUAD ALL CLIEN/HOTSPOT" queue=pcq-upload-default
add max-limit=10M name="YOUTUBE.COM UPLUAD" packet-mark="YOUTUBE.COM UPLUAD" \
parent="1.TOTAL UPLUAD ALL CLIEN/HOTSPOT" queue=pcq-upload-default
add max-limit=10M name="PORT RINGAN (GAME) UPLUAD" packet-mark=\
"PORT RINGAN (GAME) UPLUAD" parent="UPLUAD ALL DARI ISP" priority=1 \
queue=pcq-upload-default
NAMA PENGGUNA
1 USER1
IP ADDRESS LOCAL HOTSPOT/CLIEN= 192 168
NAMA PENGGUNA
2 USER2
IP ADDRESS LOCAL HOTSPOT/CLIEN= 192 168
NAMA PENGGUNA
3 USER3
IP ADDRESS LOCAL HOTSPOT/CLIEN= 192 168
NAMA PENGGUNA
4 USER4
IP ADDRESS LOCAL HOTSPOT/CLIEN= 192 168
NAMA PENGGUNA
5 USER5
IP ADDRESS LOCAL HOTSPOT/CLIEN= 199 166
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
33 254
TIDAK AKTIF 25M TIDAK AKTIF 5M
DOWNLOAD UPLUAD
Limit At down max download Limit At upluad maximal upluad
44 254
TIDAK AKTIF 25M TIDAK AKTIF 5M
DOWNLOAD UPLUAD
Limit At down max download Limit At upluad maximal upluad
55 254
TIDAK AKTIF 25M TIDAK AKTIF 5M
DOWNLOAD UPLUAD
Limit At down max download Limit At upluad maximal upluad
66 254
TIDAK AKTIF 25M TIDAK AKTIF 5M
DOWNLOAD UPLUAD
Limit At down max download Limit At upluad maximal upluad
2 254
TIDAK AKTIF 25M TIDAK AKTIF 5M
/ip firewall mangle
add action=mark-packet chain=forward comment=\
"192.168.33.254 clien/hotspotUSER1 down" connection-mark="PORT UMUM" \
dst-address=192.168.33.254 in-interface=ether1 new-packet-mark=\
"192.168.33.254 clien/hotspotUSER1 down" passthrough=yes
add action=mark-packet chain=forward comment="192.168.33.254 clien/hotspotUSER1 up" \
connection-mark="PORT UMUM" new-packet-mark=\
"192.168.33.254 clien/hotspotUSER1 up" out-interface=ether1 \
passthrough=yes src-address=192.168.33.254
/queue tree
add max-limit=25M name="192.168.33.254 clien/hotspotUSER1 down" packet-mark=\
"192.168.33.254 clien/hotspotUSER1 down" parent=\
"1.TOTAL DOWNLOAD ALL CLIEN/HOTSPOT" queue=pcq-download-default
3
3