iptables-converter
convert iptables-commands from a file to iptables-save format
Install
- All systems
-
curl cmd.cat/iptables-converter.sh
- Debian
-
apt-get install iptables-converter - Ubuntu
-
apt-get install iptables-converter - Kali Linux
-
apt-get install iptables-converter - Windows (WSL2)
-
sudo apt-get updatesudo 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.