A solution to manage and safeguard your panels and links.
ENGLISH | فارسی | Русский | 中文
GateKeeper is an intuitive link management tool crafted in Python, offering a user-friendly interface for seamless management and access control of v2ray/other VPN links. With GateKeeper, you can effortlessly restrict link access to authorized users, ensuring enhanced security for your panels.
- Comprehensive compatibility with three prominent panels: Marzban, 3x-ui MHSanaei and x-ui alireza0.
- Enhanced link and user management capabilities.
- In-built QR code generator for seamless interaction.
- Robust protection for configuration/subscription links.
- And much more, ensuring a comprehensive feature set.
- Run the following command
sudo bash -c "$(curl -sSL https://raw.githubusercontent.com/drunkleen/gatekeeper/master/install_script.sh)" @ install
Upon successful installation:
-
Terminate log viewing by closing the terminal or pressing
Ctrl+C
. -
Locate the configuration file at
/opt/gatekeeper/.env
and modify its contents as needed. -
Restart the GateKeeper panel by executing the gatekeeper restart command after making modifications to /opt/gatekeeper/.env.
-
Generate an administrative account with the
gatekeeper createadmin
command. -
Access the GateKeeper dashboard via a web browser at
http://YOUR_SERVER_IP:2087/auth/sign-in
(replace YOUR_SERVER_IP with your server's actual IP address). -
That concludes the process! Now, sign in to your dashboard using the credentials of your admin account.
For assistance with the GateKeeper script, execute the following command to access the help message.
gatekeeper --help
Please note that when creating users with admin privileges in the user list, the default password is automatically set to Gatekeeper2024@ . |
---|
Configure the settings by utilizing environment variables or by placing them in the .env
file.
To achieve this, open the .env
file located at /opt/gatekeeper/
using your preferred text editor, such as nano
or vim
, for instance.
Variable | Description |
---|---|
DEBUG | Enable debug mode for development (default: False ) |
ALLOWED_HOSTS | Specify the host for application binding (default: any ) |
SERVER_PORT | Assign the application to this port (default: 2087 ) |
CUSTOM_APP_NAME | Set custom name for the panel (default: GateKeeper ) |
DEFAULT_USER_PASSWORD | Set custom password for the new users made by admin (default: Gatekeeper2024@ ) |
SET_EMAIL | Whether you're want to use an email for sending mails (default: False ) |
EMAIL_HOST | Your email host (e.g., smtp.gmail.com ) |
EMAIL_PORT | Your email port (e.g., 587 ) |
EMAIL_USE_TLS | Enabling TLS for email communication (default: True ) |
EMAIL_HOST_USER | Your email username/address (e.g., example@gmail.com ) |
EMAIL_HOST_PASSWORD | Your email password (e.g., password ). |
- Fix Bash Script: Address issues and optimize the existing Bash script.
- Fix UI: Resolve any user interface-related issues or enhance the design for a better user experience.
- Add Multilanguage Support: Implement translations for multiple languages to make your project more accessible.
- Remove Excess Data and Code: Trim unnecessary elements in both data and code for better efficiency and readability.
- Refactor the Code: Restructure and improve the overall codebase for maintainability and performance.
- Add Support for X-UI Panels: Extend compatibility by incorporating support for additional UI panels.
- Implement Other Supports: Evaluate and integrate additional features or supports that enhance the functionality of your project.
- Documentation: Provide instructions on how to set up, run and use the project.
If you'd like to contribute to the project, follow these steps:
- Fork the repository.
- Create a new branch:
git checkout -b feature/new-feature
. - Commit your changes:
git commit -m 'Add a new feature'
. - Push to the branch:
git push origin feature/new-feature
. - Open a pull request.
If you have found GateKeeper valuable and would like to contribute to its ongoing development, your support is greatly appreciated. You can show your appreciation by making a donation through PayPal or any of the following cryptocurrency networks:
- Bitcoin (BTC):
bc1qsmvxpn79g6wkel3w67k37r9nvzm5jnggeltxl6
- ETH/BNB/MATIC (ERC20, BEP20):
0x8613aD01910d17Bc922D95cf16Dc233B92cd32d6
- USDT/TRON (TRC20):
TGNru3vuDfPh5zBJ31DKzcVVvFgfMK9J48
- Dogecoin (DOGE):
D8U25FjxdxdQ7pEH37cMSw8HXBdY1qZ7n3
Your generous contribution ensures the continued improvement and maintenance of GateKeeper.
Thank you for supporting the project!
This panel is built upon the SAUL HTML free template generously provided by "KeenThemes".
This project is licensed under the GNU v3.0 - see the LICENSE file for details.