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

Limit the number of tunnels, rather than restricting a user to only one online session. #19

Open
Relief156 opened this issue Aug 22, 2024 · 0 comments

Comments

@Relief156
Copy link

When I start a tunnel on one device as user1, I am unable to start another tunnel on another device using user1's province, showing that user1 already exists. Is it possible to modify the configuration file to:

user1: [token="lbwnb", "max_tunnels"="5"] # That is, the username user1, token=lbwnb, maximum number of tunnels is 5, meaning up to 5 frpc clients can be opened, each with one tunnel.
When the number of tunnels exceeds the corresponding amount, it will not be possible to successfully start frp. Of course, in the future, it might even be possible to set other related user data like [data="100GB", bandwidth_limit="10M"]

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

1 participant