Skip to contentSkip to conversation

general policy question

DISCUSSION patrick conlin 2 participants 2 messages Jun 6, 2002 – Jun 7, 2002

lore
Share & tools
lore
#0 lore raw

does one generally set the -P on their mangle table chains to DROP, even if you're not using them for anything?

usual procedure says set -P on all chains to DROP and allow what's necessary, but if you're not using your mangle table chains for anything and you set -P to DROP (on the iptables -t mangle PREROUTING chain, for example) all packets get dropped.

you guessed it, I just did this and got booted from the machine. Now I have to wait until I can go home and reboot my firewall before I can play with it any more.

Just wondering how everyone else handles this.

-=p=-

#1 lore raw
Quoted 5 lines · patrick conlin

does one generally set the -P on their mangle table chains to DROP, even if you're not using them for anything?

usual procedure says set -P on all chains to DROP and allow what's necessary,

Apparently they meant the "filter" table and not mangle or nat.

Ramin

Quoted 12 lines

but if you're not using your mangle table chains for anything and you set -P to DROP (on the iptables -t mangle PREROUTING chain, for example) all packets get dropped.

you guessed it, I just did this and got booted from the machine. Now I have to wait until I can go home and reboot my firewall before I can play with it any more.

Just wondering how everyone else handles this.

-=p=-