ip6tables-converter

convert iptables-commands from a file to iptables-save format

Install

All systems
curl cmd.cat/ip6tables-converter.sh
Debian Debian
apt-get install iptables-converter
Ubuntu
apt-get install iptables-converter
image/svg+xml Kali Linux
apt-get install iptables-converter
Windows (WSL2)
sudo apt-get update sudo apt-get install iptables-converter
Raspbian
apt-get install iptables-converter

iptables-converter

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.