[GH-ISSUE #1076] frp 如何实现单服务器多代理用户的条件下限制每个用户网络流量的需求? #846

Closed
opened 2026-05-05 12:32:21 -06:00 by gitea-mirror · 2 comments
Owner

Originally created by @ghost on GitHub (Feb 3, 2019).
Original GitHub issue: https://github.com/fatedier/frp/issues/1076

我目前是在阿里云有每月网络流量限制的服务器上使用frp。由于服务器需要在公网环境下接受多个代理用户的连接请求,故需要一种可以限制每个用户流量配额的方法,以防止服务器每月流量超额
目前frp的设置项可以实现这种功能吗?或者说,CentOS的一些工具可以实现这种功能?

Originally created by @ghost on GitHub (Feb 3, 2019). Original GitHub issue: https://github.com/fatedier/frp/issues/1076 我目前是在阿里云有每月网络流量限制的服务器上使用frp。由于服务器需要在公网环境下接受多个代理用户的连接请求,故需要一种可以限制每个用户流量配额的方法,以防止服务器每月流量超额 目前frp的设置项可以实现这种功能吗?或者说,CentOS的一些工具可以实现这种功能?
Author
Owner

@iBug commented on GitHub (Feb 12, 2019):

Nothing specific to frp, but have you tried common solution with iptables? It seems to work very well with arbitrary software. Just make sure you set the rules correctly for each port.

<!-- gh-comment-id:462838892 --> @iBug commented on GitHub (Feb 12, 2019): Nothing specific to frp, but have you tried common solution with `iptables`? It seems to work very well with arbitrary software. Just make sure you set the rules correctly for each port.
Author
Owner

@snowdream commented on GitHub (Feb 27, 2019):

关注

<!-- gh-comment-id:467736231 --> @snowdream commented on GitHub (Feb 27, 2019): 关注
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: github-starred/frp#846
No description provided.