From: Remy Blank <remy.blank_asps@pobox.com>
To: gentoo-user@lists.gentoo.org
Subject: [gentoo-user] Re: nfs and iptables
Date: Fri, 23 Jun 2006 15:20:59 +0200 [thread overview]
Message-ID: <e7gprs$u16$1@sea.gmane.org> (raw)
In-Reply-To: <20060623141037.33242a6f@lx-arnau.pic.es>
Arnau Bria wrote:
> I solved it adding next at top of rules:
>
> -A INPUT -p tcp ! --syn -j ACCEPT
> -A INPUT -p udp -j ACCEPT
While the first line is mostly harmless (well, even that's not really
true, but let's keep it simple), the second line opens your firewall to
*all* incoming UDP packets, and therefore effectively disables your
firewall for UDP services.
I don't know if you have another line of defense before your iptables
firewall (e.g. a router/firewall). If you don't, you expose yourself to
serious trouble.
In general, my advice would be not to build your own iptables firewall
ruleset unless you have *very good* knowledge about IP protocols. Use
one of the firewall builder tools like shorewall [1] or firestarter [2].
-- Remy
[1] http://www.shorewall.net/
[2] http://www.fs-security.com/
Remove underscore and suffix in reply address for a timely response.
--
gentoo-user@gentoo.org mailing list
next prev parent reply other threads:[~2006-06-23 14:37 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-06-23 9:04 [gentoo-user] nfs and iptables Arnau Bria
2006-06-23 9:38 ` Daniel Iliev
2006-06-23 9:55 ` Arnau Bria
2006-06-23 12:10 ` Arnau Bria
2006-06-23 13:20 ` Remy Blank [this message]
2006-06-23 10:20 ` Rick van Hattem
2006-06-23 11:15 ` Arnau Bria
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='e7gprs$u16$1@sea.gmane.org' \
--to=remy.blank_asps@pobox.com \
--cc=gentoo-user@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox