Z
Z
ZaraMc2015-07-18 15:34:53
SSH
ZaraMc, 2015-07-18 15:34:53

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

But it comes out
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

1 answer(s)
R
Roman Bazalevsky, 2015-07-18
@rvbglas

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 question

Ask a Question

731 491 924 answers to any question