Construct an iptables rules file from fragments.
Constructs an iptables rules file from the prefix, standard, and suffix files in the iptables configuration area, adding any additional modules specified in the command line, and prints the resulting iptables rules to standard output (suitable for saving into /var/lib/iptables or some other appropriate location on the system).
The following platforms are supported by this cookbook, meaning that the recipes run on these platforms without error:
- Red Hat
iptables rule fragments and place them in
/etc/iptables.d. Running this script will assemble them in order and reset the firewall rules.
- Fork it
- Create your feature branch (
git checkout -b my-new-feature)
- Commit your changes (
git commit -am 'Added some feature')
- Push to the branch (
git push origin my-new-feature)
- Create new Pull Request