From 2806a26a0721b42df650a61a47d9a4506d3e5187 Mon Sep 17 00:00:00 2001 From: itdoginfo Date: Mon, 10 Feb 2025 15:48:29 +0300 Subject: [PATCH] Fix for sing-box 1.11 --- getdomains-install.sh | 2 +- templates/sing-box-json.j2 | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/getdomains-install.sh b/getdomains-install.sh index a1cea1d..35804c5 100755 --- a/getdomains-install.sh +++ b/getdomains-install.sh @@ -205,7 +205,7 @@ cat << 'EOF' > /etc/sing-box/config.json "type": "tun", "interface_name": "tun0", "domain_strategy": "ipv4_only", - "inet4_address": "172.16.250.1/30", + "address": ["172.16.250.1/30"], "auto_route": false, "strict_route": false, "sniff": true diff --git a/templates/sing-box-json.j2 b/templates/sing-box-json.j2 index fe6d3f3..9094824 100644 --- a/templates/sing-box-json.j2 +++ b/templates/sing-box-json.j2 @@ -7,7 +7,7 @@ "type": "tun", "interface_name": "tun0", "domain_strategy": "ipv4_only", - "inet4_address": "172.16.250.1/30", + "address": ["172.16.250.1/30"], "auto_route": false, "strict_route": false, "sniff": true