Script:
/ip firewall layer7-protocol
add name=L7_FB regexp="^(.*)(facebook)(.*)\\\$"
/ip firewall filter
add action=add-dst-to-address-list address-list=FB_List address-list-timeout=\
5m chain=forward layer7-protocol=L7_FB log-prefix=""
/ip firewall mangle
add action=mark-connection chain=forward dst-address-list=FB_List log-prefix=\
"" new-connection-mark=FB_Conn passthrough=yes
add action=mark-packet chain=forward connection-mark=FB_Conn log-prefix="" \
new-packet-mark=FB_Pkt passthrough=no
/queue simple
add max-limit=128k/128k name=Facebook packet-marks=FB_Pkt target=""
add max-limit=5M/5M name=All_LAN packet-marks=no-mark target=""
No comments:
Post a Comment