Skip to content

add an option to disable iptables #762

Closed

Description

@rtgiskard

I'm using nftables with customized rules, and do not want any part of the system to alter the rules itself, so that all the firewall rules can be managed in one place and easy to check.

currently cni plugin will always load iptable related module and set iptable rules, for my case, as nftables is in use, it would be a mess.

Add nftable backend might be a solution, but It would be good enough to have an option to disable iptables or any other firewall manipulation just like docker

Activity

  1. rtgiskard commented on Jul 27, 2022

    @rtgiskard
    Author
  2. mccv1r0 commented on Jul 27, 2022

    @mccv1r0
    Member

    You have the option to not use portmap and firewall plugins. And set ipMasq=false if the bridge plugin is the main plugin used. Is there something else missing?

  3. rtgiskard commented on Jul 27, 2022

    @rtgiskard
    Author

    You have the option to not use portmap and firewall plugins. And set ipMasq=false if the bridge plugin is the main plugin used. Is there something else missing?

    Great thanks! update cni network config, set ipMasq=false and remove the portmap and firewall part to disable the two plugins, then it works!

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