- make sure the vps provider allows the use of Public VPN/SSH/Proxy
- Required VPS is still fresh (MUST) / have never installed anything
- If you install the Script twice, you need to rebuild the VPS to factory settings, in the VPS provider panel
- Step 1 for (debian) please update first
apt update && apt upgrade -y && reboot
- Step 2 for (ubuntu) directly install
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://raw.githubusercontent.com/givps/AutoScriptXray/master/setup.sh && chmod +x setup.sh && sed -i -e 's/\r$//' setup.sh && screen -S setup ./setup.sh
Service & Port
- OpenSSH : 22
- SSH Websocket : 80
- SSH SSL Websocket : 443
- Stunnel4 : 222, 777
- Dropbear : 109, 143
- 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
- install
rm -f setup.sh && apt update && apt upgrade -y && update-grub && sleep 2 && apt-get update -y && apt-get upgrade && 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://raw.githubusercontent.com/givps/autoset/master/setup.sh && chmod +x setup.sh && sed -i -e 's/\r$//' setup.sh && screen -S setup ./setup.sh
Service & Port
- SlowDNS SSH : ALL Port SSH
- OpenSSH : 22
- OpenVPN : TCP 1194, UDP 2200, SSL 990
- Stunnel5 : 443, 445
- Dropbear : 443, 109, 143
- SSH Websocket TLS : 443
- SSH Websocket HTTP : 8880
- Websocket OpenVPN : 2086
- Squid Proxy : 3128, 8080
- Badvpn : 7100, 7200, 7300
- Nginx : 89
- Wireguard : 7070
- L2TP/IPSEC VPN : 1701
- PPTP VPN : 1732
- SSTP VPN : 444
- Shadowsocks-R : 1443-1543
- SS-OBFS TLS : 2443-2543
- SS-OBFS HTTP : 3443-3543
- XRAYS Vmess TLS : 8443
- XRAYS Vmess None TLS : 80
- XRAYS Vless TLS : 8443
- XRAYS Vless None TLS : 80
- XRAYS Trojan : 2083
- XRAYS VMESS GRPC : 1180
- XRAYS VLESS GRPC : 2280
- OHP SSH : 8181
- OHP Dropbear : 8282
- OHP OpenVPN : 8383
- TrojanGo : 2087
YOUR DONATION MAKES ME EXCITED TO LIVE THIS BORING LIFE