krn dsni hanya membahas game online IIX maka sebaiknya kita buat address-list yang berisi list IP address IIX. Cara nya, buka New Terminal di winbox dan ketikan perintah bekikut:
Code:
/tool fetch address=ixp.mikrotik.co.id src-path=/download/nice.rsc mode=http;
Code:
import nice.rsc
Untuk warnet dengan 1 ISP, kita hanya perlu membedakan antara traffic game & browsing dari prioritas nya di Queue... yang perlu dilakukan antara lain sbb;
langkah pertama, Tangkap traffic game online berdasarkan port nya masing2 dengan dengan mark-connection...
(daftar port game yang saya gunakan diambil dari punya bro dingo disini)
Code:
/ip firewall mangle add action=mark-connection chain=prerouting comment="Ayo Dance" disabled=no dst-address-list=nice dst-port=18900-18910 \ new-connection-mark=game-online-indonesia passthrough=yes protocol=tcp add action=mark-connection chain=prerouting comment="Seal Online" disabled=no dst-address-list=nice dst-port=1818 \ new-connection-mark=game-online-indonesia passthrough=yes protocol=tcp add action=mark-connection chain=prerouting comment="Lineage 2" disabled=no dst-address-list=nice dst-port=7777 \ new-connection-mark=game-online-indonesia passthrough=yes protocol=tcp add action=mark-connection chain=prerouting comment=IDS disabled=no dst-address-list=nice dst-port=2001 new-connection-mark=\ game-online-indonesia passthrough=yes protocol=tcp add action=mark-connection chain=prerouting comment=PB-UDP disabled=no dst-address-list=nice dst-port=40000-40010 \ new-connection-mark=game-online-indonesia passthrough=yes protocol=udp add action=mark-connection chain=prerouting comment=PB-TCP disabled=no dst-address-list=nice dst-port=39000-40000 \ new-connection-mark=game-online-indonesia passthrough=yes protocol=tcp add action=mark-connection chain=prerouting comment="Ghost Online" disabled=no dst-address-list=nice dst-port=19101 \ new-connection-mark=game-online-indonesia passthrough=yes protocol=tcp add action=mark-connection chain=prerouting comment=RF-Elven disabled=no dst-address-list=nice dst-port=27780 \ new-connection-mark=game-online-indonesia passthrough=yes protocol=tcp add action=mark-connection chain=prerouting comment="Perfect World" disabled=no dst-address-list=nice dst-port=29000 \ new-connection-mark=game-online-indonesia passthrough=yes protocol=tcp add action=mark-connection chain=prerouting comment=Rohan disabled=no dst-address-list=nice dst-port=22100 new-connection-mark=\ game-online-indonesia passthrough=yes protocol=tcp add action=mark-connection chain=prerouting comment="Zeus RO" disabled=no dst-address-list=nice dst-port=5121 \ new-connection-mark=game-online-indonesia passthrough=yes protocol=tcp add action=mark-connection chain=prerouting comment=DOTA disabled=no dst-address-list=nice dst-port=6000-6125 \ new-connection-mark=game-online-indonesia passthrough=yes protocol=tcp add action=mark-connection chain=prerouting comment="Crazy Kart" disabled=no dst-address-list=nice dst-port=9600-9602 \ new-connection-mark=game-online-indonesia passthrough=yes protocol=tcp add action=mark-connection chain=prerouting comment="WOW AMPM" disabled=no dst-address-list=nice dst-port=8085 \ new-connection-mark=game-online-indonesia passthrough=yes protocol=tcp add action=mark-connection chain=prerouting comment="Drift City" disabled=no dst-address-list=nice dst-port=11011-11041 \ new-connection-mark=game-online-indonesia passthrough=yes protocol=tcp add action=mark-connection chain=prerouting comment=GetAmped disabled=no dst-address-list=nice dst-port=13413 \ new-connection-mark=game-online-indonesia passthrough=yes protocol=tcp add action=mark-connection chain=prerouting comment=Yullgang disabled=no dst-address-list=nice dst-port=19000 \ new-connection-mark=game-online-indonesia passthrough=yes protocol=tcp add action=mark-connection chain=prerouting comment="RAN Online" disabled=no dst-address-list=nice dst-port=5105 \ new-connection-mark=game-online-indonesia passthrough=yes protocol=tcp add action=mark-connection chain=prerouting comment="Cross Fire TCP" disabled=no dst-address-list=nice dst-port=\ 10009,13008,16666,28012 new-connection-mark=game-online-indonesia passthrough=yes protocol=tcp add action=mark-connection chain=prerouting comment="Cross Fire UDP" disabled=no dst-address-list=nice dst-port=\ 12020-12080,13000-13080 new-connection-mark=game-online-indonesia passthrough=yes protocol=udp add action=mark-connection chain=prerouting comment="War Rock" disabled=no dst-address-list=nice dst-port=5340-5352 \ new-connection-mark=game-online-indonesia passthrough=yes protocol=tcp add action=mark-connection chain=prerouting comment="Fast Black" disabled=no dst-address-list=nice dst-port=6000-6001 \ new-connection-mark=game-online-indonesia passthrough=yes protocol=tcp add action=mark-connection chain=prerouting comment="Rose Online" disabled=no dst-address-list=nice dst-port=29200 \ new-connection-mark=game-online-indonesia passthrough=yes protocol=tcp add action=mark-connection chain=prerouting comment="Crazy Kart 2" disabled=no dst-address-list=nice dst-port=9600 \ new-connection-mark=game-online-indonesia passthrough=yes protocol=tcp add action=mark-connection chain=prerouting comment="Return of Warrior" disabled=no dst-address-list=nice dst-port=10402 \ new-connection-mark=game-online-indonesia passthrough=yes protocol=tcp add action=mark-connection chain=prerouting comment="Luna Online" disabled=no dst-address-list=nice dst-port=15000-15002 \ new-connection-mark=game-online-indonesia passthrough=yes protocol=tcp add action=mark-connection chain=prerouting comment="Runes of Magic" disabled=no dst-address-list=nice dst-port=16400-16502 \ new-connection-mark=game-online-indonesia passthrough=yes protocol=tcp add action=mark-connection chain=prerouting comment="Fresh Ragnarok PS" disabled=no dst-address-list=nice dst-port=5171 \ new-connection-mark=game-online-indonesia passthrough=yes protocol=tcp add action=mark-connection chain=prerouting comment="Tantra Online" disabled=no dst-address-list=nice dst-port=3010 \ new-connection-mark=game-online-indonesia passthrough=yes protocol=tcp add action=mark-connection chain=prerouting comment=Atlantica disabled=no dst-address-list=nice dst-port=4300 \ new-connection-mark=game-online-indonesia passthrough=yes protocol=tcp add action=mark-connection chain=prerouting comment="ECO Online" disabled=no dst-address-list=nice dst-port=12011,12110 \ new-connection-mark=game-online-indonesia passthrough=yes protocol=tcp add action=mark-connection chain=prerouting comment="Cabal Indonesia" disabled=no dst-address-list=nice dst-port=15000-15002 \ new-connection-mark=game-online-indonesia passthrough=yes protocol=tcp add action=mark-connection chain=prerouting comment=Avalon disabled=no dst-address-list=nice dst-port=9376-9377 \ new-connection-mark=game-online-indonesia passthrough=yes protocol=tcp add action=mark-connection chain=prerouting comment="X-Shot UDP" disabled=no dst-address-list=nice dst-port=7777-7977,30000 \ new-connection-mark=game-online-indonesia passthrough=yes protocol=udp add action=mark-connection chain=prerouting comment="3 Kingdoms" disabled=no dst-address-list=nice dst-port=15000-15002 \ new-connection-mark=game-online-indonesia passthrough=yes protocol=udp add action=mark-connection chain=prerouting comment="Grand Chase TCP" disabled=no dst-address-list=nice dst-port=\ 9300,9400,9700 new-connection-mark=game-online-indonesia passthrough=yes protocol=tcp add action=mark-connection chain=prerouting comment="Grand Chase UDP" disabled=no dst-address-list=nice dst-port=9401,9600 \ new-connection-mark=game-online-indonesia passthrough=yes protocol=udp add action=mark-connection chain=prerouting comment=MAKO disabled=no dst-address-list=nice dst-port=21000-21020 \ new-connection-mark=game-online-indonesia passthrough=yes protocol=tcp
Code:
/ip firewall mangle add chain=prerouting connection-mark=game-online-indonesia action=mark-packet new-packet-mark=Game
Code:
/ip firewall mangle add chain=prerouting connection-mark=!game-online-indonesia action=mark-packet new-packet-mark=Browsing
Code:
/queue simple add burst-limit=0/0 burst-threshold=0/0 burst-time=0s/0s comment="" direction=both disabled=no dst-address=0.0.0.0/0 \ interface=all max-limit=512k/512k name=Game packet-marks="Game" parent=none priority=1 \ queue=default-small/default-small total-queue=default-small add burst-limit=0/0 burst-threshold=0/0 burst-time=0s/0s comment="" direction=both disabled=no dst-address=0.0.0.0/0 \ interface=all max-limit=512k/512k name=Browsing packet-marks="Browsing" parent=none priority=8 \ queue=default-small/default-small total-queue=default-small
Contoh:
Code:
/queue simple add burst-limit=0/0 burst-threshold=0/0 burst-time=0s/0s comment="" direction=both disabled=no dst-address=0.0.0.0/0 \ interface=all limit-at=32k/64k max-limit=64k/128k name=PC-2 parent=Browsing priority=4 queue=default-small/default-small target-addresses=10.0.0.2/32 total-queue=default-small
Berikutnya, untuk warnet yang punya multi backbone, maka akan kita pisahkan dengan Static Routing...
Biar halaman ini gak kepanjangan jadi gak usah saya tulis lagi satu2 semua mangle di atas yach...
krn dari mangle dengan action mark-connection di atas kita hanya perlu merubah nya menjadi mark-routing...
contoh nya 1 aja yach
Code:
/ip firewall mangle add action=mark-routing chain=prerouting comment="Ayo Dance" disabled=no dst-address-list=nice dst-port=18900-18910 \ new-routing-mark=game-online-indonesia passthrough=yes protocol=tcp
Terakhir, bikin Routing nya:
Code:
/ip route add gateway [ip address gateway ISP-A] /ip route add gateway [ip address gateway ISP-B] routing-mark=game-online-indonesia
Semoga gak ada yang keliru di tutorial ini...
ref : FMI , PORT GAME , http://nebulagame.wordpress.com/
mksh ya
ReplyDeletegarudagamers
mantep :)
ReplyDelete