Build: allow dns port PREROUTING
This commit is contained in:
@@ -10,3 +10,6 @@ fi
|
|||||||
chmod 600 files/etc/dropbear/*
|
chmod 600 files/etc/dropbear/*
|
||||||
eval `cat .config | grep \" | head -n 10`
|
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
|
||||||
Reference in New Issue
Block a user