Skip to content

main/nftables: add netns support

Thomas Liske requested to merge liske/aports:nftables-add-netns-support into master

Background: openrc got patched to support running services in netns namespaces !51670 (merged)

This MR adds netns support for the nftables initd script.

Example /etc/conf.d/nftables.tenant1:

# enable netns support
netns=tenant1

# Location of the nftables rules file to load on the service start.
rules_file="/etc/nftables.tenant1.nft"

# [..]

Merge request reports