Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #mangle game
- /ip firewall address-list
- add address=192.168.0.0/16 list=private-lokal
- /ip firewall mangle
- add action=mark-connection chain=prerouting comment=jump1 connection-rate=\
- 0-384k dst-address-list=!private-lokal dst-port=\
- !21,22,23,80,81,88,5050,843,443,182,282,8777,1935,8000-8081 \
- new-connection-mark=jump1 passthrough=yes protocol=tcp src-address-list=\
- private-lokal
- add action=mark-connection chain=prerouting comment=jump1 connection-rate=\
- 0-384k dst-address-list=!private-lokal dst-port=\
- !21,22,23,80,81,88,5050,843,443,182,282,8777,1935,8000-8081 \
- new-connection-mark=jump2 passthrough=yes protocol=udp src-address-list=\
- private-lokal
- add action=mark-connection chain=prerouting comment=games connection-mark=\
- jump1 connection-rate=0-384k dst-address-list=!private-lokal \
- new-connection-mark=games passthrough=no protocol=tcp src-address-list=\
- private-lokal
- add action=mark-connection chain=prerouting comment=games connection-mark=\
- jump2 connection-rate=0-384k dst-address-list=!private-lokal \
- new-connection-mark=games passthrough=no protocol=udp src-address-list=\
- private-lokal
- add action=accept chain=prerouting comment=games-ip connection-mark=games
- add action=add-dst-to-address-list address-list=games address-list-timeout=\
- none-dynamic chain=forward comment=games-ip connection-mark=games \
- dst-address-list=!private-lokal src-address-list=private-lokal
- add action=mark-packet chain=forward comment=games-down \
- new-packet-mark=games-down passthrough=no src-address-list=games
- add action=mark-packet chain=forward comment=games-up dst-address-list=games \
- new-packet-mark=games-up passthrough=no
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement