Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /ip firewall address-list
- add address=10.0.0.0/8 list=private-lokal
- add address=172.16.0.0/12 list=private-lokal
- add address=192.168.0.0/16 list=private-lokal
- /ip firewall mangle
- add action=mark-connection chain=prerouting comment=vip dst-address-list=!private-lokal new-connection-mark=vip protocol=icmp src-address-list=private-lokal
- add action=mark-connection chain=prerouting comment=vip dst-address-list=!private-lokal new-connection-mark=vip protocol=igmp src-address-list=private-lokal
- add action=mark-connection chain=prerouting comment=vip dst-address-list=!private-lokal dst-port=123,53,5353 new-connection-mark=vip protocol=tcp \
- src-address-list=private-lokal
- add action=mark-connection chain=prerouting comment=vip dst-address-list=!private-lokal dst-port=123,53,5353 new-connection-mark=vip protocol=udp \
- src-address-list=private-lokal
- add action=mark-packet chain=prerouting comment=vip-up connection-mark=vip dst-address-list=!private-lokal new-packet-mark=vip-up passthrough=no \
- src-address-list=private-lokal
- add action=mark-packet chain=prerouting comment=vip-down connection-mark=vip dst-address-list=private-lokal new-packet-mark=vip-down passthrough=no \
- src-address-list=!private-lokal
- add action=mark-connection chain=prerouting comment=googlevideo content=.youtube.com dst-address-list=!private-lokal new-connection-mark=googlevideo \
- src-address-list=private-lokal
- add action=mark-connection chain=prerouting comment=googlevideo content=googlevideo.com dst-address-list=!private-lokal new-connection-mark=googlevideo \
- src-address-list=private-lokal
- add action=mark-packet chain=prerouting comment=googlevideo-up connection-mark=googlevideo dst-address-list=!private-lokal new-packet-mark=googlevideo-up \
- passthrough=no src-address-list=private-lokal
- add action=mark-packet chain=prerouting comment=googlevideo-down connection-mark=googlevideo dst-address-list=private-lokal new-packet-mark=googlevideo-down \
- passthrough=no src-address-list=!private-lokal
- add action=mark-connection chain=prerouting comment=sosmed content=facebook.com dst-address-list=!private-lokal new-connection-mark=sosmed src-address-list=\
- private-lokal
- add action=mark-connection chain=prerouting comment=sosmed content=fbcdn.net dst-address-list=!private-lokal new-connection-mark=sosmed src-address-list=\
- private-lokal
- add action=mark-connection chain=prerouting comment=sosmed content=akamaihd.net dst-address-list=!private-lokal new-connection-mark=sosmed src-address-list=\
- private-lokal
- add action=mark-connection chain=prerouting comment=sosmed content=twitter.com dst-address-list=!private-lokal new-connection-mark=sosmed src-address-list=\
- private-lokal
- add action=mark-connection chain=prerouting comment=sosmed content=twimg.com dst-address-list=!private-lokal new-connection-mark=sosmed src-address-list=\
- private-lokal
- add action=mark-connection chain=prerouting comment=sosmed content=instagram.com dst-address-list=!private-lokal new-connection-mark=sosmed src-address-list=\
- private-lokal
- add action=mark-connection chain=prerouting comment=sosmed content=telegram.com dst-address-list=!private-lokal new-connection-mark=sosmed src-address-list=\
- private-lokal
- add action=mark-connection chain=prerouting comment=sosmed content=whatsapp.com dst-address-list=!private-lokal new-connection-mark=sosmed src-address-list=\
- private-lokal
- add action=mark-connection chain=prerouting comment=sosmed content=path.com dst-address-list=!private-lokal new-connection-mark=sosmed src-address-list=\
- private-lokal
- add action=mark-packet chain=prerouting comment=sosmed-up connection-mark=sosmed dst-address-list=!private-lokal new-packet-mark=sosmed-up passthrough=no \
- src-address-list=private-lokal
- add action=mark-packet chain=prerouting comment=sosmed-down connection-mark=sosmed dst-address-list=private-lokal new-packet-mark=sosmed-down passthrough=no \
- src-address-list=!private-lokal
- add action=mark-connection chain=prerouting comment=streaming dst-address-list=!private-lokal dst-port=182,282,8777,1935 new-connection-mark=streaming \
- protocol=tcp src-address-list=private-lokal
- add action=mark-connection chain=prerouting comment=streaming dst-address-list=!private-lokal dst-port=182,282,8777,1935 new-connection-mark=streaming \
- protocol=udp src-address-list=private-lokal
- add action=mark-connection chain=prerouting comment=streaming content=.mp4 dst-address-list=!private-lokal new-connection-mark=streaming src-address-list=\
- private-lokal
- add action=mark-connection chain=prerouting comment=streaming content=.flv dst-address-list=!private-lokal new-connection-mark=streaming src-address-list=\
- private-lokal
- add action=mark-connection chain=prerouting comment=streaming content=.mkv dst-address-list=!private-lokal new-connection-mark=streaming src-address-list=\
- private-lokal
- add action=mark-connection chain=prerouting comment=streaming content=.3gp dst-address-list=!private-lokal new-connection-mark=streaming src-address-list=\
- private-lokal
- add action=mark-connection chain=prerouting comment=streaming content=.ts dst-address-list=!private-lokal new-connection-mark=streaming src-address-list=\
- private-lokal
- add action=mark-connection chain=prerouting comment=streaming content=.m3u dst-address-list=!private-lokal new-connection-mark=streaming src-address-list=\
- private-lokal
- add action=mark-packet chain=prerouting comment=streaming-up connection-mark=streaming dst-address-list=!private-lokal new-packet-mark=streaming-up \
- passthrough=no src-address-list=private-lokal
- add action=mark-packet chain=prerouting comment=streaming-down connection-mark=streaming dst-address-list=private-lokal new-packet-mark=streaming-down \
- passthrough=no src-address-list=!private-lokal
- add action=mark-connection chain=prerouting comment=down-up connection-rate=512k-100M dst-address-list=!private-lokal new-connection-mark=down-up protocol=\
- tcp src-address-list=private-lokal
- add action=mark-connection chain=prerouting comment=down-up connection-rate=512k-100M dst-address-list=!private-lokal new-connection-mark=down-up protocol=\
- udp src-address-list=private-lokal
- add action=mark-packet chain=prerouting comment=up connection-mark=down-up dst-address-list=!private-lokal new-packet-mark=up passthrough=no \
- src-address-list=private-lokal
- add action=mark-packet chain=prerouting comment=down connection-mark=down-up dst-address-list=private-lokal new-packet-mark=down passthrough=no \
- src-address-list=!private-lokal
- add action=mark-connection chain=prerouting connection-rate=0-128k dst-address-list=!private-lokal dst-port=\
- !21,22,23,80,81,88,5050,843,443,182,8777,1935,8000-8081,282 new-connection-mark=games protocol=tcp src-address-list=private-lokal
- add action=mark-connection chain=prerouting connection-rate=0-128k dst-address-list=!private-lokal dst-port=\
- !21,22,23,80,81,88,5050,843,443,182,8777,1935,8000-8081,282 new-connection-mark=games protocol=udp src-address-list=private-lokal
- add action=mark-packet chain=prerouting comment=games-up connection-mark=games dst-address-list=!private-lokal new-packet-mark=games-up passthrough=no \
- src-address-list=private-lokal
- add action=mark-packet chain=prerouting comment=games-down connection-mark=games dst-address-list=private-lokal new-packet-mark=games-down passthrough=no \
- src-address-list=!private-lokal
- add action=mark-connection chain=prerouting comment=browsing dst-address-list=!private-lokal dst-port=80,443,843,8000-8090 new-connection-mark=browsing \
- protocol=tcp src-address-list=private-lokal
- add action=mark-connection chain=prerouting comment=browsing dst-address-list=!private-lokal dst-port=80,443,843,8000-8090 new-connection-mark=browsing \
- protocol=udp src-address-list=private-lokal
- add action=mark-packet chain=prerouting comment=browsing-up connection-mark=browsing dst-address-list=!private-lokal new-packet-mark=browsing-up passthrough=\
- no src-address-list=private-lokal
- add action=mark-packet chain=prerouting comment=browsing-down connection-mark=browsing dst-address-list=private-lokal new-packet-mark=browsing-down \
- passthrough=no src-address-list=!private-lokal
- add action=mark-connection chain=prerouting comment=unknown dst-address-list=!private-lokal new-connection-mark=unknown src-address-list=private-lokal
- add action=mark-packet chain=prerouting comment=unknown-up connection-mark=unknown dst-address-list=!private-lokal new-packet-mark=unknown-up passthrough=no \
- src-address-list=private-lokal
- add action=mark-packet chain=prerouting comment=unknown-down connection-mark=unknown dst-address-list=private-lokal new-packet-mark=unknown-down passthrough=\
- no src-address-list=!private-lokal
- /queue tree
- add max-limit=100M name=QOS parent=global
- add max-limit=100M name=DOWN parent=QOS
- add limit-at=64k max-limit=100M name=D.01.VIP packet-mark=vip-down parent=DOWN priority=1
- add limit-at=2M max-limit=100M name=D.02.GAMES-ONLINE packet-mark=games-down parent=DOWN priority=3
- add limit-at=10M max-limit=10M name=D.03.DOWN-TRAFIK parent=DOWN
- add limit-at=1M max-limit=10M name=DA.BROWSING packet-mark=browsing-down parent=D.03.DOWN-TRAFIK priority=5
- add limit-at=1M max-limit=10M name=DB.SOSMED packet-mark=sosmed-down parent=D.03.DOWN-TRAFIK priority=5
- add limit-at=1M max-limit=10M name=DC.YOUTUBE packet-mark=googlevideo-down parent=D.03.DOWN-TRAFIK priority=6
- add limit-at=1M max-limit=10M name=DD.STREAMING packet-mark=streaming-down parent=D.03.DOWN-TRAFIK priority=6
- add limit-at=1M max-limit=10M name=DE.DOWNLOAD packet-mark=down parent=D.03.DOWN-TRAFIK priority=7
- add limit-at=1M max-limit=10M name=DF.UNKNOWN packet-mark=unknown-down parent=D.03.DOWN-TRAFIK
- add max-limit=100M name=UP parent=QOS
- add limit-at=64k max-limit=100M name=U.01.VIP packet-mark=vip-up parent=UP priority=1
- add limit-at=1M max-limit=100M name=U.02.GAMES-ONLINE packet-mark=games-up parent=UP priority=3
- add limit-at=10M max-limit=10M name=U.03.UP-TRAFIK parent=UP
- add limit-at=1M max-limit=10M name=UA.BROWSING packet-mark=browsing-up parent=U.03.UP-TRAFIK priority=5
- add limit-at=1M max-limit=10M name=UB.SOSMED packet-mark=sosmed-up parent=U.03.UP-TRAFIK priority=5
- add limit-at=1M max-limit=10M name=UC.YOUTUBE packet-mark=googlevideo-up parent=U.03.UP-TRAFIK priority=6
- add limit-at=1M max-limit=10M name=UD.STREAMING packet-mark=streaming-up parent=U.03.UP-TRAFIK priority=6
- add limit-at=1M max-limit=10M name=UE.UPLOAD packet-mark=up parent=U.03.UP-TRAFIK priority=7
- add limit-at=1M max-limit=10M name=UF.UNKNOWN packet-mark=unknown-up parent=U.03.UP-TRAFIK
Add Comment
Please, Sign In to add comment