You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
firewall_rule << "-i #{rule_resource.interface} " if rule_resource.interface
firewall_rule << "-o #{rule_resource.dest_interface} " if rule_resource.dest_interface
If you change interface 'lo' to dest_interface 'lo', it should work. We put those in different resource attributes, since they use different arguments.
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 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
.The text was updated successfully, but these errors were encountered: