All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.
What are some security tips for your new VPS/idlers/chickens?
I usually do ufw (close all ports except the ones I need to be public facing), fail2ban, restrict login to ssh only, os updates, restrict login to specific IPs only. I also disable ICMP broadcast echo replies.
I'm starting to think for proxmox VPSs I should probably run headscale or tailscale and only ever have the admin interface on a private network right? Though I have it locked to only accessible by specific IPs currently, but maybe that's not enough.
Seems like with the rise of automated exploit scanners, the safest route is probably just keeping everything behind headscale/tailscale unless it needs to serve public web traffic?
I mostly run Ubuntu/Debian/Proxmox.
Anything else you guys recommend?
Comments
OOM, block
0.0.0.0/0,rm -rf --no-preserve-root /turn it off
To add to the "fun" approach: also block ::/0 (or switch to another provider if you don't get IPv6) and make sure your RAM is cleaned of any secrets with
cat /dev/zero > /dev/memOn a more serious note, subscribe to your OS's and applications security notifications (mailing lists, ...), and find something to deal with the depression caused by being exposed to such stuff.
Shocking LET culture for new member
This 1000%. Security is a process , not a series of procedures you implement and forget about.
That said, this is the minimum that I do. I usually do more but this is all that would be unlikely to break the average workflow. It's for Debian so there's really only so much hardening that can apply. Also, you should never use a provider's OS template and should always install directly from ISO or netinst.
Initial upgrade and removal of stupid shit:
Add boot parameters for kernel hardening:
Add custom sysctl parameters for further hardening:
Blacklist certain problematic kernel modules:
Enable automatic upgrades and reboots (CF won't let me post this as is, so replace DOLLAR_SIGN with $):
Create a minimal firewall allowing only SSH in:
Configure authenticated NTP:
Configure DNS-over-TLS:
Reboot:
Note: This will break docker rootless if I remember correctly.
Yep, rootless Docker depends on unprivileged user namespaces. Disabling them will break it, so I'd leave this disabled only if you don't need rootless containers.
Unprivileged user namespaces are so bad that I'd never consider enabling them, even if it'll require workarounds for Docker.
haha, just thought to do the same recomendation as the servers are idling anyway
better tasks are:
cd /rm -rf *rebootnow definetely secured all access so no one be able to do anythign!
Just change the default ssh port and in sshd_config do :
This way only your key and user would enter the system.
Or if you are too sceptical, you can do ufw allow from your ip only incoming.
EDIT: But this is no guarantee, In this AI times there are more scary things which are out of our control and could be easily exploited to gain root access
stop trying to insert 1337 hacker on my computer thankings