packages/net/miniupnpd/patches/201-change-default-chain-rule-to-accept.patch
ZiMing Mo b3b911e992 miniupnpd: bump to latest git source
Signed-off-by: ZiMing Mo <msylgj@immortalwrt.org>
2022-04-14 19:01:03 -07:00

13 lines
391 B
Diff

--- a/netfilter_nft/scripts/nft_init.sh
+++ b/netfilter_nft/scripts/nft_init.sh
@@ -19,8 +19,8 @@ echo "Creating nftables structure"
cat > /tmp/miniupnpd.nft <<EOF
table inet $TABLE {
chain forward {
- type filter hook forward priority 0;
- policy drop;
+ type filter hook forward priority -25;
+ policy accept;
# miniupnpd
jump $CHAIN