تغییر و روش عملکرد وارپ
Opened this issue · 1 comments
NoRRt commented
سلام و خسته نباشید ./. اکر امکانش روش Warp رو تغییر بدین
ممکن هستش با این روش بهینه تر بشه
https://github.com/chika0801/sing-box-examples/blob/main/wireguard.md
Server configuration example
{
"log": {
"level": "info",
"timestamp": true
},
"route": {
"rules": [
{
"geosite": [
"openai"
],
"outbound": "warp-IPv4-out" // 若需使用Cloudflare的IPv6,改为 "warp-IPv6-out"
}
]
},
"inbounds": [
{
"sniff": true,
"sniff_override_destination": true,
// 粘贴你的服务端配置
}
],
"outbounds": [
{
"type": "direct",
"tag": "direct"
},
{
"type": "direct",
"tag": "warp-IPv4-out",
"detour": "wireguard-out",
"domain_strategy": "ipv4_only"
},
{
"type": "direct",
"tag": "warp-IPv6-out",
"detour": "wireguard-out",
"domain_strategy": "ipv6_only"
},
{
"type": "wireguard",
"tag": "wireguard-out",
"server": "162.159.192.1", // 或填写 engage.cloudflareclient.com
"server_port": 2408,
"local_address": [
"172.16.0.2/32",
"/128" // 粘贴你获得的 warp IPv6 地址,结尾加 /128
],
"private_key": "", // 粘贴你的 "private_key" 值
"peer_public_key": "bmXOC+F1FxEMF9dyiK2H5/1SUtzH0JuVo51h2wPfgyo=",
"reserved":[0, 0, 0], // 粘贴你的 "reserved" 值
"mtu": 1280
}
]
}
TheyCallMeSecond commented
از همین روش استفاده میشه