diff --git a/templates/sing-box-reality-server/sing-box-reality-server.json b/templates/sing-box-reality-server/sing-box-reality-server.json index 1dfe6f7..fd0f114 100644 --- a/templates/sing-box-reality-server/sing-box-reality-server.json +++ b/templates/sing-box-reality-server/sing-box-reality-server.json @@ -72,22 +72,37 @@ } } ], + "endpoints": [ + { + "tag": "out:warp", + "type": "wireguard", + "system": "false", + "address": [ + "${WARP_IPV4}", + "${WARP_IPV6}" + ], + "mtu": 1280, + "private_key": "${WARP_PRIVATE_KEY}", + "peers": [ + { + "address": "engage.cloudflareclient.com", + "port": 2408, + "public_key": "${WARP_PUBLIC_KEY}", + "allowed_ips": [ + "0.0.0.0/0", "::/0" + ], + "persistent_keepalive_interval": 10 + } + ], + "domain_resolver": { + "server": "dns:cloudflare" + } + } + ], "outbounds": [ { "tag": "out:direct", "type": "direct" - }, - { - "tag": "out:warp", - "type": "socks", - "server": "warp", - "server_port": 9091, - "version": "5", - "domain_resolver": { - "server": "dns:local", - "strategy": "ipv4_only", - "disable_cache": true - } } ], "route": {