Speedy1 = pppoe-out1 dan speedy2 = pppoe-out2
Pppoe-out1 di alihkan / di routing untuk game online seperti pointblank berdasar port dan ipnya.
pppoe-out2 di arahkan untuk jalur browsing
pada menu IP -> ADDRESS bisa di lihat seperti gambar di bawah ini
Jika telah berhasil membuat seperti diatas, saya anggap anda telah berhasil melakukannya.
Ether3= LAN
ether5 = proxy external ubuntu.
Ipnya silahkan di sesuikan dengan kondisi jaringan yang ada, dalam kasus
ini ip yang saya gunakan bisa terlihat seperti pada screenshoot diatas.
Selanjutnya saya lakukan penangkapan ip game online yang kelak akan di
namai game_online dan di masukkan kedalam address-list
/ip firewall filter add action=add-dst-to-address-list address-list=FB-Game address-list-timeout=\ 0s chain=forward disabled=no dst-port=843,9339,8291 in-interface=ether3 \ protocol=tcp add action=add-dst-to-address-list address-list=game_online \ address-list-timeout=1d chain=forward disabled=no dst-port=\ 1818,2001,3010,4300,5105,5121,5126,5171,5340-5352,6000-6152,7777 \ in-interface=ether3 protocol=tcp add action=add-dst-to-address-list address-list=game_online \ address-list-timeout=1d chain=forward disabled=no dst-port=\ 7341-7350,7451,8085,9600,9601-9602,9300,9376-9377,9400,9700,10001-10011 \ in-interface=ether3 protocol=tcp add action=add-dst-to-address-list address-list=game_online \ address-list-timeout=1d chain=forward disabled=no dst-port="10402,11011-11\ 041,12011,12110,13008,13413,15000-15002,16402-16502,16666,18901-18909,1900\ 0" in-interface=ether3 protocol=tcp add action=add-dst-to-address-list address-list=game_online \ address-list-timeout=1d chain=forward disabled=no dst-port="19101,22100,27\ 780,28012,29000,29200,39100,39110,39220,39190,40000,49100,4300" \ in-interface=ether3 protocol=tcp add action=add-dst-to-address-list address-list=game_online \ address-list-timeout=1d chain=forward disabled=no dst-port=\ 14009-14010,4300 in-interface=ether3 protocol=udp add action=add-dst-to-address-list address-list=game_online \ address-list-timeout=1d chain=forward disabled=no dst-port=14009-14010 \ in-interface=ether3 protocol=udp add action=add-dst-to-address-list address-list=game_online \ address-list-timeout=1d chain=forward disabled=no dst-port="1293,1479,6100\ -6152,7777-7977,8001,9401,9600-9602,12020-12080,30000,40000-40010" \ in-interface=ether3 protocol=udp add action=add-dst-to-address-list address-list=game_online \ address-list-timeout=1d chain=forward disabled=no dst-port=\ 42051-42052,11100-11125,11440-11460 in-interface=ether3 protocol=udp
Ip address-list telah di buat, langkah selanjutnya adalah mangle untuk port game onlinenya, agar bisa di routing. Berikut mangle game online yang saya buat.
add action=mark-routing chain=prerouting disabled=no dst-address-list=\ game_online dst-port=\ 19101,22100,27780,28012,29000,29200,39100,39110,39220,39190,40000,49100 \ new-routing-mark=game passthrough=no protocol=tcp src-address-list=LAN add action=mark-routing chain=prerouting disabled=no dst-address-list=\ game_online dst-port="1293,1479,6100-6152,7777-7977,8001,9401,9600-9602,12\ 020-12080,30000,40000-40010" new-routing-mark=game passthrough=no \ protocol=udp src-address-list=LAN add action=mark-routing chain=prerouting disabled=no dst-address-list=\ game_online dst-port=14000-14010 new-routing-mark=game passthrough=no \ protocol=udp src-address-list=LAN add action=mark-routing chain=prerouting disabled=no dst-address-list=\ game_online dst-port=\ 1818,2001,3010,4300,5105,5121,5126,5171,5340-5352,6000-6152,7777 \ new-routing-mark=game passthrough=no protocol=tcp src-address-list=LAN add action=mark-routing chain=prerouting disabled=no dst-address-list=\ game_online dst-port=\ 7341-7350,7451,8085,9600,9601-9602,9300,9376-9377,9400,9700,10001-10011 \ new-routing-mark=game passthrough=no protocol=tcp src-address-list=LAN add action=mark-routing chain=prerouting disabled=no dst-address-list=\ game_online dst-port="10402,11011-11041,12011,12110,13008,13413,15000-1500\ 2,16402-16502,16666,18901-18909,19000" new-routing-mark=game passthrough=\ no protocol=tcp src-address-list=LAN add action=mark-routing chain=prerouting disabled=no dst-address-list=\ game_online dst-port=14000-14010 new-routing-mark=game passthrough=no \ protocol=tcp src-address-list=LAN
Ip LAN sudah di mangle menuju ke ip game online yang telah di masukkan ke ip-address-list. Langkah selanjutnya adalah routing. Untuk merouting ip game online ke line speedy1 yang saya set sebagai pppoe-out1
/ip route add check-gateway=ping disabled=no distance=1 dst-address=0.0.0.0/0 gateway=pppoe-out1 routing-mark=game scope=30 target-scope=10 add check-gateway=ping disabled=no distance=2 dst-address=0.0.0.0/0 gateway=pppoe-out2 routing-mark=game scope=30 target-scope=10 add check-gateway=ping disabled=no distance=1 dst-address=0.0.0.0/0 gateway=pppoe-out2 scope=30 target-scope=10 add check-gateway=ping disabled=no distance=2 dst-address=0.0.0.0/0 gateway=pppoe-out1 scope=30 target-scope=10
Sumber Asli (http://www.jasasettingmikrotik.web.id)