Mailinglist Archive: opensuse-security (261 mails)

< Previous Next >
Re: [suse-security] How to block some IPs with SuSEfirewall2 ?
  • From: Andreas <maps.on@xxxxxxx>
  • Date: Wed, 28 Apr 2004 01:56:35 +0200
  • Message-id: <408EF333.9070501@xxxxxxx>
Holger Schletz schrieb:

Have you set FW_CUSTOMRULES in /etc/sysconfig/SuSEfirewall2 ?

No =8-O

Well, now I did and an
IPTABLES -A OUTPUT -j REJECT -d www.x.de
in fw_custom_before_antispoofing()
prevents at least lynx on the NAT box itselve to reach those sites.
I did it remotely so I can't actually check if the LAN boxes can still get through.

I've got to admit, that I don't have a clue about IPTABLES and let SuSEfirewall2 do it's magic.

Thanks :)
Andreas

< Previous Next >
Follow Ups
References