Re: Iptables new chain policy



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
.