Skip to content

Cannot use parameter -i for OUTPUT #203

Description

@chaim1221

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions