28 Jan
2003
28 Jan
'03
19:41
On Tuesday 28 January 2003 16:05, Jaap Noordzij wrote:
Hi,
How can I block IP addresses completely from accessing my fw in SuSEfirewall2 configuration ?
If you want to block IP address range xxx.xxx.xxx.xxx/yy, you can do this by putting iptables -A INPUT -j DROP -s xxx.xxx.xxx.xxx/yy in the section fw_custom_before_antispoofing() of /etc/sysconfig/scripts/SuSEfirewall2-custom. You need to enable the use of a custom firewall configuration at the end of /etc/sysconfig/SuSEfirewall2 as well. Read the comments in the custom configuration for further explanation. -- Arjen de Korte 51 N 25' 05.1" - 05 E 29' 13.3" Key fingerprint - 66 4E 03 2C 9D B5 CB 9B 7A FE 7E C1 EE 88 BC 57