Nat VPS部署 hy2協議

機場運營 · 03-30 · 780 人浏览
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. 嗨嗨嗨 08-28

    大佬有使用过https://dash.duckyci.com/的nat吗?这家超便宜的,首尔的才0.125刀一个月。
    我之前使用这家的nat分别搭建了两台首尔和一台法兰克福共3台hy2节点对接Xboard面板,是可以正常使用的,但是后面过了几天,那两台首尔的莫名其妙连接不上,v4地址没挂,v2bx的日志也是正常的,面板的节点显示是黄色空闲状态,但就是连接不上,只有法兰克福能使用,后来给那两台首尔的加了v6,配置一个字都没改,又能正常使用了,好奇怪。
    大佬你有遇到过这种情况吗?我搜了好久都没搜到相关信息。

  2. 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