Advertisement
dedeanshi

Mangle Game

Aug 20th, 2018
610
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.63 KB | None | 0 0
  1. #mangle game
  2.  
  3. /ip firewall address-list
  4. add address=192.168.0.0/16 list=private-lokal
  5.  
  6. /ip firewall mangle
  7. add action=mark-connection chain=prerouting comment=jump1 connection-rate=\
  8. 0-384k dst-address-list=!private-lokal dst-port=\
  9. !21,22,23,80,81,88,5050,843,443,182,282,8777,1935,8000-8081 \
  10. new-connection-mark=jump1 passthrough=yes protocol=tcp src-address-list=\
  11. private-lokal
  12. add action=mark-connection chain=prerouting comment=jump1 connection-rate=\
  13. 0-384k dst-address-list=!private-lokal dst-port=\
  14. !21,22,23,80,81,88,5050,843,443,182,282,8777,1935,8000-8081 \
  15. new-connection-mark=jump2 passthrough=yes protocol=udp src-address-list=\
  16. private-lokal
  17. add action=mark-connection chain=prerouting comment=games connection-mark=\
  18. jump1 connection-rate=0-384k dst-address-list=!private-lokal \
  19. new-connection-mark=games passthrough=no protocol=tcp src-address-list=\
  20. private-lokal
  21. add action=mark-connection chain=prerouting comment=games connection-mark=\
  22. jump2 connection-rate=0-384k dst-address-list=!private-lokal \
  23. new-connection-mark=games passthrough=no protocol=udp src-address-list=\
  24. private-lokal
  25. add action=accept chain=prerouting comment=games-ip connection-mark=games
  26. add action=add-dst-to-address-list address-list=games address-list-timeout=\
  27. none-dynamic chain=forward comment=games-ip connection-mark=games \
  28. dst-address-list=!private-lokal src-address-list=private-lokal
  29. add action=mark-packet chain=forward comment=games-down \
  30. new-packet-mark=games-down passthrough=no src-address-list=games
  31. add action=mark-packet chain=forward comment=games-up dst-address-list=games \
  32. new-packet-mark=games-up passthrough=no
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement