chef-cookbooks / iptables

Development repository for Chef Cookbook iptables
https://supermarket.chef.io/cookbooks/iptables
Apache License 2.0
102 stars 141 forks source link

specify optional table property for use with lines #76

Closed marcantonio closed 7 years ago

marcantonio commented 7 years ago

Description

Allows the user to specify a table for iptables_rule when using the lines property. For example:

iptables_rule 'http_8080' do
  lines '-A PREROUTING -i eth0 -p tcp --dport 80 -j REDIRECT --to-port 8080'
  table :nat
end

Issues Resolved

https://github.com/chef-cookbooks/iptables/issues/75

Check List

tas50 commented 7 years ago

Released in 4.1. Thanks