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

Write an iptables networkservice server chain element #463

Open
edwarnicke opened this issue May 8, 2022 · 0 comments
Open

Write an iptables networkservice server chain element #463

edwarnicke opened this issue May 8, 2022 · 0 comments

Comments

@edwarnicke
Copy link
Member

This PR depends on networkservicemesh/api#133

Write a networkservice server chain element that, on the return cycle of Request iff

kernel.ToMechanism(conn.GetMechanism()) != nil

Will use EvaluateIPTables4NatTemplate to evaluate the iptables entires desired and prepend each line
'iptables -t nat' and run them in the netns of the NSE.

Note: This will require adding iptables to https://github.com/edwarnicke/govpp/blob/main/Dockerfile#L24

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

1 participant