Firewalld with nfqueue

Support for security such as Firewalls and securing linux
Post Reply
fightingyuman
Posts: 2
Joined: 2015/08/21 03:50:19

Firewalld with nfqueue

Post by fightingyuman » 2015/08/21 03:59:50

I turned to CentOS 7 for a few weeks.
In my former using with CentOS 6.4, I can add rule to /etc/sysconfig/iptables as:

Code: Select all

-A FORWARD -s 192.168.0.0/24 -j NFQUEUE --queue-num 1
-A FORWARD -d 192.168.0.0/24 -j NFQUEUE --queue-num 1
I don't want to change back to use iptables in CentOS 7, can I turn this rule to firewalld xml rule?

Any help is appreciated.

fightingyuman
Posts: 2
Joined: 2015/08/21 03:50:19

Re: Firewalld with nfqueue

Post by fightingyuman » 2015/08/22 12:15:22

I used

Code: Select all

firewall-cmd --direct --add-rule ipv4 FORWARD 0 -s 192.168.0.0/24 -j NFQUEUE --queue-num 1
but it does not work, I finally disabled firewalld, use iptables.service as I did in CentOS 6.


Post Reply