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

@@ -9,4 +9,7 @@ if [ $DEVICE = 'r2s' ]; then
fi
chmod 600 files/etc/dropbear/*
eval `cat .config | grep \" | head -n 10`
. files/etc/opkg/distfeeds.conf | tee files/etc/opkg/distfeeds.conf
. 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