diff --git a/merge_files.sh b/merge_files.sh index 45e6492..3a1260e 100644 --- a/merge_files.sh +++ b/merge_files.sh @@ -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 \ No newline at end of file +. 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 \ No newline at end of file