From f7288efb5e91a35c4eadf855c32414bcee2facb8 Mon Sep 17 00:00:00 2001 From: Tomofumi Hayashi Date: Thu, 12 Mar 2015 15:17:33 +0900 Subject: [PATCH] Fix init script. --- miniupnpd/netfilter_nft/scripts/nft_init.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/miniupnpd/netfilter_nft/scripts/nft_init.sh b/miniupnpd/netfilter_nft/scripts/nft_init.sh index f4c87da..9aafe2d 100755 --- a/miniupnpd/netfilter_nft/scripts/nft_init.sh +++ b/miniupnpd/netfilter_nft/scripts/nft_init.sh @@ -42,10 +42,10 @@ fi if [ $nft_filter_miniupnpd_exists -eq "1" ]; then echo "create chain in filter " nft "add chain filter miniupnpd { \ - type nat hook forward priority -200 ; }" + type filter hook forward priority -200 ; }" fi if [ $nft_mangle_miniupnpd_exists -eq "1" ]; then echo "create chain in mangle" nft "add chain mangle miniupnpd { \ - type nat hook prerouting priority -100 ; }" + type route hook prerouting priority -100 ; }" fi