Hi,
I try to block acces to ipfire webui for a network but after i had the start rule and the stop rule in the good position, i have this message on start :
iptables: Bad rule (does a matching rule exist in that chain?
After boot i try to add and remove manually the same rule with shell command and it work manually.
Start rule
iptables -A CUSTOMINPUT -s 192.168.1.0/24 -p tcp -d 192.168.1.1 --dport 444 -j DROP
Stop rule
iptables -D CUSTOMINPUT -s 192.168.1.0/24 -p tcp -d 192.168.1.1 --dport 444 -j DROP
I don’t understand because this is the first custom rule i try to add. I know i can add rule with the web ui but i wan’t to understand how Ipfire.
Thank’s for help