Advertisement
rootplg3544

) 3 baris queue simple utk [game online + browsing] = nyegir

Jun 17th, 2018
473
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.60 KB | None | 0 0
  1. Langsung aja ah.....
  2. Test running well di RB750 OS ver.4.5
  3. ISP= SAPIDI EXECUTIVE 512 - 2M
  4. Mangle:
  5. GAME
  6. contoh buat Point Blank, game lain sesuaikan aja port/ip nya
  7. chain=prerouting action=jump jump-target=game
  8. chain=game action=mark-connection new-connection-mark=Game passthrough=yes protocol=tcp dst-address=203.89.146.0/23 dst-port=39190 comment="Point Blank"
  9. chain=game action=mark-connection new-connection-mark=Game passthrough=yes protocol=udp dst-address=203.89.146.0/23 dst-port=40000-40010
  10. chain=game action=mark-packet new-packet-mark=Game_pkt passthrough=no connection-mark=Game
  11.  
  12. POKER
  13.  
  14. chain=forward action=mark-connection new-connection-mark=Poker_con passthrough=yes protocol=tcp dst-address-list=LOAD POKER comment="POKER"
  15. chain=forward action=mark-connection new-connection-mark=Poker_con passthrough=yes protocol=tcp content=statics.poker.static.zynga.com
  16. chain=forward action=mark-packet new-packet-mark=Poker passthrough=no connection-mark=Poker_con
  17.  
  18. BROWSING
  19.  
  20. chain=forward action=mark-connection new-connection-mark=http passthrough=yes protocol=tcp in-interface=WAN out-interface=Lan packet-mark=!Game_pkt connection-mark=!Game connection-bytes=0-262146 comment="BROWSE"
  21. chain=forward action=mark-packet new-packet-mark=http_pkt passthrough=no protocol=tcp connection-mark=http
  22.  
  23. LIMIT DOWNLOAD
  24.  
  25. chain=forward action=mark-connection new-connection-mark=Download passthrough=yes protocol=tcp in-interface=WAN out-interface=Lan packet-mark=!Game_pkt connection-mark=!Poker_con connection bytes=262146-4294967295 comment="LIMIT DOWNLOAD"
  26. chain=forward action=mark-packet new-packet-mark=Download_pkt passthrough=no packet-mark=!Game_pk> connection-mark=Download
  27.  
  28. UPLOAD
  29.  
  30. chain=prerouting action=mark-packet new-packet-mark=Upload passthrough=no protocol=tcp src-address=192.168.0.0/24 in-interface=Lan packet-mark=!icmp_pkt comment="UPLOAD"
  31.  
  32. QUEUE:
  33.  
  34. queue type
  35.  
  36. name="Download" kind=pcq pcq-rate=256000 pcq-limit=50 pcq-classifier=dst-address pcq-total-limit=2000
  37. name="Http" kind=pcq pcq-rate=1M pcq-limit=50 pcq-classifier=dst-address pcq-total-limit=2000
  38. name="Game" kind=pcq pcq-rate=0 pcq-limit=50 pcq-classifier=src-address,dst-address,src-port,dst-port pcq-total-limit=2000
  39. name="Upload" kind=pcq pcq-rate=0 pcq-limit=50 pcq-classifier=src-address pcq-total-limit=2000
  40.  
  41. Queue Tree
  42.  
  43. name="Main Browse" parent=Lan limit-at=0 priority=8 max-limit=1M burst-limit=0 burst-threshold=0 burst-time=0s
  44. 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
  45. 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
  46. name="Poker" parent=global-out packet-mark=Poker limit-at=0 queue=Game priority=3 max-limit=0 burst-limit=0 burst-threshold=0 burst-time=0s
  47. 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
  48. name="Main Upload" parent=global-in limit-at=0 priority=8 max-limit=256k burst-limit=0 burst-threshold=0 burst-time=0s
  49. 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
  50.  
  51.  
  52. HASILNYA
  53. BROWSING 1Mbs bagi rata sekampung (baca: satu jaringan)
  54. DOWNLOAD 256Kbps bagi rata sekampung
  55. GAME seadanya bandwith sesuai kebutuhan sekampung
  56. POKER seadanya bandwith sesuai kebutuhan sekampung
  57. UPLOAD seadanya bandwith bagi rata sesuai kebutuhan sekampung
  58.  
  59. GA PAKE PROXY
  60.  
  61. DITUNGGU KOREKSI DAN REVIEWNYA.Click here to enlarge
  62. DITULIS JUGA DI
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement