LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   iptables -t nat -L not showing all rules (https://www.linuxquestions.org/questions/linux-networking-3/iptables-t-nat-l-not-showing-all-rules-5406/)

alpha-wolf 08-14-2001 06:36 AM

iptables -t nat -L not showing all rules
 
Hi,

when I make rules for POST- and PREROUTING with the target ACCEPT, e.g.
iptables -t nat -I PREROUTING -s 192.168.1.1 -d 0.0.0.0/0 -j ACCEPT
I won't get an error. So I assume that the rule is working. When I want to browse the rules with:
iptables -t nat -L
this rule is not shown.
My questions:
Is the rule executed? Does the packet leave the chain? Proceeding to routing decision without going through the other PREROUTING rules?

Thanks for answers.


All times are GMT -5. The time now is 06:46 PM.