vpsmusthave/README.md
2025-02-11 18:01:41 +01:00

30 lines
No EOL
831 B
Markdown

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](https://support.torproject.org/apt/). Doesn't install tor or anything.
- `secure.sh`:
- Creates a user
- disallows root and password login
- creates a WireGuard profile
- restricts SSH to it
### 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