Difference between revisions of "Iptables -L"

From wikieduonline
Jump to navigation Jump to search
Tags: Mobile web edit, Mobile edit
Line 1: Line 1:
<pre>
+
 
 
  iptables -L
 
  iptables -L
Chain INPUT (policy ACCEPT)
+
Chain INPUT (policy ACCEPT)
target    prot opt source              destination
+
target    prot opt source              destination
 
+
Chain FORWARD (policy ACCEPT)
+
Chain FORWARD (policy ACCEPT)
target    prot opt source              destination
+
target    prot opt source              destination  
 
+
Chain OUTPUT (policy ACCEPT)
+
Chain OUTPUT (policy ACCEPT)
target    prot opt source              destination
+
target    prot opt source              destination
</pre>
+
 +
iptables -L -n
  
  

Revision as of 12:43, 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 -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

See also

Advertising: