I have these drop rules:
iptables -t mangle -P FORWARD DROP
iptables -P FORWARD DROP
iptables -t mangle -P INPUT DROP
iptables -P INPUT DROP
iptables -t mangle -P OUTPUT DROP
iptables -t nat -P OUTPUT DROP
iptables -P OUTPUT DROP
iptables -t nat -P PREROUTING DROP
iptables -t mangle -P PREROUTING DROP
iptables -t nat -P POSTROUTING DROP
iptables -t mangle -P POSTROUTING DROP
I have to put all the chains on all the tables with drop rule as default rule (I think they are all; if there are some missing or are not good please say). And then I must write a rule that accepts any kind of packet. Don't ask me why, that's the task.
What would this rule that accepts any kind of packet look like? I must use iptables.