Iptables -L

From wikieduonline
Jump to navigation Jump to search

Tables: filter, nat, mangle, raw and security.

iptables -L
Chain INPUT (policy ACCEPT)
target     prot opt source               destination

Chain FORWARD (policy ACCEPT)
target     prot opt source               destination 

Chain OUTPUT (policy ACCEPT)
target     prot opt source               destination

iptables -t mangle -L
iptables -t nat -L
iptables -L -n
iptables -L -n --line-numbers
iptables -t nat -L
Chain PREROUTING (policy ACCEPT)
target     prot opt source               destination

Chain INPUT (policy ACCEPT)
target     prot opt source               destination

Chain OUTPUT (policy ACCEPT)
target     prot opt source               destination

Chain POSTROUTING (policy ACCEPT)
target     prot opt source               destination

Related terms[edit]


See also[edit]

Advertising: