Skip to content

Write an iptables networkservice server chain element #463

@edwarnicke

Description

@edwarnicke

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

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