- ** Telegram channel : https://t.me/rogozar_dev
- ** Telegram Group : https://t.me/rogozar_team
The RGT script is a powerful tool for setting up tunnels based on TCP and UDP protocols, supporting both direct and reverse methods. The resource usage of this tunnel is optimized, allowing you to set up your tunnel in just a few seconds.
- Fast Setup: Set up reverse or direct (Iran ↔ Outside) tunnels in a few simple steps.
- Bandwidth Monitoring: Check tunnel bandwidth usage with the lightweight
vnstattool. - Automatic Error Management: Detect consecutive errors in logs and automatically restart the tunnel.
- High Flexibility: Supports TCP/UDP protocols, IPv4/IPv6 addresses, and custom ports.
- Accessible Command: After the first run, the script is available via the
RGTcommand. - Systemd Integration: Tunnels run as stable services.
- Attractive User Interface: Colorful menus and clear messages for a better user experience.
Quick Execution:
bash <(curl -Ls https://raw.githubusercontent.com/black-sec/RGT/main/rgt_manager.sh)
Download the script from the link below:
wget https://github.com/black-sec/RGT/raw/main/rgt_manager.sh -O /root/rgt_manager.sh
chmod +x /root/rgt_manager.sh
Alternatively, upload the rgt_manager.sh file via SFTP to the /root/ directory.
Run the script:
RGT
If your server has access to GitHub:
wget https://github.com/black-sec/RGT/raw/main/core/RGT_x86_64_linux.zip -O /root/RGT/RGT_x86_64_linux.zip
If you don’t have access to GitHub, upload the RGT_x86_64_linux.zip file via SFTP to the /root/RGT/ directory on your server:
put RGT_x86_64_linux.zip /root/RGT/RGT_x86_64_linux.zip
First, install the RGT core with option 3 on both servers (if it fails to install in Iran, download it manually, upload it via SFTP, extract it, etc.).
🟢 Configure the Outside Server first:
- Select option 1 (Direct).
- Choose "Server Kharej" (Outside Server).
- Enter a name for the tunnel (e.g., Test2).
- Select the IP type.
- Enter the Iran server IP.
- Enter the tunnel port (not the configuration port).
- Enter a VXLAN ID value, e.g., 100 (use the same value on the Iran server).
- Enter a bridge IP for the outside server, e.g., 10.0.10.2 (this IP will be needed on the Iran server).
- Proceed to the Iran server.
🔴 Configure the Iran Server:
- Select option 1 (Direct).
- Choose "Iran Server".
- Enter a name for the tunnel (e.g., Test2).
- Select the IP type.
- Enter the outside server IP.
- Enter the tunnel port (not the configuration port).
- Enter a bridge IP for the Iran server, e.g., 10.0.10.1.
- Enter the outside server bridge IP, e.g., 10.0.10.2.
- Enter the VXLAN ID you set on the outside server.
- Enter your configuration port, e.g., 8080.
- GitHub Access: If your server cannot access GitHub, place the
RGT_x86_64_linux.zipfile in/root/RGT/and run the script with theRGT_LOCAL_ZIPvariable. - Bandwidth Monitoring: After setting up the tunnel, use the bandwidth monitoring option to check usage (coming soon).
- Error Resolution: The script automatically detects two consecutive errors in logs and restarts the tunnel.
-
GitHub Repository: black-sec/RGT
-
Access Issues: If you lack GitHub access, coordinate with your server administrator to upload the files.
If the project was useful to you, you can use the following addresses for financial support:
| coin | wallet Address |
|---|---|
| Tron | TFoHrr4C9aXzt5YSA2nLcNRBgnRiBR57VL |
| DOGE | DDTdqfYR29vuqfHgfoG26VySUFE4BxUT5w |
| TON | UQATjmqCOOkHGYUlyjzWB6KIDjPogpa_oIEraPeXNRfGZAWh |
| LTC | ltc1q377z5q9ggjkng4s37fdtj85nw97svmhsg420a6 |