dvpn-node
dvpn-node copied to clipboard
"RemovePeer" handler is missing
Is your feature request related to a problem? Please describe. For corporations to be able to "rent" the DVPN network (Use DVPN as layer), they need to be able to quickly establish and remove authentications for their users in the various DVPN nodes, currently only adding a session is possible, but it's not possible to remove and/or modify an existing session.
Describe the solution you'd like Add a "RemovePeer" handler where a peer can be removed by their WG PublickKey (of course signed by the Subscription owner).
Describe alternatives you've considered
- Tried waiting for the session to expire (Not economically feasible, not user-friendly when users want to switch nodes)
Hi @rami-dabain Adding a new session will removing existing session from the node.
I'm building a whitelabel solution where i will need to manage multiple sessions for my clients. This requires:
- Allowing to open multiple sessions for multiple wireguard-public-keys
- Batch statistics by sentinel-public-key (to get bandwidth usage for each wireguard-public-key)
- Drop sessions from wireguard by wg-public-key (to force-disconnect clients who ran out of bandwidth)