Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add an option to disable iptables #762

Closed
rtgiskard opened this issue Jul 27, 2022 · 3 comments
Closed

add an option to disable iptables #762

rtgiskard opened this issue Jul 27, 2022 · 3 comments

Comments

@rtgiskard
Copy link

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

@rtgiskard
Copy link
Author

rtgiskard commented Jul 27, 2022

mark: podman netavark

@mccv1r0
Copy link
Member

mccv1r0 commented Jul 27, 2022

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?

@rtgiskard
Copy link
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
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants