CarbFW is a project mainly written in Shell, it's free.
ip6tables firewall generation script
+----------------------------------------------+ | carbfw6 version 0.1 | | by [email protected] | +----------------------------------------------+
Purpose This script was started to generate ip6tables rules for hosts and the current release more or less supports this. However there is a section that controls routing and this is mainly for the purpose of handling minor forwarding filtering with regards to virtual machines and filtering the routes between their private networks.
Configuration & Defaults Currently the script uses variables at the beginning of the script to control it's behavior. Editing of these variables changes sections of the resulting rules.
2.1 Control variables These variables enable and disable different code blocks. They can be set as on with the value of "1", any other value disables them.
2.2 Host variables These variables influence and provide data and settings for various parts of the host oriented ip6tables rule generation. These sections describe what format the script will expect in the variable.
2.3 Routing variables These variables control various behaviors within the routing rules generation subsystem.
Development
Please bear in mind this is an early development release. If you find any
bugs, have any ideas, or have coded any features, please send them back to
the maintainer. This script may also see major changes in the future;
backwards compatability is likely to be a rare luxury.
The current maintainer of this script is CarbonLifeForm