Difference between revisions of "Iptables -L"

From wikieduonline
Jump to navigation Jump to search
Line 12: Line 12:
  
 
  iptables -L -n
 
  iptables -L -n
 +
 +
iptables -L -n --line-numbers
  
  

Revision as of 13:03, 8 November 2020

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 -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: