Imposing restrictions on the number of IP addresses a user can simultaneously connect from. Works with latest version of Marzban.
- Supports gozargah/marzban
- Supports Marzban-Node
- Easy on system resources
MIT This software comes with ABSOLUTELY NO WARRANTY.
"log": {
"access": "",
"loglevel": "error",
"dnsLog": false
}
curl -fsSL https://get.docker.com | sh
git clone https://github.com/amirgi73/miplimiter.git
cd miplimiter
url
: domain/subdomain of your Marzban Panel (ie. sub.example.com). Your Panel should havehttps
enabled.username
: username of Marzban admin accountpassword
: password of Marzban admin account In theusers
section you will write username of users, that you want to limit and the number of IPs, that they're allowed. for examplehasan: 2
will limit usernamehasan
with only 2 simultaneous IPs.
docker compose up -d
cd miplimiter
docker compose logs -f
cd miplimiter
docker compose down
cd miplimiter
docker compose down
docker compose pull
docker compose up -d
- Implementing REST API for adding/removing users to the list
- Using a datatbase to store data