[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: iptables, target REJECT



Hi!

On Wed, 15 Jan 2003 23:50:10 +0100, Richard Verwayen wrote:
> Iptables will only accept the four default target as a policy:
> ACCEPT, DROP, QUEUE and RETURN!
Ok...
 
>(see man iptables!)

In other words: RTFM :-( sorry, I did read it but not carefully
enough. I just saw the possible targets, but that there is a
restriction for the default policy I didn't see.

> 
> If you want a build-in chain to act as if REJECT is set as the policy, simply add
> 
> iptables -A $CHAIN -j REJECT 
>

Thanks a lot and best regards
Thorsten Möllers 

-- 
"Und wer was anderes macht, ist Informatiker."
Dieter Bruegmann in dag°



Reply to: