Installs and configures ferm
, an iptables
wrapper.
Additional rules can be created by using firewall_include
definition.
- Create
your_cookbook/templates/default/name.erb
- In your cookbook insert
firewall_rule 'name'
block - ???
- Profit
For more information about ferm
syntax, please visit
http://ferm.foo-projects.org.
enable
- enable firewall rulesource
- source template,name.erb
by defaultvariables
- variables to pass to the templatecookbook
- where to look for the templatepriority
- rule priority