du_setup
du_setup copied to clipboard
A Bash script to automate the initial configuration and security hardening of Debian and Ubuntu servers. VPS hardening script tested on several cloud VPS providers and local VMs.
ℹ Applying new Fail2Ban configuration... ℹ Enabling and restarting Fail2Ban to apply new rules... Synchronizing state of fail2ban.service with SysV service script with /lib/systemd/systemd-sysv-install. Executing: /lib/systemd/systemd-sysv-install enable fail2ban ✓ Fail2Ban...
### Discussed in https://github.com/buildplan/du_setup/discussions/119 Originally posted by **GuinnessDublin** August 6, 2026 Ufw is much slower when there is hundreds of bans. Ipset would work better. Just a idea. Thanks
This issue lists Renovate updates and detected dependencies. Read the [Dependency Dashboard](https://docs.renovatebot.com/key-concepts/dashboard/) docs to learn more. This repository currently has no open or pending branches. ## Detected Dependencies github-actions (2)...
Happened with: Cx23 Hetzner Helsinki x86 fresh Ubuntu 24.04 ``` ▓▓▓ System Configuration ▓▓▓ ═════════════════════════════════════════════════════════════════ ℹ Note: Debian 13 uses tmpfs for /tmp by default (stored in RAM) ℹ Large...
### Discussed in https://github.com/buildplan/du_setup/discussions/103 Originally posted by **alfrede** February 28, 2026 As an admin i want to have an netbird Integration.
### Discussed in https://github.com/buildplan/du_setup/discussions/100 Originally posted by **avetere** February 27, 2026 Hi there! Thanks for this very nice script! I have two suggestions for further improvement: - Implement a fallback...
This issue lists Renovate updates and detected dependencies. Read the [Dependency Dashboard](https://docs.renovatebot.com/key-concepts/dashboard/) docs to learn more.[View this repository on the Mend.io Web Portal](https://developer.mend.io/github/buildplan/du_setup). This repository currently has no open or...
When setting up Fail2Ban, users connecting via SSH risk accidentally locking themselves out if their IP is not on the `ignoreip` list. Automating the addition of the user's SSH IP...
### Discussed in https://github.com/buildplan/du_setup/discussions/89 Originally posted by **kuranai** January 6, 2026 Hi, I was researching how to harden my server and found this script, really like it. Do you think...
Fail2Ban was banning my IP address after the post-du_setup reboot, likely due to some automation I had set up before my server rebuild. A step to whitelist IPs (or suggest...