You are on page 1of 5

090304===> FISIO===>

/ip firewall mangle # 1. NTH wan1 khusus dari koneksi sebelumnya (melihat dari source address list c lient-pb-1) add chain=prerouting action=mark-connection new-connection-mark=wan1-con passthr ough=yes \ src-address-list="client-pb-1" connection-state=new dst-address-list=pointbl ank \ in-interface=proxy nth=2,1 # 2. Routing NTH wan1 add chain=prerouting action=mark-routing new-routing-mark=wan1 passthrough=no in -interface=lan \ connection-mark=wan1-con # 3. NTH wan2 khusus dari koneksi sebelumnya (melihat dari source address list c lient-pb-2) add chain=prerouting action=mark-connection new-connection-mark=wan2-con passthr ough=yes \ src-address-list="client-pb-2" connection-state=new dst-address-list=pointbl ank \ in-interface=proxy nth=1,1 # 4. Routing NTH wan2 add chain=prerouting action=mark-routing new-routing-mark=wan2 passthrough=no in -interface=lan \ connection-mark=wan2-con # 5. NTH wan1 add chain=prerouting action=mark-connection new-connection-mark=wan1-con passthr ough=yes \ connection-state=new dst-address-list=!local in-interface=lan nth=2,1 # 6. simpan src-address jika menuju ke pointblank dengan timeout=5h add action=add-src-to-address-list address-list="client-pb-1" \ address-list-timeout=5h chain=prerouting disabled=no dst-address-list=pointb lank \ in-interface=lan connection-mark=wan1-con # 7. routing add chain=prerouting action=mark-routing new-routing-mark=wan1 passthrough=no in -interface=lan \ connection-mark=wan1-con # 8. NTH wan2 add chain=prerouting action=mark-connection new-connection-mark=wan1-con passthr ough=yes \ connection-state=new dst-address-list=!local in-interface=lan nth=1,1 # 9. simpan src-address jika menuju ke pointblank dengan timeout=5h add action=add-src-to-address-list address-list="client-pb-2" \ address-list-timeout=5h chain=prerouting disabled=no dst-address-list=pointb lank \ in-interface=lan connection-mark=wan1-con # 10. routing add chain=prerouting action=mark-routing new-routing-mark=wan2 passthrough=no in -interface=lan \ connection-mark=wan2-con

# atur iix dan ix /ip firewall mangle add chain=prerouting src-address=169.254.201.0/24 action=mark-connection new-con nection-mark="Koneksi Semua Trafik" passthrough=yes comment="Mark-connection Sem ua Trafik" disabled=no add chain=prerouting src-address=169.254.201.0/24 connection-mark="Koneksi Semua Trafik" dst-address-list=!nice action=mark-connection new-connection-mark="Kone ksi Internasional" passthrough=yes comment="Mark-connection Koneksi Internasiona l" disabled=no add chain=prerouting connection-mark="Koneksi Internasional" action=mark-packet new-packet-mark="Koneksi Internasional" passthrough=no comment="Mark-packet kone ksi internasional" disabled=no add chain=prerouting action=mark-packet new-packet-mark="Koneksi IIX" passthroug h=no comment="Mark-packet Koneksi IIX" disabled=no # Buat limit bandwidth sesuka anda untuk kedua koneksi tersebut / queue simple add name="Internasional" target-addresses=169.254.201.0/24 dst-address=0.0.0.0/0 interface=all parent=none packet-marks="Koneksi Internasional" direction=both p riority=8 queue=default-small/default-small limit-at=0/0 max-limit=256000/256000 total-queue=default-small disabled=no add name="IIX" target-addresses=169.254.201.0/24 dst-address=0.0.0.0/0 interface =all parent=none packet-marks="Koneksi IIX" direction=both priority=8 queue=defa ult-small/default-small limit-at=0/0 max-limit=1024000/1024000 total-queue=defau lt-small disabled=no # /ip firewall mangle add action=mark-connection chain=forward comment="Trafik Mark" disabled=no new-c onnection-mark=all_con passthrough=yes src-address=169.254.201.0/24 add action=mark-connection chain=forward comment="" connection-mark=all_con disa bled=no dst-port=39190-49100 new-connection-mark=pb-con passthrough=yes protocol =tcp src-address=169.254.201.0/24 add action=mark-connection chain=forward comment="" connection-mark=all_con disa bled=no dst-port=39190-49100 new-connection-mark=pb-con passthrough=yes protocol =udp src-address=169.254.201.0/24 add action=mark-packet chain=forward comment="" connection-mark=pb-con disabled= no new-packet-mark=point-blank passthrough=no add action=mark-packet chain=forward comment="" disabled=no new-packet-mark=all_ packet passthrough=no # Connection Mark yg dinamain all_con marking semua koneksi. Dan pb_con marking kone ksi yang menggunakan port 39190-49100 protocol tcp/udp, karena pb menggunakan po rt itu # Trus kita lari ke Queue Tree /queue tree add burst-limit=0 burst-threshold=0 burst-time=0s disabled=no limit-at=0 max-lim it=800k name="Download" parent=ether2-lan priority=8 add burst-limit=0 burst-threshold=0 burst-time=0s disabled=no limit-at=0 max-lim

it=0 name=HTTP packet-mark=all_packet parent="Download" priority=8 queue=default add burst-limit=0 burst-threshold=0 burst-time=0s disabled=no limit-at=0 max-lim it=0 name="Point Blank" packet-mark=point-blank parent="Download" priority=7 que ue=default

# paksa semua pakai dns server add action=redirect chain=dstnat comment="" disabled=no dst-port=53 protocol=tcp to-ports=53 add action=redirect chain=dstnat comment="" disabled=no dst-port=53 protocol=udp to-ports=53

