Skip to content

cabrata/autoscript

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

39 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

AutoScript X-Ray

Direct installation script for X-Ray & SSH tunneling โ€” no VPS IP registration required.


๐Ÿ“Œ Before You Start (MUST READ)

  • VPS must be fresh / never had another script installed.
  • If you install this script twice, you MUST rebuild your VPS to factory settings.
  • Use your own domain (recommended), or a random domain / bug host.
  • Recommended OS: Ubuntu 18 / 20 LTS (most stable).

๐Ÿ–ฅ๏ธ Supported Linux Distributions

Supported Linux Distribution


๐Ÿงพ Minimum VPS Requirements

  • OS:
    • Debian 11 / 12
    • Ubuntu 20 / 22 LTS
  • CPU: Minimum 1 core
  • RAM: Minimum 1 GB
  • Stable VPS network connection
  • Recommended OS:
    • Ubuntu 20 / 22 LTS

๐Ÿ›ก๏ธ Included Services


๐ŸŒ Recommended Cloudflare Settings

For users with a personal domain, refer to
/image folder for example configurations:
https://github.com/givpn/AutoScriptXray/tree/master/image

Cloudflare Configuration:

  • SSL/TLS : FULL
  • SSL/TLS Recommender : OFF
  • gRPC : ON
  • WebSocket : ON
  • Always Use HTTPS : OFF
  • Under Attack Mode : OFF

๐ŸŽฏ DNS Pointing

Make sure your DNS pointing is correct before installing the script.

Pointing


๐Ÿ”Œ Services & Ports

OpenSSH                  : 22
SSH Websocket            : 80
SSH SSL Websocket        : 443
Stunnel4                 : 222, 777
Badvpn                   : 7100-7900
Nginx                    : 81

Vmess WS TLS             : 443
Vless WS TLS             : 443
Trojan WS TLS            : 443
Shadowsocks WS TLS       : 443

Vmess WS None TLS        : 80
Vless WS None TLS        : 80
Trojan WS None TLS       : 80
Shadowsocks WS None TLS  : 80

Vmess gRPC               : 443
Vless gRPC               : 443
Trojan gRPC              : 443
Shadowsocks gRPC         : 443

โš™๏ธ Features

  • Speedtestยฎ by Ooklaยฎ
  • Auto-reboot scheduler
  • Restart all services
  • Auto-remove expired users
  • Bandwidth checker
  • BBRPlus v1.4.0 by Chikage0o0 Wondering what BBR is? โ†’ Google Search
  • DNS Changer
  • No auto-backup (feature permanently removed)
  • You may add extra custom features manually

๐Ÿ”ง Optional Features (Install After Main Setup)


๐Ÿงฐ Menu Preview

Main Menu

Menu

Service Status

Service Status


๐Ÿš€ Installation Guide

Step 1 โ€” (Debian Only) Update & Reboot

apt update && apt upgrade -y && reboot

After reboot, proceed to Step 2.

Step 2 โ€” (Ubuntu & Debian) Run Installer

sysctl -w net.ipv6.conf.all.disable_ipv6=1 \
 && sysctl -w net.ipv6.conf.default.disable_ipv6=1 \
 && apt update \
 && apt install -y bzip2 gzip coreutils screen curl unzip \
 && wget https://autoscript.caliphdev.com/setup.sh \
 && chmod +x setup.sh \
 && sed -i -e 's/\r$//' setup.sh \
 && screen -S setup ./setup.sh

Note: Run as root. If any error occurs, screenshot your terminal for troubleshooting.


๐Ÿ’ฐ Support / Donate

Support the development of this project:

PayPal donate button QRIS donate button


โš ๏ธ Disclaimer (READ CAREFULLY)

  • Selling this script is strictly prohibited. This script was obtained for free from the internet.

  • Your internet usage records & logs are not my responsibility as the script provider.

  • All network logs are controlled by:

    • Your VPS provider
    • Potentially, law enforcement agencies (e.g., FBI)
  • Use responsibly to avoid issues.

  • Watching adult content is your own responsibility.


๐Ÿ“ Final Message

  • Thank you for taking the time to read this documentation.
  • I apologize if there are mistakes or inappropriate words.
  • I am also human โ€” mistakes are normal.

๐Ÿ“œ License & Credits