frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Turn a bare VPS into an operational fortress in 15 minutes and 1 command

https://github.com/rockballslab/vps-secure
2•rockballslab•1h ago

Comments

rockballslab•1h ago
A bare or default-configured server is an easy target — visible and attackable within minutes.

VPS-Secure is not just an install script: it's an ultra-robust security foundation, designed to turn a bare VPS into a production-ready server with significantly stronger protection against attackers.

15 minutes, one single command to turn your server into a Fortress — ready to host your services with complete peace of mind.

Hey, I'm Fabrice. Entrepreneur, founder of multiple SaaS products, and Zero Trust advocate.

I built VPS-SECURE out of necessity: I wanted a tool capable of turning any bare server into an impenetrable fortress in minutes — without sacrificing service stability.

"Eat your own dog food": This is exactly the configuration I use to harden my production servers and confidently run n8n stacks, microservices, and AI agents in production.

## What VPS-SECURE does

1 command — 15 automatic steps — zero technical expertise required.

| # | What | Why | |---|---|---|

| 1 | Creates `vpsadmin` user | No more root — impossible to make a fatal mistake |

| 2 | SSH on port 2222, key-only | Connection restricted to `vpsadmin` only. *GSSAPI disabled* (CVE-2026-3497) |

| 3 | System update + encrypted DNS + `/tmp`, `/var/tmp` and `/dev/shm` secured | Closes known vulnerabilities. DNS over TLS activated *before* any download — eliminates the DNS poisoning window. `/tmp`, `/var/tmp` and `/dev/shm` mounted `noexec` — malicious scripts cannot execute there |

| 4 | *CrowdSec* | Detects and bans malicious IPs. Installed via GPG-signed repository with hardcoded fingerprint verification — integrity guaranteed |

| 5 | *UFW* (firewall) | Everything blocked except ports 2222, 80 and 443. Docker forwarding is targeted — not global |

| 6 | *Docker* Engine + Compose v2 | Docker runs applications in isolated "boxes" (containers). Configured to *not* bypass UFW — exposed ports remain under firewall control. NAT rule added in UFW — containers have internet access |

| 7 | unattended-upgrades | Security patches installed automatically every night. *Docker CE* included in automatic updates. *snapd blacklisted* (CVE-2026-3888) |

| 8 | Kernel hardening | *35 parameters*: network (spoofing, SYN flood, ICMP...) + ASLR + ptrace + core dumps + perf events + *AppArmor userns restriction (CIS compliance)* |

| 9 | *auditd* | Logs everything: SSH, sudo, Docker, sensitive files, crontabs, `/etc/hosts`. *Anti-rootkit monitoring* — daily `voidlink-detect` scan at 02:30 |

| 10 | 2 GB Swap | Emergency virtual memory — prevents crashes |

| 11 | *rkhunter* | Scans for backdoors and rootkits. Daily automated scan at *00:00 UTC* — independent of Telegram |

| 12 | Unnecessary services disabled | avahi, cups, bluetooth, ModemManager disabled — every active service = attack surface (CIS 2.x). Ctrl-Alt-Delete masked (DISA STIG) | | 13 | *Telegram* alerts | Daily security report + instant alert on every SSH login |

| 14 | *Endlessh* (honeypot port 22) | SSH is on port 2222 — port 22 is free. Endlessh captures it and keeps bots connected for hours by sending an infinite SSH banner. They can't attack elsewhere during that time |

| 15 | *AIDE* (integrity monitoring) | SHA512 hash of all system binaries at install time. Daily scan at 03:00 — any modification (replaced binary, backdoor, rootkit) triggers an alert in the Telegram report. After an OS update, manually re-run the baseline (command provided) |

15 minutes, one single command to turn your server into a Fortress — ready to host your services with complete peace of mind.

1•justinarndt•13s ago

Show HN: Get dopamine from real action instead of doomscrolling

https://quest.visionary-path.com/
1•DaryaHr•15s ago•0 comments

A hidden ClickHouse bottleneck slowed Cloudflare billing pipeline

https://blog.cloudflare.com/clickhouse-query-plan-contention/
1•heldrida•4m ago•0 comments

How to Kill: A 6-Part Guide for Urban Assassins 1973-1984

https://flashbak.com/how-to-kill-without-joy-1973-1984-483193/
1•dxs•4m ago•0 comments

CodingBooth – Containerized dev environments declared in the repository

https://codingbooth.io/
1•NawaMan•5m ago•0 comments

Figure 03 robot work shift livestream [video]