# game lokal 1. Ayo Dance : tcp 18901-18909 2. SealOnline : tcp 1818 3. PointBlank : tcp 39190, udp 40000-40010 4. Lineage2 : tcp 7777 5. GhostOnline : tcp 19101 6. RF-Elven : tcp 27780 7. Perfect world : tcp 29000 8. Rohan : tcp 22100 9. Zeus RO : tcp 5121 10. Dotta : tcp 6000-6152 11. IdolStreet : tcp 2001 12. CrazyKart : 9601-9602 13. WOW AMPM : tcp 8085 14. DriftCity : tcp 11011-11041 15. GetAmped : tcp 13413 16. Yullgang : tcp 19000 17. RAN Online : tcp 5105 18. CrossFire : tcp 10009, udp 12060-12070 19. WarRock : tcp 5340-5352 20. FastBlack : tcp 6000-6001 21. Rose Online : tcp 29200 22. Return Of Warrior : tcp 10402 23. CrazyKart 2 : tcp 9600 25. Luna Online : tcp 15002 26. Runes Of Magic : tcp 16402-16502 27. FreshRO : tcp 5126 28. Tantra Online : tcp 3010 29. Heroes Of Newearth Incatamers : tcp 11031 udp 11100-11125,11440-11460 30. Atlantica : tcp 4300 , ip 203.89.147.0/24 31. ECO Online : tcp Port 12011 , 12110 32. Cabal Indo : tcp Port 15001, 15002 33. X-SHOT : tcp 7341,7451 , udp 7808,30000

===''' Langsung aja ah .. Test running well di RB750 OS ver.4.5 ISP= SAPIDI EXECUTIVE 512 2M Mangle: GAME contoh buat Point Blank, game lain sesuaikan aja port/ip nya chain=game action=mark-connection new-connection-mark=Game passthrough=yes proto col=tcp dst-address=203.89.146.0/23 dst-port=39190 comment= Point Blank chain=game action=mark-connection new-connection-mark=Game passthrough=yes proto col=udp dst-address=203.89.146.0/23 dst-port=40000-40010 chain=game action=mark-packet new-packet-mark=Game_pkt passthrough=no connection -mark=Game chain=prerouting action=jump jump-target=game POKER chain=forward action=mark-connection new-connection-mark=Poker_con passthrough=y es protocol=tcp dst-address-list=LOAD POKER comment= POKER chain=forward action=mark-connection new-connection-mark=Poker_con passthrough=y es protocol=tcp content=statics.poker.static.zynga.com chain=forward action=mark-packet new-packet-mark=Poker passthrough=no connection -mark=Poker_con BROWSING chain=forward action=mark-connection new-connection-mark=http passthrough=yes pr otocol=tcp in-interface=WAN out-interface=Lan packet-mark=!Game_pkt connection-m ark=!Game connection-bytes=0-262146 comment= BROWSE chain=forward action=mark-packet new-packet-mark=http_pkt passthrough=no protoco l=tcp connection-mark=http UPLOAD chain=prerouting action=mark-packet new-packet-mark=Upload passthrough=no protoc ol=tcp src-address=192.168.0.0/24 in-interface=Lan packet-mark=!icmp_pkt comment = UPLOAD LIMIT DOWNLOAD chain=forward action=mark-connection new-connection-mark=Download passthrough=ye s protocol=tcp in-interface=WAN out-interface=Lan packet-mark=!Game_pkt connecti on-mark=!Poker_con connection bytes=262146-4294967295 comment= LIMIT DOWNLOAD chain=forward action=mark-packet new-packet-mark=Download_pkt passthrough=no pac ket-mark=!Game_pk> connection-mark=Download QUEUE queue type

name= Download kind=pcq pcq-rate=256000 pcq-limit=50 pcq-classifier=dst-address pcq -total-limit=2000 name= Http kind=pcq pcq-rate=1M pcq-limit=50 pcq-classifier=dst-address pcq-total-l imit=2000 name= Game kind=pcq pcq-rate=0 pcq-limit=50 pcq-classifier=src-address,dst-address, src-port,dst-port pcq-total-limit=2000 name= Upload limit=2000 Queue Tree name= Main Browse parent=Lan limit-at=0 priority=8 max-limit=1M burst-limit=0 burst -threshold=0 burst-time=0s name= Browse parent=Main Browse packet-mark=http_pkt limit-at=0 queue=Http priority =8 max-limit=1M burst-limit=0 burst-threshold=0 burst-time=0s name= Game parent=global-total packet-mark=Game_pkt limit-at=0 queue=Game priority= 1 max-limit=0 burst-limit=0 burst-threshold=0 burst-time=0s name= Poker parent=global-out packet-mark=Poker limit-at=0 queue=Game priority=3 ma x-limit=0 burst-limit=0 burst-threshold=0 burst-time=0s name= Download parent=global-out packet-mark=Download_pkt limit-at=0 queue=Download priority=8 max-limit=256k burst-limit=0 burst-threshold=0 burst-time=0s name= Main Upload parent=global-in limit-at=0 priority=8 max-limit=256k burst-limit =0 burst-threshold=0 burst-time=0s name= Upload parent=Main Upload packet-mark=Upload limit-at=0 queue=Upload priority =8 max-limit=0 burst-limit=0 burst-threshold=0 burst-time=0s HASILNYA BROWSING 1Mbs bagi rata sekampung (baca: satu jaringan) DOWNLOAD 256Kbps bagi rata sekampung GAME seadanya bandwith sesuai kebutuhan sekampung POKER seadanya bandwith sesuai kebutuhan sekampung UPLOAD seadanya bandwith bagi rata sesuai kebutuhan sekampung kind=pcq pcq-rate=0 pcq-limit=50 pcq-classifier=src-address pcq-total-

You might also like