Setting Telegram bot
Usage
The web panel supports daily traffic, panel login, database backup, system status, client info, and other notification and functions through the Telegram Bot.
To use the bot, you need to set the bot-related parameters in the panel, including:
- Telegram Token
- Admin Chat ID(s)
- Notification Time (in cron syntax)
- Expiration Date Notification
- Traffic Cap Notification
- Database Backup
- CPU Load Notification
Reference syntax:
30 \* \* \* \* \*- Notify at the 30s of each point0 \*/10 \* \* \* \*- Notify at the first second of each 10 minutes@hourly- Hourly notification@daily- Daily notification (00:00 in the morning)@weekly- weekly notification@every 8h- Notify every 8 hours
Telegram Bot Features
- Report periodic
- Login notification
- CPU threshold notification
- Threshold for Expiration time and Traffic to report in advance
- Support client report menu if client's telegram username added to the user's configurations
- Support telegram traffic report searched with UUID (VMESS/VLESS) or Password (TROJAN) - anonymously
- Menu-based bot
- Search client by email (only admin)
- Check all inbounds
- Check server status
- Check depleted users
- Receive backup by request and in periodic reports
- Multi-language bot
Setting up Telegram bot
- Start Botfather in your Telegram account:
- Create a new Bot using /newbot command: It will ask you 2 questions, A name and a username for your bot. Note that the username has to end with the word "bot".
- Start the bot you've just created. You can find the link to your bot here.
- Enter your panel and config Telegram bot settings like below:
Enter your bot token in input field number 3. Enter the user ID in input field number 4. The Telegram accounts with this id will be the bot admin. (You can enter more than one, Just separate them with ,)
How to get Telegram user ID?
Use this bot, Start the bot and it will give you the Telegram user ID.
Setting Cloudflare WARP
What is it?
Cloudflare WARP is a free service developed by Cloudflare that enhances internet security and performance by masking traffic between your server and the internet. WARP is required for the following cases:
- When you need to hide the IP address of a server.
- When some services do not open.
Setup
- Open the panel and go to
Xray Setting. - Open
Outboundstab, clickWARPandCreatebutton.
We have created a WARP profile, but not set WARP outbound. To create an outbound to which we will redirect traffic, click Add outbound and close the dialog box
Redirect trafic to WARP
- Open the panel and go to
Xray Setting. - Open
Routing Rulesand clickAdd Rule. - Add the following rule
In this rule, we redirect all traffic from Reddit and Google (and all its services) to WARP outbound
Setting TOR proxy
What is it?
Tor, short for The Onion Router, is a free and open-source software designed to enable anonymous communication over the internet. It achieves this by routing your internet traffic through a global network of volunteer-operated servers, known as relays or nodes, thereby concealing your location and usage from surveillance and traffic analysis.
Setup
Tip
Before you start, make sure you have Docker installed. If it is not installed, see here for the installation script
- Open terminal and run this command
docker run --restart unless-stopped -i -t -p 9050:9050 dperson/torproxy
This will start a SOCKS5 proxy with TOR, now it needs to be configured in the panel
- Go to panel and open
Xray Settings - Go to
Outboundtab and clickAdd Outbound - Fill out the form as follows and click
Add Outbound
Redirect traffic
Same thing as with WARP, but instead of warp outbound, we use tor.
3X-UI
Overview
Setup
- ⬇️ Installation (One-line)
- ⬇️ Installation (Docker)
- ⬇️ Install Legacy version
- ⬇️ Manual installation
Configuration
- 🔐 Getting SSL certificate
- 🛡️ Setting Fail2Ban
- 🗝️ Environment variables
- ➡️ Using Reverse proxy
- 🛜 API Documentation
- 🌎 Geosites




