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

IP限速配置的问题 #473

Open
mdksl opened this issue May 14, 2024 · 3 comments
Open

IP限速配置的问题 #473

mdksl opened this issue May 14, 2024 · 3 comments

Comments

@mdksl
Copy link

mdksl commented May 14, 2024

场景:我有A,B两个中转,在A中转中配置了多个服务,转发到B的对应端口,例如监听A的4000端口,转发到B的4000端口,A的4001,转到B的4001
期望:在A中使用IP限速(IP为B的IP),使A中所有转到B的服务速度总和不超过10M
实际:
我进行了如下配置,但未生效。包括单个服务的限速也没有
{
"name": "limiter-t",
"limits": [
"B的IP 10MB 10MB"
]
}

@ginuerzh
Copy link
Member

完整的配置?

@mdksl
Copy link
Author

mdksl commented May 17, 2024

服务配置
image
image
限速配置
image

@ginuerzh
Copy link
Member

限速配置是对客户端(相对于本服务)做限制,如果要限制A到B的速度应该在B端配置。

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