Sync all projects
This commit is contained in:
@@ -145,7 +145,7 @@ ip6tables -t nat -A PREROUTING -p tcp --dport 53 -j REDIRECT --to-ports 5353
|
||||
ip6tables -t nat -A PREROUTING -p udp --dport 53 -j REDIRECT --to-ports 5353
|
||||
# 添加开机启动
|
||||
cat <<EOF >> /data/auto_ssh/auto_ssh.sh
|
||||
sleep 10s
|
||||
sleep 20s
|
||||
cp -f /data/AdGuardHome/AdGuardHome.sh /etc/init.d/AdGuardHome
|
||||
chmod +x /etc/init.d/AdGuardHome && /etc/init.d/AdGuardHome start
|
||||
iptables -t nat -A PREROUTING -p tcp --dport 53 -j REDIRECT --to-ports 5353
|
||||
|
||||
Reference in New Issue
Block a user