Difference between revisions of "Iptables -L"
Jump to navigation
Jump to search
(Created page with "<pre> iptables -L Chain INPUT (policy ACCEPT) target prot opt source destination Chain FORWARD (policy ACCEPT) target prot opt source des...") Tags: Mobile web edit, Mobile edit |
|||
(9 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
− | < | + | |
+ | Tables: <code>filter, nat, mangle, raw and security</code>. | ||
+ | |||
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) | ||
+ | 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 | ||
− | Chain | + | iptables -L -n --line-numbers |
− | 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 | ||
+ | |||
+ | == Related terms == | ||
+ | * <code>[[fail2ban]]</code> | ||
− | |||
− | |||
− | |||
== See also == | == See also == | ||
* {{iptables}} | * {{iptables}} | ||
+ | |||
+ | |||
+ | [[Category:Firewall]] |
Latest revision as of 14:08, 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[edit]
See also[edit]
Advertising: