Install iptables-converter by entering the following commands in the terminal:
sudo apt update sudo apt install iptables-converter
Description:
convert iptables-commands from a file to iptables-save format
iptables-converter: reads a file with iptables commands and converts these to an iptables-save readable format. To provide compatibility with iptables-save -c command zero packet and byte counters [0:0] are printed out. ip6tables-converter does the same for IPv6.
Version: 0.9.8-1
Section: universe/utils