nftables: list all rules
Show complete nftables configuration
nft list ruleset
- tool
- iptables10 commands
More iptables commands
-
nft add rule inet filter input tcp dport 8080 acceptAccept inbound TCP traffic on port 8080 in nftables
-
nft flush rulesetDelete all nftables rules (caution: drops all firewall rules)
-
iptables -L INPUT --line-numbers -n -vShow INPUT chain rules with packet/byte counters
-
iptables -A INPUT -p tcp --dport 443 -j ACCEPTAppend a rule to accept inbound HTTPS traffic
-
iptables -I INPUT 1 -s 203.0.113.5 -j DROPInsert DROP rule at position 1 for a specific source IP