Securifi Community Forum

Securifi Products => Almond+ => Topic started by: b0xCH on December 07, 2014, 05:00:20 pm

Title: Block range of IP's
Post by: b0xCH on December 07, 2014, 05:00:20 pm
Hello there!
I'm trying to block an IP /24 Range, that noone inside of the network can access them or make a connection to them.
I don't have an idea what I'm doing wrong here:
Code: [Select]
iptables -A INPUT -d 123.45.78.0/24 --jump REJECT
How can I do that?

Thanks!
Title: Re: Block range of IP's
Post by: bwainscott on December 07, 2014, 09:23:36 pm
Try the FORWARD chain instead of INPUT. INPUT is for packets going TO the router itself, not THROUGH the router