The script automatically performs some basic configuration for your VPS such as:
- Enabling: unattended-upgrades, BBR, auto reboot (once a week), sudo logging, 2Gb swap;
- Add sudo user, create & upload ssh-key, change SSH port;
- Disabling: IPv6, root login, password authentication;
- Configuring iptables (read this section carefully);
- Show ipregion (by https://ipregion.vrnt.xyz);
- Show vps-audit (by https://github.com/vernu/vps-audit).
- Debian Linux on your VPS (or Ubuntu, but Debian is preferable)
curl -o vps_autosetup.sh https://raw.githubusercontent.com/vrzdrb/vps_autosetup/main/vps_autosetup.shor
wget https://raw.githubusercontent.com/vrzdrb/vps_autosetup/main/vps_autosetup.shchmod +x vps_autosetup.sh
./vps_autosetup.sh