Skip to content

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

@Relief156

Description

@Relief156

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"]

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions