firewall-cmd filter by string

1

Good I am trying to filter by String a chain, just as it is done in iptables; But it's not working. I'm sending the sequence like that.

firewall-cmd --permanent --direct --add-rule ipv4 filter FORWARD 0 -s xx.xx.xx.xx -p tcp --dport 443 -m string --string "youtube" --algo bm -j DROP

Has anyone tried to filter by String on firewalld in Centos 7? in iptables it works but in firewalld? I want to filter YouTube and the only method I found is the String.

    
asked by zeroken 23.01.2018 в 21:47
source

0 answers