Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

Telegram bot on Marzban for Free VPN access with Outline and Xray Core client support

NotificationsYou must be signed in to change notification settings

bl4ckm45k/vpnbot

Repository files navigation

Source code of the Telegram botbl4ckm45k_vpn_bot

For security purposes and easy setup, this bot supports only VLESS tcp or grpc protocols with REALITY with automatic generation of private keys and ShortID. For more reliable encryption, always install TLS certificates for the VLESS, VMESS and Trojan protocols

If you need a bot for providing paid access:

Setup

  • Clone this repository
  • Navigate to the bot's directory
cd vpnbot

Rename the fileenv.dist to.env

cat env.dist> .env

ReplaceBOT_TOKEN with your token

InADMIN, specify the Telegram user ID of the administrator.

You can find out your user ID through theGet My ID bot

Do not change the parametersUSE_WEBHOOK andFalse, otherwise the bot will not work.

Other parameters are not used in the open-source version.

Marzban Parameters

To set up the login and password, change the variablesSUDO_USERNAME andSUDO_PASSWORD in the .env.marzban file.

Launch

docker compose up --detach

Done. The bot will output all host keys from the Marzban panel.

The Marzban panel will be accessible on port8002

About

Telegram bot on Marzban for Free VPN access with Outline and Xray Core client support

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published

[8]ページ先頭

©2009-2025 Movatter.jp