Re: Iptables new chain policy
- From: psarone@xxxxxxxxx
- Date: Fri, 8 May 2009 00:22:23 -0700 (PDT)
On 8 Maj, 07:17, Allen Kistler <ackist...@xxxxxxxxx> wrote:
psar...@xxxxxxxxx wrote:
When I create a new chain in iptables with 'iptables -N chainname'
does it have a default policy for traffic that doesn't match any rules
in it?
I know I can set policies in the default chains INPUT, FORWARD and so
on.
The default policy for custom chains is RETURN. You cannot change it.
If you want something else, you have to specify it explicitly as the
last rule.
Thanks, that's exactly what I needed to know.
Paul
.
- References:
- Iptables new chain policy
- From: psarone
- Re: Iptables new chain policy
- From: Allen Kistler
- Iptables new chain policy
- Prev by Date: Re: Iptables new chain policy
- Next by Date: Pan causes WLAN failure of WRT54G
- Previous by thread: Re: Iptables new chain policy
- Next by thread: Pan causes WLAN failure of WRT54G
- Index(es):