I have tried to find a topic for this, but i couldn`t so if there is one please reffer me.
So, i have centOS 5.2 and i use iptables. On it a run a couple of Counter-Strike servers. In my firewall i have a rule that states:
-A RH-Firewall-1-INPUT -m iprange --src-range 77.28.0.0-77.29.255.255 -j DROP
Input and forward are reffered to RH-Firewall-1-INPUT.But, it doesn`t drop the ips from the range. I have been working on it the whole morning and i`m really frustrated by now. I have tried with my ip
-A RH-Firewall-1-INPUT -s 77.46.191.147 -j DROP
and could still connect to the damn servers.
To edit the list i use:
iptables-save > /tmp/ipt
iptables-restore < /tmp/ipt (after i edited the file ofcourse)
/etc/init.d/iptables save
and when i check the chains with iptables -L -n all of them are there, but, again, i can still connect to the damn servers
