An experimental implementation to make iptables config suck less using the c preprocessor
C Shell
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
README
iptparser.rb
iptparser.sh
keywords.h
ruleset.sh

README

Just a simple example/experiment of how to ease the (sometimes painful) configuration of iptables by using a C preprocessor and a number of well-chosen macros. 

Credit for the initial implementation and idea goes to Anatole Shaw. 

run the example like:
	
	$ ./iptparser.sh ruleset.sh