Mailinglist Archive: opensuse-security (448 mails)

< Previous Next >
Re: [suse-security] blocking certain ips
  • From: Michael Zimmermann <zim@xxxxxxxx>
  • Date: Sat, 4 May 2002 16:24:17 +0200
  • Message-id: <200205041624.19749.zim@xxxxxxxx>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

At Saturday 04 May 2002 14:56 Ralf Ronneburger wrote:
> first of all it's not FORWARD, but INPUT, because you're trying to block
> incoming connections, not FORWARDED ones. Then you'll have to check if
> you don't have another rule that is executed before the one you've added.
>
> Mike Otto wrote:
> > Hi I´m looking for a way to block certain IP Addresses from all ports on
> > my computer. I tried this at the console:
> >
> > iptables -A FORWARD -p tcp -s 192.168.100.1 -d 0.0.0.0/0.0.0.0
> > --dport 80 -j DROP

And secondly your rule is only blocking port 80 (HTTP), right?

Greetings
Michael
- --
Michael Zimmermann (Vegaa Safety and Security for Internet Services)
<zim@xxxxxxxx> phone +49 89 6283 7632 hotline +49 163 823 1195
Key fingerprint = 1E47 7B99 A9D3 698D 7E35 9BB5 EF6B EEDB 696D 5811
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE80+8R72vu22ltWBERAge6AJ9FUb/bpD6UmbdK8pQyvYzx+kHXBQCdFaCb
ywYdxvH7YCMkH4jLZpd1OMQ=
=626l
-----END PGP SIGNATURE-----


< Previous Next >