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

vps端的hy2无法自定义up和down #152

Open
li12138 opened this issue Mar 12, 2025 · 2 comments
Open

vps端的hy2无法自定义up和down #152

li12138 opened this issue Mar 12, 2025 · 2 comments

Comments

@li12138
Copy link

li12138 commented Mar 12, 2025

现在vps端up为200,down是1000,无法修改,也没找到从哪里删除

@li12138
Copy link
Author

li12138 commented Mar 12, 2025

我是想在vps端删除这个配置,然后仅在客户端设置up和down

@fscarmen
Copy link
Owner

Image

以下是服务端配置,本来就没有写 up和down 的,无限制,以客户端的up和down和准的。

{
    "inbounds":[
        {
            "type":"hysteria2",
            "tag":"${NODE_NAME[12]} ${NODE_TAG[1]}",
            "listen":"::",
            "listen_port":$PORT_HYSTERIA2,
            "users":[
                {
                    "password":"${UUID[12]}"
                }
            ],
            "ignore_client_bandwidth":false,
            "tls":{
                "enabled":true,
                "server_name":"",
                "alpn":[
                    "h3"
                ],
                "min_version":"1.3",
                "max_version":"1.3",
                "certificate_path":"${WORK_DIR}/cert/cert.pem",
                "key_path":"${WORK_DIR}/cert/private.key"
            }
        }
    ]
}

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