ip6tables: administration tool for IPv6 packet filtering and NAT (nf_tables backend)
ip6tables [-t table] -L [chain] [-n] [--line-numbers] | ip6tables [-t table] -S [chain]
Options you will use
-t, --table TABLE- filter (default), nat, mangle, raw
-L, --list [CHAIN]- List all rules in the selected chain (all chains if none)
-S, --list-rules [CHAIN]- Print the rules as the commands that create them
-n, --numeric- Numeric output: addresses and ports as numbers
--line-numbers- Number the rules of each chain
Examples
$ sudo ip6tables -S ufw6-user-inputthe IPv6 rules ufw made (a rule with no source address is added for both families)
$ sudo ip6tables -S INPUTkube-proxy's IPv6 jumps, then ufw6's chains
Gotchas
- The IPv6 twin of iptables: its own tables and chains. ufw's are named ufw6-*.
Try ip6tables in a real terminal Free, in your browser - a real Ubuntu terminal to try it in, with missions that check your work.