No description
Find a file
2025-02-11 18:06:26 +01:00
alpine move things around 2025-02-11 18:03:45 +01:00
debian move things around 2025-02-11 18:03:45 +01:00
README.md Update README.md 2025-02-11 18:06:26 +01:00
variables initial commit 2024-07-22 11:43:08 +02:00

Scripts for vpses

Requirements

  • Debian 12 or Alpine 3.21
  • working internet
  • Root permissions, all scripts must be executed as root (sudo is fine)

Tutorial

  1. CLONE this repo
  2. Edit variables
  3. Run a script or scripts

Scripts

  • variables - settings for the scripts

  • docker-rootless.sh - Installs Docker and creates a user for it

  • tor-repo.sh - Adds the Tor repo. Doesn't install tor or anything.

  • secure.sh:

    • Creates a user
    • disallows root and password login
    • creates a WireGuard profile
    • restricts SSH to it

    If you'd like, you can install mosh.

Checklist

  1. Update system and reboot
  2. Remove bloat like exim and cron (for low end servers)
  3. Setup systemd-networkd
  4. Change to random IPv6 to not expose your subnet
  5. secure.sh
  6. Install byobu
  7. Save login info somewhere