From 9780651ac6fc5cd72db14e58e46e607e4dd6c69a Mon Sep 17 00:00:00 2001 From: ale <ale@incal.net> Date: Tue, 20 Jul 2021 17:10:16 +0100 Subject: [PATCH] Support the "nat" table for ipv6 --- update-firewall | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/update-firewall b/update-firewall index a1b2aa9..316fbf5 100755 --- a/update-firewall +++ b/update-firewall @@ -164,12 +164,12 @@ load_firewall() { fi trap "rm -f ${tmpfiles} 2>/dev/null; trap - EXIT; exit 0" EXIT - # Setup the various tables. Note that IPv6 only has the - # 'filter' and 'raw' tables. + # Setup the various tables. Note that not all tables are + # available for IPv6. for table in ${TABLES} ; do table_dir=${CONFIG_DIR}/${table}.d case "$table" in - filter|raw) + filter|raw|nat) run_with_fds ${v4rules} ${v6rules} \ generate ${table} ${table_dir} ;; -- GitLab