/ip firewall layer7-protocol add name=”All Video files” regexp=”^.*get.+\\.(webm|mkv|flv|flv|vob|ogv|ogg|dr\
Read More »Home 10 Layer7 Protocol
Layer7 Protocol
Block Facebook with Layer7 Allow facebook for specific host
/ip firewall layer7-protocol add name=”Deny worktime” regexp=”^(.*)(facebook)(.*)\$” /ip firewall connection tracking set enabled=yes generic-timeout=10m icmp-timeout=10s tcp-close-timeout=10s \ tcp-close-wait-timeout=10s tcp-established-timeout=1d tcp-fin-wait-timeout=\ 10s tcp-last-ack-timeout=10s tcp-syn-received-timeout=5s \ tcp-syn-sent-timeout=5s tcp-syncookie=no tcp-time-wait-timeout=10s \ udp-stream-timeout=3m udp-timeout=10s ^.+(facebook.com).*$ Now, we need to create Filter Rule, using these steps: Now test the rule, that we just created: Try also on 2nd client (172.16.10.199/24): Check that it ...
Read More »