This script will install:
Dropbear, Stunnel4, Squid Proxy, OpenVPN, Badvpn-udpgw, Webmin, Apache2, Fail2ban with MENU panel for accounts/services management.
Optional: WS+Dropbear, WS+SSL, WS+Ovpn
Please install on a fresh deployed Ubuntu 18.04/20.04 or Debian 9/10 to minimize errors.
Installer was tested using AWS Lightsail Instances.
rm -f vpsphc && wget -O vpsphc "https://raw.githubusercontent.com/darkrenz/VPS-Autoscript/main/vpsphc" && chmod +x vpsphc && apt update && apt install screen -y && screen -S phc ./vpsphc
In case you get disconnected during installation, just relogin to your vps and type the command:
screen -r
All credits goes to the masters of PHCORNER
-Fast VPN for badvpn tutorial
-N O T E for websocket