Firewall filter by contets does not work properly

It seems that fitlering by contents does not accept URLs as query filter.

I tried to set this one:

/ip firewall filter chain=forward action=drop protocol=tcp content=mysite.com/banner comment=“” disabled=no

And it does not work

If I change it to

/ip firewall filter chain=forward action=drop protocol=tcp content=mysite.com/ comment=“” disabled=no

or

/ip firewall filter chain=forward action=drop protocol=tcp content=/banner comment=“” disabled=no

then it works.

It seems that URL which contains slash which is not at the beginning or the end cannot be set as content.


I use MT version 2.9.46

not sure but try to escape it ? I have used “SIP/2.0” and it works for me however…

the firewall ‘content’ is not for website names. it’s for packet content. to filter by website names you have to use webproxy access list.