Fail2Ban Firewall commands

I need to know the commands to Remove and Add IP’s to my allowed IPtables list.

For example, there is an IP in the Table list as follows;

-A fpbxnets -s 107.168.129.45/32 -j zone-trusted

How do I remove this one an add another one?

but the rule is from Firewall, not fail2ban.

I am not versed in this language can you place each command on a separate line so it easier for me to read.

Follow the link to the thread :grinning:

2 Likes

This command did not work, here are the four IPs I need to remove as they are shown in IpTabales;

-A fpbxnets -s 172.111.0.0/32 -j zone-trusted
-A fpbxnets -s 39.45.41.185/32 -j zone-trusted
-A fpbxnets -s 39.45.41.0/24 -j zone-trusted
-A fpbxnets -s 192.168.0.0/16 -j zone-trusted
-A fpbxnets -s 172.16.0.0/12 -j zone-trusted

I am still seeing these IP’s when I enter the command

“more iptables”

however, I do not see them when I enter "fwconsole firewall list trusted list trusted’’

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.