Best way to manage custom IP tables rules
Posted: 2020/04/11 01:27:24
I have a complex IPTables rule set which exists as a bash script on a CentOS 6 machine.
I now need to bring that rule set to CentOS7. The rules are sufficiently complex that it is impractical to re-code them using native tools. The script uses variable and is commented which makes editing them simpler.
What's the best way to bring this into a CentOS 7 VM without losing the ability to easily comment the rules?
I now need to bring that rule set to CentOS7. The rules are sufficiently complex that it is impractical to re-code them using native tools. The script uses variable and is commented which makes editing them simpler.
What's the best way to bring this into a CentOS 7 VM without losing the ability to easily comment the rules?