numpang shared gan...mohon koreksinya...
Code:
ip firewall mangle add action=mark-packet new-packet-mark=proxy-hit dscp=12 passthrough=no chain=forward comment="PROXY-HIT-DSCP 12"
ip firewall mangle add action=mark-connection new-connection-mark=game-conn chain=prerouting protocol=tcp dst-port=39100,39110,39220,39190,49100 dst-address-list=game comment="POINTBLANK"
ip firewall mangle add action=mark-connection new-connection-mark=game-conn chain=prerouting protocol=udp dst-port=40000-40010 dst-address-list=game
ip firewall mangle add action=mark-connection new-connection-mark=game-conn chain=prerouting protocol=tcp dst-port=10009,13008,16666,28012 dst-address-list=game comment="CROSSFIRE"
ip firewall mangle add action=mark-connection new-connection-mark=game-conn chain=prerouting protocol=udp dst-port=12020-12080 dst-address-list=game
ip firewall mangle add action=mark-connection new-connection-mark=game-conn chain=prerouting protocol=udp dst-port=13000-13080 dst-address-list=game
ip firewall mangle add action=mark-connection new-connection-mark=game-conn chain=prerouting protocol=tcp dst-port=27780 dst-address-list=game comment="RF-ELVEN"
ip firewall mangle add action=mark-connection new-connection-mark=game-conn chain=prerouting protocol=tcp dst-port=18901-18909 dst-address-list=game comment="AYODANCE"
ip firewall mangle add action=mark-connection new-connection-mark=game-conn chain=prerouting protocol=tcp dst-port=2001 dst-address-list=game comment="IDOLSTREET"
ip firewall mangle add action=mark-connection new-connection-mark=game-conn chain=prerouting protocol=tcp dst-port=1818 dst-address-list=game comment="SEAL-ONLINE"
ip firewall mangle add action=mark-connection new-connection-mark=game-conn chain=prerouting protocol=tcp dst-port=4300 dst-address-list=game comment="ATLANTICA"
ip firewall mangle add action=mark-connection new-connection-mark=game-conn chain=prerouting protocol=tcp content=statics.poker.static.zynga.com comment="POKER-FB"
ip firewall mangle add action=mark-connection new-connection-mark=game-conn chain=prerouting protocol=tcp content=s.cdn.gaiaonline.com comment="MONSTER-G-FB"
ip firewall mangle add action=mark-connection new-connection-mark=game-conn chain=prerouting protocol=tcp content=cdn.static.ninjasaga.com comment="NINJASAGA-FB"
ip firewall mangle add action=mark-connection new-connection-mark=game-conn chain=prerouting protocol=tcp content=assets.millionairecity.com comment="MILLIONAIRECITY-FB"
ip firewall mangle add action=mark-connection new-connection-mark=game-conn chain=prerouting protocol=tcp content=assets.cityville.zynga.com comment="CITYVILLE-FB"
ip firewall mangle add action=mark-connection new-connection-mark=game-conn chain=prerouting protocol=tcp content=static.ak.connect.facebook.com comment="FB"
ip firewall mangle add action=mark-connection new-connection-mark=game-conn chain=prerouting protocol=tcp content=static.ak.facebook.com
ip firewall mangle add action=mark-connection new-connection-mark=game-conn chain=prerouting protocol=tcp content=static.ak.fbcdn.net
ip firewall mangle add action=mark-connection new-connection-mark=game-conn chain=prerouting protocol=tcp content=creative.ak.fbcdn.net
ip firewall mangle add action=mark-connection new-connection-mark=game-conn chain=prerouting protocol=tcp content=b.static.ak.fbcdn.net
ip firewall mangle add action=mark-connection new-connection-mark=game-conn chain=prerouting protocol=tcp content=f.facemoods.com
ip firewall mangle add action=mark-connection new-connection-mark=game-conn chain=prerouting protocol=tcp content=apps.facebook.com
ip firewall mangle add action=mark-connection new-connection-mark=game-conn chain=prerouting protocol=tcp content=pixel.facebook.com
ip firewall mangle add action=mark-connection new-connection-mark=streaming dst-address=!192.168.10.1 chain=prerouting layer7-protocol=Streaming comment="STREAMING-CONN"
ip firewall mangle add action=mark-connection new-connection-mark=server-IIX-conn dst-address-list=nice chain=prerouting src-address=192.168.10.1 comment="SERVER-IIX-CONN"
ip firewall mangle add action=mark-connection new-connection-mark=pc01-IIX-conn dst-address-list=nice chain=prerouting src-address=192.168.10.2 comment="CLIENT-IIX-CONN"
ip firewall mangle add action=mark-connection new-connection-mark=pc02-IIX-conn dst-address-list=nice chain=prerouting src-address=192.168.10.3
ip firewall mangle add action=mark-connection new-connection-mark=pc03-IIX-conn dst-address-list=nice chain=prerouting src-address=192.168.10.4
ip firewall mangle add action=mark-connection new-connection-mark=pc04-IIX-conn dst-address-list=nice chain=prerouting src-address=192.168.10.5
ip firewall mangle add action=mark-connection new-connection-mark=pc05-IIX-conn dst-address-list=nice chain=prerouting src-address=192.168.10.6
ip firewall mangle add action=mark-connection new-connection-mark=server-INT-conn dst-address-list=!nice chain=prerouting src-address=192.168.10.1 comment="SERVER-INT-CONN"
ip firewall mangle add action=mark-connection new-connection-mark=pc01-INT-conn dst-address-list=!nice chain=prerouting src-address=192.168.10.2 comment="CLIENT-INT-CONN"
ip firewall mangle add action=mark-connection new-connection-mark=pc02-INT-conn dst-address-list=!nice chain=prerouting src-address=192.168.10.3
ip firewall mangle add action=mark-connection new-connection-mark=pc03-INT-conn dst-address-list=!nice chain=prerouting src-address=192.168.10.4
ip firewall mangle add action=mark-connection new-connection-mark=pc04-INT-conn dst-address-list=!nice chain=prerouting src-address=192.168.10.5
ip firewall mangle add action=mark-connection new-connection-mark=pc05-INT-conn dst-address-list=!nice chain=prerouting src-address=192.168.10.6
ip firewall mangle add action=mark-packet new-packet-mark=game packet-mark=!proxy-hit connection-mark=game-conn chain=prerouting passthrough=no comment="ALL-GAME-PACKET"
ip firewall mangle add action=mark-packet new-packet-mark=streaming packet-mark=!proxy-hit connection-mark=streaming chain=prerouting passthrough=no comment="STREAMING-PACKET"
ip firewall mangle add action=mark-packet new-packet-mark=server-IIX packet-mark=!proxy-hit connection-mark=server-IIX-conn chain=prerouting passthrough=no comment="SERVER-IIX-PACKET"
ip firewall mangle add action=mark-packet new-packet-mark=pc01-IIX packet-mark=!proxy-hit connection-mark=pc01-IIX-conn chain=prerouting passthrough=no comment="CLIENT-IIX-PACKET"
ip firewall mangle add action=mark-packet new-packet-mark=pc02-IIX packet-mark=!proxy-hit connection-mark=pc02-IIX-conn chain=prerouting passthrough=no
ip firewall mangle add action=mark-packet new-packet-mark=pc03-IIX packet-mark=!proxy-hit connection-mark=pc03-IIX-conn chain=prerouting passthrough=no
ip firewall mangle add action=mark-packet new-packet-mark=pc04-IIX packet-mark=!proxy-hit connection-mark=pc04-IIX-conn chain=prerouting passthrough=no
ip firewall mangle add action=mark-packet new-packet-mark=pc05-IIX packet-mark=!proxy-hit connection-mark=pc05-IIX-conn chain=prerouting passthrough=no
ip firewall mangle add action=mark-packet new-packet-mark=server-INT packet-mark=!proxy-hit connection-mark=server-INT-conn chain=prerouting passthrough=no comment="SERVER-INT-PACKET"
ip firewall mangle add action=mark-packet new-packet-mark=pc01-INT packet-mark=!proxy-hit connection-mark=pc01-INT-conn chain=prerouting passthrough=no comment="CLIENT-INT-PACKET"
ip firewall mangle add action=mark-packet new-packet-mark=pc02-INT packet-mark=!proxy-hit connection-mark=pc02-INT-conn chain=prerouting passthrough=no
ip firewall mangle add action=mark-packet new-packet-mark=pc03-INT packet-mark=!proxy-hit connection-mark=pc03-INT-conn chain=prerouting passthrough=no
ip firewall mangle add action=mark-packet new-packet-mark=pc04-INT packet-mark=!proxy-hit connection-mark=pc04-INT-conn chain=prerouting passthrough=no
ip firewall mangle add action=mark-packet new-packet-mark=pc05-INT packet-mark=!proxy-hit connection-mark=pc05-INT-conn chain=prerouting passthrough=no
queue type add name=download-IIX kind=pcq pcq-rate=256k pcq-classifier=dst-address
queue type add name=download-INT kind=pcq pcq-rate=200k pcq-classifier=dst-address
queue type add name=download-UNLIMIT kind=pcq pcq-rate=0 pcq-classifier=dst-address
queue type add name=upload-IIX kind=pcq pcq-rate=280k pcq-classifier=src-address
queue type add name=upload-INT kind=pcq pcq-rate=160k pcq-classifier=src-address
queue type add name=upload-UNLIMIT kind=pcq pcq-rate=0 pcq-classifier=src-address
queue type add name=streaming kind=pcq pcq-rate=96k pcq-classifier=dst-address
queue tree add name=".:PROXY HIT:." parent=Local packet-mark=proxy-hit priority=1 limit-at=100M max-limit=100M
queue tree add name=DOWNLOAD parent=Local priority=8 limit-at=0 max-limit=0
queue tree add name=UPLOAD parent=Public priority=8 limit-at=0 max-limit=0
queue tree add name=GAME-DOWN parent=DOWNLOAD packet-mark=game priority=2 limit-at=0 max-limit=0
queue tree add name=DOWNSERVER-IIX parent=DOWNLOAD max-limit=0 priority=3 burst-limit=0 burst-threshold=0 burst-time=0s
queue tree add name=DOWNSERVER-INT parent=DOWNLOAD max-limit=0 priority=5 burst-limit=0 burst-threshold=0 burst-time=0s
queue tree add name=DOWNCLIENT-IIX parent=DOWNLOAD max-limit=256k priority=4 burst-limit=0 burst-threshold=0 burst-time=0s
queue tree add name=DOWNCLIENT-INT parent=DOWNLOAD max-limit=160k priority=6 burst-limit=184k burst-threshold=128k burst-time=5s
queue tree add name=GAME-UP parent=UPLOAD packet-mark=game priority=2 limit-at=0 max-limit=0
queue tree add name=UPLOADSERVER-IIX parent=UPLOAD max-limit=0 priority=3 burst-limit=0 burst-threshold=0 burst-time=0s
queue tree add name=UPLOADSERVER-INT parent=UPLOAD max-limit=0 priority=5 burst-limit=0 burst-threshold=0 burst-time=0s
queue tree add name=UPLOADCLIENT-IIX parent=UPLOAD max-limit=256k priority=4 burst-limit=280k burst-threshold=224k burst-time=5s
queue tree add name=UPLOADCLIENT-INT parent=UPLOAD max-limit=128k priority=6 burst-limit=160k burst-threshold=112k burst-time=5s
queue tree add name=STREAMING parent=DOWNLOAD limit-at=0 max-limit=80k packet-mark=streaming queue=streaming burst-limit=96k burst-threshold=72k burst-time=5s
queue tree add name=SERVER-IIX parent=DOWNSERVER-IIX limit-at=0 max-limit=0 packet-mark=server-IIX queue=download-UNLIMIT priority=1
queue tree add name=PC01-IIX parent=DOWNCLIENT-IIX limit-at=50k max-limit=256k packet-mark=pc01-IIX queue=download-IIX priority=2
queue tree add name=PC02-IIX parent=DOWNCLIENT-IIX limit-at=50k max-limit=256k packet-mark=pc02-IIX queue=download-IIX priority=2
queue tree add name=PC03-IIX parent=DOWNCLIENT-IIX limit-at=50k max-limit=256k packet-mark=pc03-IIX queue=download-IIX priority=2
queue tree add name=PC04-IIX parent=DOWNCLIENT-IIX limit-at=50k max-limit=256k packet-mark=pc04-IIX queue=download-IIX priority=2
queue tree add name=PC05-IIX parent=DOWNCLIENT-IIX limit-at=50k max-limit=256k packet-mark=pc05-IIX queue=download-IIX priority=2
queue tree add name=SERVER-INT parent=DOWNSERVER-INT limit-at=0 max-limit=0 packet-mark=server-INT queue=download-UNLIMIT priority=3
queue tree add name=PC01-INT parent=DOWNCLIENT-INT limit-at=32k max-limit=160k packet-mark=pc01-INT queue=download-INT priority=4
queue tree add name=PC02-INT parent=DOWNCLIENT-INT limit-at=32k max-limit=160k packet-mark=pc02-INT queue=download-INT priority=4
queue tree add name=PC03-INT parent=DOWNCLIENT-INT limit-at=32k max-limit=160k packet-mark=pc03-INT queue=download-INT priority=4
queue tree add name=PC04-INT parent=DOWNCLIENT-INT limit-at=32k max-limit=160k packet-mark=pc04-INT queue=download-INT priority=4
queue tree add name=PC05-INT parent=DOWNCLIENT-INT limit-at=32k max-limit=160k packet-mark=pc05-INT queue=download-INT priority=4
queue tree add name=SERVER-UP-IIX parent=UPLOADSERVER-IIX limit-at=0 max-limit=0 packet-mark=server-IIX queue=upload-UNLIMIT priority=1
queue tree add name=PC01-UP-IIX parent=UPLOADCLIENT-IIX limit-at=50k max-limit=256k packet-mark=pc01-IIX queue=upload-IIX priority=2
queue tree add name=PC02-UP-IIX parent=UPLOADCLIENT-IIX limit-at=50k max-limit=256k packet-mark=pc02-IIX queue=upload-IIX priority=2
queue tree add name=PC03-UP-IIX parent=UPLOADCLIENT-IIX limit-at=50k max-limit=256k packet-mark=pc03-IIX queue=upload-IIX priority=2
queue tree add name=PC04-UP-IIX parent=UPLOADCLIENT-IIX limit-at=50k max-limit=256k packet-mark=pc04-IIX queue=upload-IIX priority=2
queue tree add name=PC05-UP-IIX parent=UPLOADCLIENT-IIX limit-at=50k max-limit=256k packet-mark=pc05-IIX queue=upload-IIX priority=2
queue tree add name=SERVER-UP-INT parent=UPLOADSERVER-INT limit-at=0 max-limit=0 packet-mark=server-INT queue=upload-UNLIMIT priority=3
queue tree add name=PC01-UP-INT parent=UPLOADCLIENT-INT limit-at=32k max-limit=128k packet-mark=pc01-INT queue=upload-INT priority=4
queue tree add name=PC02-UP-INT parent=UPLOADCLIENT-INT limit-at=32k max-limit=128k packet-mark=pc02-INT queue=upload-INT priority=4
queue tree add name=PC03-UP-INT parent=UPLOADCLIENT-INT limit-at=32k max-limit=128k packet-mark=pc03-INT queue=upload-INT priority=4
queue tree add name=PC04-UP-INT parent=UPLOADCLIENT-INT limit-at=32k max-limit=128k packet-mark=pc04-INT queue=upload-INT priority=4
queue tree add name=PC05-UP-INT parent=UPLOADCLIENT-INT limit-at=32k max-limit=128k packet-mark=pc05-INT queue=upload-INT priority=4