Skip to content
Snippets Groups Projects
Commit 9780651a authored by ale's avatar ale
Browse files

Support the "nat" table for ipv6

parent 1f6466f5
Branches
No related tags found
No related merge requests found
...@@ -164,12 +164,12 @@ load_firewall() { ...@@ -164,12 +164,12 @@ load_firewall() {
fi fi
trap "rm -f ${tmpfiles} 2>/dev/null; trap - EXIT; exit 0" EXIT trap "rm -f ${tmpfiles} 2>/dev/null; trap - EXIT; exit 0" EXIT
# Setup the various tables. Note that IPv6 only has the # Setup the various tables. Note that not all tables are
# 'filter' and 'raw' tables. # available for IPv6.
for table in ${TABLES} ; do for table in ${TABLES} ; do
table_dir=${CONFIG_DIR}/${table}.d table_dir=${CONFIG_DIR}/${table}.d
case "$table" in case "$table" in
filter|raw) filter|raw|nat)
run_with_fds ${v4rules} ${v6rules} \ run_with_fds ${v4rules} ${v6rules} \
generate ${table} ${table_dir} generate ${table} ${table_dir}
;; ;;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment