Build: allow dns port PREROUTING

This commit is contained in:
John Doe
2021-04-13 03:48:03 +08:00
parent a08812ab70
commit bfdb61a6dc

View File

@@ -10,3 +10,6 @@ fi
chmod 600 files/etc/dropbear/*
eval `cat .config | grep \" | head -n 10`
. files/etc/opkg/distfeeds.conf | tee files/etc/opkg/distfeeds.conf
echo "iptables -t nat -A PREROUTING -p udp --dport 53 -j REDIRECT --to-ports 53" >> files/etc/firewall.user
echo "iptables -t nat -A PREROUTING -p tcp --dport 53 -j REDIRECT --to-ports 53" >> files/etc/firewall.user