https://www.youtube.com/watch?v=luU57hMhkak
2•nico•5m ago•0 comments

North Korean hackers siphon $12M+ from crypto users in sprawling campaign

https://therecord.media/north-korean-hackers-siphon-12-million-from-crypto-users
1•PaulHoule•6m ago•0 comments

Quaise Energy's deep drilling for unlimited geothermal power

https://newatlas.com/energy/quaise-newberry-volcano-marble-falls-hq-tour/
1•breve•7m ago•0 comments

Show HN: Sanjaya – Extract structured datasets from academic journals

https://sanjaya-8ng27s9p4-oug-ts-projects.vercel.app/
1•oug-t•11m ago•0 comments

Attested State Infrastructure-Cheaper building makes shared infra more valuable

https://myceliasignal.com/thesis/
1•JBulkeley•11m ago•0 comments

Man Impulsively Buys 55 Gallons of Potatoes on Facebook

https://www.today.com/food/man-buys-55-gallons-potatoes-facebook-marketplace-rcna342966
1•austinallegro•12m ago•0 comments

Kubernetes Networking Clicked When I Stopped Starting with Kubernetes

https://shadialtarsha.com/software/2026-05-13-i-think-kubernetes-networking-finally-clicked-for-me/
1•platzhirsch•13m ago•0 comments

Why they stopped building wooden stupas: on survivorship bias in history

https://resobscura.substack.com/p/survivorship-bias-in-history
1•benbreen•13m ago•0 comments

Nvidia CEO Compares Aging GPUs to Fine Wine

https://www.guru3d.com/story/nvidia-ceo-now-compares-aging-gpus-to-fine-wine/
1•akyuu•14m ago•0 comments

NASA pushes next-gen Mars helicopter rotors through the sound barrier

https://newatlas.com/space-systems/nasa-jpl-mars-helicopter-rotor-mach-1/
1•breve•16m ago•0 comments

Show HN: PandoCast: open-source Pandora player to solve an annoyance I had

https://github.com/lennyxc/PandoCast
1•lxchase•16m ago•0 comments

The Quiet Erasure of the Human Monopoly: Why Mo Gawdat's Predictions Are

https://beeble.com/en/blog/the-quiet-erasure-of-the-human-monopoly-why-mo-gawdat-s-predictions-ar...
1•odysseyk•17m ago•0 comments

A LaTeX Book Giveaway

https://tex.meta.stackexchange.com/questions/10304/another-latex-book-giveaway
1•idle•19m ago•0 comments

Math Jokes in Alice in Wonderland

https://storica.club/blog/alice-is-math-jokes/
1•yekbun123•25m ago•0 comments

Life, Death and Rebirth in the Land of the Buddha

https://www.nytimes.com/2026/05/14/t-magazine/nepal-buddha-kathmandu-buddhism.html
1•jackallis•26m ago•0 comments

CodeWright

https://en.wikipedia.org/wiki/CodeWright
1•BruceEel•31m ago•0 comments

Rising Seas Could Encircle New Orleans by the End of This Century

https://e360.yale.edu/digest/new-orleans-sea-level-rise
1•speckx•32m ago•0 comments

Will Wildfires Spell This the End of the Campfire in Canada?

https://explore-mag.com/is-this-the-end-of-the-campfire-in-canada/
2•kspacewalk2•33m ago•0 comments

Show HN: Symphony: Integrate OpenCode with Linear and get your own dev team

https://github.com/skorokithakis/symphony
1•stavros•34m ago•0 comments

USDA Projects Smallest US Wheat Harvest Since 1972 Due to Plains Drought

https://www.agweb.com/news/usda-projects-smallest-us-wheat-harvest-1972-due-plains-drought
46•littlexsparkee•36m ago•19 comments

The Ackman Act

https://docs.google.com/document/d/1EDezDWvB4wsgfhldNc23dNnSc0cZZfK9GZabjVvkyhg/edit?usp=sharing
1•throwawa1•37m ago•0 comments

Ask HN: How do you defend against supply chain attacks today?

4•elric•38m ago•3 comments

Karakeep – self-hostable bookmark-everything app

https://github.com/karakeep-app/karakeep
1•ano-ther•38m ago•0 comments

Show HN: Diffmode – Tool that builds custom growth tactics for bootstrapped SaaS

https://diffmode.app/
1•vanyaland•39m ago•1 comments

Neanderthal Dentists

https://journals.plos.org/plosone/article?id=10.1371/journal.pone.0347662
1•johnp314•40m ago•0 comments