[NTLUG:Discuss] OT: Port scans

Rev. wRy slot0k at pogox.org
Thu Apr 28 15:09:28 CDT 2005


On Thu, 2005-04-28 at 14:40, Terry wrote:

> Question:
> Hypothetically speaking; let's say problem is solved, (or so  you're
> told), and you need or want to remove this restriction, what would be
> the proper or best command to reverse the process of ignoring this
> particular IP address?
 
> Or, is there another / better / different way?

>From the iptables man page:

-D, --delete chain rule-specification
-D, --delete chain rulenum

    Delete one or more rules from the  selected  chain.
    There  are  two  versions of this command: the rule
    can be specified as a number in the chain (starting
    at 1 for the first rule) or a rule to match.

so in this case it'd be:

/sbin/iptables -D INPUT -s 65.19.175.58 -j ACCEPT

R





More information about the Discuss mailing list