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

Ability to create custom chains #44

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

lukasic
Copy link

@lukasic lukasic commented Oct 21, 2022

Hi. First of all, thank you for this awesome role!

Proposed feature allows creation of custom chains, in similar way how nft_input_rules / nft_input_group_rules / nft_input_host_rules works.

Example usage:

  1. If you have IPv4 / IPv6 dualstack on docker server, you need to define all rules duplicitly in input and forward chains. With custom chain you can create for example docker chain and use jump docker in both input and forward.
  2. If three levels (default / group / host) is not enough.

@kravietz
Copy link
Collaborator

kravietz commented Nov 3, 2022

@lukasic Thank you for your MR, it looks good but as we need to be sure it plays with the rest of the role in long term, could you also add test cases (see the molecule/ subdir for existing test cases).

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

Successfully merging this pull request may close these issues.

2 participants