Sysadmin DevOps UtilityLive data verified:

Linux / Netcup KVM First-Boot Hardening & BBR Script Generator

Key Takeaway & Price Summary

Provisioning a fresh Debian 12 or Ubuntu 24.04 server on Netcup takes under 90 seconds with a clean initialization script. Customize your SSH port, swapfile buffer, TCP BBR congestion control, UFW firewall ports (including Mailcow Port 25), Fail2Ban, and Docker/Coolify installation in one idempotent bash script.

Linux / Netcup KVM First-Boot Hardening & BBR Script Generator

Generate a clean, idempotent bash provisioning script for Debian 12 / Ubuntu 24.04 on Netcup Root Servers & VPS.

netcup-firstboot.sh (Debian 12 / Ubuntu 24.04)
RS 1000 G12.5✓ New & Existing Users
Netcup RS 1000 G12.5€15.22 eff. / mo

Works for new & existing accounts — opens directly in an empty Netcup cart.

6874nc17958827840
Copy & Open Cart
Open VAT & True-Cost Calculator
RS 1000 G12.5✓ New & Existing Users
Netcup RS 1000 G12.5€15.22 eff. / mo
  • • Best Seller: 2 Months Completely Free (€36.52 net saved on 12M)
  • • 4 Dedicated AMD EPYC™ 9645 or 9655 cores + 8 GB DDR5 ECC
  • • 2.5 Gbit/s Unlimited Traffic (>3 TB/24h → 300 Mbit/s); New & Existing Users

Works for new & existing accounts — opens directly in an empty Netcup cart.

6874nc17958827840
Copy & Open Cart
Open VAT & True-Cost Calculator

Why Should Every Netcup KVM Server Enable TCP BBR and a 2–4 GB Swapfile?

Linux kernels ship by default with CUBIC congestion control, which aggressively halves throughput whenever a single packet drops across trans-Atlantic (Nuremberg to US) or Eurasian (Nuremberg/Vienna to Asia) fiber paths. Switching net.ipv4.tcp_congestion_control to Google BBR with Fair Queuing (fq) routinely improves international single-thread HTTPS and WireGuard speeds by 35% to 220%, while a 2 GB NVMe swapfile with vm.swappiness=15 prevents sudden Linux OOM-killer crashes during Docker image builds.

How to Harden SSH & UFW Without Locking Yourself Out of Netcup SCP

Newly provisioned public IPv4 addresses receive automated SSH dictionary attacks on port 22 within 180 seconds of going online. Moving sshd to a custom high port, installing Fail2Ban, and setting UFW to default-deny incoming connections cuts auth.log noise by over 98%. Even if you ever misconfigure UFW, Netcup’s Server Control Panel (SCP) provides out-of-band HTML5 VNC KVM console access so you can log in locally and fix firewall rules anytime.

Frequently Asked Questions

Does this generated script work on both Netcup Root Servers and VPS G12.5?

Yes. Both Netcup Root Servers and x86 VPS G12.5 run full KVM hardware virtualization with a dedicated Linux kernel (unlike OpenVZ/LXC containers), so sysctl TCP BBR, swapfiles, UFW, and Docker work natively out of the box.