Results 1 to 2 of 2
My iptables script is getting bloated, redundant, and there's code duplication everywhere, how can I clean it up? Use shell script functions? Develop it in a different language, like python?...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 12-11-2008 #1
- Join Date
- Jun 2008
how to clean up iptables?
Use shell script functions?
Develop it in a different language, like python?
- 12-13-2008 #2
How about using iptables-save and then edit this file to remove things that are no longer needed then load iptables using the supplied init script?
Scripts are nice for setting up iptables but iptables should really be called from the supplied init script.
The adventure of a life time.
Linux User #296285