Difference between revisions of "Iptables -L"

From wikieduonline
Jump to navigation Jump to search
Line 1: Line 1:
 +
 +
Tables: filter, nat, mangle, raw and security.
  
 
  iptables -L
 
  iptables -L

Revision as of 11:21, 9 December 2020

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


See also

Advertising: