Cookbook version: 2.7.0
Chef-client version: 14.7.17
Platform Details: Mac OS X (dom0); CentOS 7 (guest)
Scenario: Allow outbound loopback.
Steps to Reproduce:
firewall_rule 'local loopback' do
interface 'lo'
protocol :none
command :allow
direction :out
end
Expected Result:
-A OUTPUT -o lo -j ACCEPT
Actual Result:
Cannot use parameter -i with OUTPUT
What should happen is that for an outbound rule, with iptables, the interface is specified with -o.
Cookbook version: 2.7.0
Chef-client version: 14.7.17
Platform Details: Mac OS X (dom0); CentOS 7 (guest)
Scenario: Allow outbound loopback.
Steps to Reproduce:
Expected Result:
-A OUTPUT -o lo -j ACCEPTActual Result:
Cannot use parameter -i with OUTPUTWhat should happen is that for an outbound rule, with
iptables, the interface is specified with-o.