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