Skip to content

main/iptables: add netns support

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

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

This MR adds netns support for the (ip|eb)tables initd scripts.

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

# enable netns support
netns=tenant1

# Location in which iptables initscript will save set rules on 
# service shutdown
IPTABLES_SAVE="/etc/iptables/rules-tenant1"

# [..]

Merge request reports

Loading