Answer the question
In order to leave comments, you need to log in
What line to enter for "Remove the rule allowing you to connect from 94.229.*.*?
I was told to enter:
iptables -D INPUT -s 94.229.0.0/16 -p tcp -m tcp --dport 21 -j ACCEPT
Bad rule (does a matching rule exist in that chain?). What's wrong??
Answer the question
In order to leave comments, you need to log in
And what does the rule look like in the output of iptables --list-rules ?
Find it there and replace -A with -D.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question