Skip to content

vrzdrb/vps_autosetup

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 

Repository files navigation

vps_autosetup

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).

Requirements:

  • Debian Linux on your VPS (or Ubuntu, but Debian is preferable)

Download:

curl -o vps_autosetup.sh https://raw.githubusercontent.com/vrzdrb/vps_autosetup/main/vps_autosetup.sh

or

wget https://raw.githubusercontent.com/vrzdrb/vps_autosetup/main/vps_autosetup.sh

Run from root:

chmod +x vps_autosetup.sh
./vps_autosetup.sh

About

The script automatically performs basic security configuration for your VPS.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages