Advertisement
rootplg3544

manajemen badnwitd per GRUP dengan simple queue

Jul 31st, 2018
226
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.01 KB | None | 0 0
  1. ini ane kasih contoh Address-list Group1 dan group2 beserta mangle nya, sisa nya terserah agan mau taroh di simple queue atau queue tree, yg penting mark-packet nya di tag jg di queue
  2. Kelola
  3. Suka · Balas · 2t
  4. Aël Irsal
  5. Aël Irsal /ip firewall address-list add list=Group1 address=192.168.10.3-192.168.10.6
  6. /ip firewall address-list add list=Group2 address=192.168.10.7-192.168.10.14
  7.  
  8. /ip firewall mangle add chain=prerouting protocol=tcp dst-port=80,443 src-address-list=Group1 action=mark-connection new-connection-mark=Group1_Con passthrough=yes disabled=no
  9. /ip firewall mangle add action=mark-packet chain=prerouting connection-mark=Group1_Con new-packet-mark=Group1_packet passthrough=no disable=no
  10.  
  11. /ip firewall mangle add chain=prerouting protocol=tcp dst-port=80,443 src-address-list=Group2 action=mark-connection new-connection-mark=Group2_Con passthrough=yes disabled=no
  12. /ip firewall mangle add chain=prerouting connection-mark=Group2_Con action=mark-packet new-packet-mark=Group2_packet passthrough=no disabled=no
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement