Quantcast
Channel: Admins Goodies » flooding
Viewing all articles
Browse latest Browse all 10

How to remove route with IP?

$
0
0

Question

Used to ban some flood-bots with

route add -host $ip reject

But couple of ‘good’ IPs were banned as well.
My question is stupid (but I’ve searched and found no good solution (all were large and/or didn’t work)):

How to unban it if I know the IP ?

Tried to use this:

route del -host 111.11.11.11

111.11.11.11 – just for example. I tried the exactly banned IP.

It said:

SIOCDELRT: No such process

Hoping for answers. Thanks.

Answer

route add 111.11.11.11 reject blocks the IP.

route del 111.11.11.11 reject unblocks it.


Viewing all articles
Browse latest Browse all 10

Latest Images

Trending Articles



Latest Images