Skip to content

iptables: fix to work with nft backend

Natanael Copa requested to merge ncopa/awall:nft-backend into master

The nft backed does not use /proc/net/ip*_tables_names. refactor so we no longer use this.

Assume that all families are active as long as /proc/net/raw* exists.

Execute iptables-save and read the tables from the outputs. All lines starting with '' are tables.

Fixes #9658 (closed)

Merge request reports