Hi, all new user to Mikrotik …amazing product!
I’ve been reading non stop for the last 2 days now and still cannot figure this out. Basically what I did is setup a hotspot on ethernet port 2.
I added the code using the terminal. The code comes up in my Layer 7 protocols and firewall filter rules. I try to enable the codes but they are not being enabled. It just shows up as disabled. What am I doing wrong? Any help is appreciated. Thanks.
I want to block all p2p activity. I searched and decided to use this script from the following thread:
Thread: http://forum.mikrotik.com/t/how-block-connection-of-p2p/18495/1
ip firewall layer7-protocol add comment="" name=p2p_www regexp="^.*(get|GET).+\
(torrent|thepiratebay|isohunt|entertane|demonoid|btjunkie|mininova|flixflux|vertor|h33t|\
zoozle|bitnova|bitsoup|meganova|fulldls|btbot|fenopy|gpirate|commonbits).*\$"
ip firewall layer7-protocol add comment="" name=p2p_dns regexp="^.+\
(torrent|thepiratebay|isohunt|entertane|demonoid|btjunkie|mininova|flixflux|vertor|h33t|\
zoozle|bitnova|bitsoup|meganova|fulldls|btbot|fenopy|gpirate|commonbits).*\$"
Add Firewall rules
ip firewall filter add action=drop chain=forward comment="block p2p_www" disabled=no \
layer7-protocol=p2p_www
ip firewall filter add action=drop chain=forward comment="block p2p_dns" disabled=no \
dst-port=53 layer7-protocol=p2p_dns protocol=udp
