Thursday 11 August 2016

SIMPLE QUEUE MIKROTIK

hmm dari judul nya simple queue mikrotik,

sedikit trik n triki cara cepat membuat simple queue di mikrotik, dari pada meng-create satu-satu bisa 2 hari 2 malam ga selesai selesai,
ane kasih nih tirik nya gan hitungan detik masalah selesai hehehheheeheh,
1. tinggal copas aja gan buat mangle nya

/ip firewall mangle
add action=mark-connection chain=forward comment=\
    "Mark All Overseas Src.ConnectionTraffic" disabled=no \
    new-connection-mark=con-intl passthrough=yes src-address-list=!nice
add action=mark-connection chain=forward comment=\
    "Mark All Overseas Dst. ConnectionTraffic" disabled=no \
    dst-address-list=!nice new-connection-mark=con-intl passthrough=yes
add action=mark-packet chain=prerouting comment="Mark All Overseas Traffic" \
    connection-mark=con-intl disabled=no new-packet-mark=overseas \
    passthrough=yes
add action=mark-connection chain=forward comment=\
    "Mark All Nice Src. Connection Traffic" disabled=no \
    new-connection-mark=con-nice passthrough=yes src-address-list=nice
add action=mark-connection chain=forward comment=\
    "Mark All Nice Dst. Connection Traffic" disabled=no dst-address-list=\
    nice new-connection-mark=con-nice passthrough=yes
add action=mark-packet chain=prerouting comment="Mark All Nice Traffic" \
    connection-mark=con-nice disabled=no new-packet-mark=nice passthrough=\
    yes
add action=mark-connection chain=forward comment=\
    "Mark All Lan Connection Traffic" disabled=no dst-address-list=LAN \
    new-connection-mark=con-lan passthrough=yes src-address-list=LAN
add action=mark-packet chain=prerouting comment="Mark All Nice Traffic" \
    connection-mark=con-lan disabled=no new-packet-mark=lan passthrough=yes

kalau sudah di copas jgn lupa ikutin terus link ane ya

tahap 2

download dl klik di sini ambil nice nya gan copas dari situ

tahap 3 
buat 2 parent  dengan nama ix dan packet-marks=overseas, dan  parent=iix packet-marks=nice

tahap 4
tinggal copas gan baca yang di {} samain yang ada di router situ karena tergantuk versi dari router OS punya agan :)

:for i from=2 to= 254 step=1 do={/queue simple add name="$i.Intl" target=("172.168.2.$i") max-limit=256000/256000 packet-marks=overseas parent=ix  }

:for i from=2 to= 254 step=1 do={/queue simple add name="$i.wifi-IIX" target=("172.168.2.$i") max-limit=256000/256000 packet-marks=nice parent=iix}






 

No comments:

Post a Comment