Nat VPS部署 hy2協議

機場運營 · 03-30 · 220 人浏览
Nat VPS部署 hy2協議

image
用的V2bx的hy2脚本選擇dns模式,然後添加cloudflare的api就可以了。

{
    "Log": {
        "Level": "error",
        "Output": ""
    },
    "Cores": [
    {
        "Type": "hysteria2",
        "Log": {
            "Level": "error"
        }
    }],
    "Nodes": [{
            "Core": "hysteria2",
            "ApiHost": "url",
            "ApiKey": "key",
            "NodeID": id_number,
            "NodeType": "hysteria2",
            "Timeout": 30,
            "ListenIP": "",
            "SendIP": "0.0.0.0",
            "DeviceOnlineMinTraffic": 100,
            "CertConfig": {
                "CertMode": "dns",
                "RejectUnknownSni": false,
                "CertDomain": "domain",
                "CertFile": "/etc/V2bX/fullchain.cer",
                "KeyFile": "/etc/V2bX/cert.key",
                "Email": "[email protected]",
                "Provider": "cloudflare",
                "DNSEnv": {
                    "CLOUDFLARE_EMAIL": "email",
                    "CLOUDFLARE_API_KEY": "key"
                }
            }
        }]
  1. 11 04-09

    端口用啥?

本站立足于美利堅合衆國,請讀者自覺遵守當地法律!如有違規,本站不承擔任何法律責任! This site is based in the United States of America, readers are requested to abide by local laws! If there are any violations, this site does not bear any legal responsibility! Theme Jasmine by Kent Liao