ubuntu iptables code example Example 1: iptables list ubuntu sudo iptables -L --line-numbers Example 2: install iptables ubuntu sudo apt install iptables