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

Traffic limit #2

Open
sohrabp72 opened this issue Jun 19, 2023 · 2 comments
Open

Traffic limit #2

sohrabp72 opened this issue Jun 19, 2023 · 2 comments

Comments

@sohrabp72
Copy link

Using this script, how to disable usernames that exceeded their quota?
make and example, please.

@shakibamoshiri
Copy link
Owner

@sohrabp72 this script can set it, but cannot limit it because SE has no functionality to do so.
You need another script to check periodically if a user data exceeded the quota then disable them (e.g using contab)

unfortunately the SE RPC-JSON api is buggy and I stopped working on this script but a new one is being developed which uses "vpncm" rather than RPC API

@sohrabp72
Copy link
Author

Would be glad to use it at release, I'm in need of this functionality and also a web panel which makes managing the server possible on the go.

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