Difference between revisions of "Iptables -L"

From wikieduonline
Jump to navigation Jump to search
Tags: Mobile web edit, Mobile edit
Tags: Mobile web edit, Mobile edit
Line 11: Line 11:
 
</pre>
 
</pre>
  
<pre>
 
iptables -t nat -L
 
Chain PREROUTING (policy ACCEPT)
 
target    prot opt source              destination
 
  
Chain INPUT (policy ACCEPT)
+
iptables -t [[nat]] -L
target    prot opt source              destination
+
Chain PREROUTING (policy ACCEPT)
 
+
target    prot opt source              destination
Chain OUTPUT (policy ACCEPT)
+
target    prot opt source              destination
+
Chain INPUT (policy ACCEPT)
 
+
target    prot opt source              destination
Chain POSTROUTING (policy ACCEPT)
+
target    prot opt source              destination
+
Chain OUTPUT (policy ACCEPT)
</pre>
+
target    prot opt source              destination
 +
 +
Chain POSTROUTING (policy ACCEPT)
 +
target    prot opt source              destination
  
 
== See also ==
 
== See also ==
 
* {{iptables}}
 
* {{iptables}}

Revision as of 08:42, 31 August 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 -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: