Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

تغییر و روش عملکرد وارپ #28

Open
NoRRt opened this issue Dec 20, 2023 · 1 comment
Open

تغییر و روش عملکرد وارپ #28

NoRRt opened this issue Dec 20, 2023 · 1 comment

Comments

@NoRRt
Copy link

NoRRt commented Dec 20, 2023

سلام و خسته نباشید ./. اکر امکانش روش 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
        }
    ]
}
@NoRRt NoRRt changed the title تغییر روش عملکرد وارپ تغییر و روش عملکرد وارپ Dec 20, 2023
@TheyCallMeSecond
Copy link
Owner

از همین روش استفاده میشه

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants