Anyone have tips on how to secure their Linux VPS? I just set one up and disabled SSH password login, locked down all the ports with iptables (using ufw), and enabled fail2ban. Anything else I should install or configure to make myself a little more secure? Was considering tripwire but I dunno how much a headache it would be with false positives as I change things on the server.
Ask HN: My VPS got hacked and now I'm facing a massive bill. What can I do?
61–70 of 83 posts
Re: Ask HN: My VPS got hacked and now I'm facing a massive bill. What can I do?
#62Earlier quoted context omitted.
People that rent a $15/year VPS use it to run an IRC bouncer or a small web log, something you don't need to know a whole lot of sysadmin stuff for. They just need a machine that's always on. It's hardly worth hiring a sysadmin for (I find that suggestion laughable, to be frank). Managed hosting doesn't allow you to do much else besides hosting a website in PHP, which is not enough for plenty of use-cases, including…
> $15/year VPS Do tell, where do I get one of those? Cheapest I know of is $60 ($5 a month).
Re: Ask HN: My VPS got hacked and now I'm facing a massive bill. What can I do?
#63Earlier quoted context omitted.
AWS also has billing alarms. If you're running an account which should cost $15/month then for the love of god set an alarms at e.g. $20/month. I had a reserved instance for 12 months, forgot to renew it, and on the 13th month (when it was on-demand) the usage creeped over my cap and I started getting alarms allowing me to kill the instance, renew my reserved, and restart it. Saved me at least $10. On a related topic…
You can prepay on Digital Ocean.
> Can I pay in advance?
> We do not currently accept pre-payment, but you can add additional credit to your account at anytime by sending in a PayPal payment.
Re: Ask HN: My VPS got hacked and now I'm facing a massive bill. What can I do?
#64Earlier quoted context omitted.
Yes. There's some semantic information associated with the choice of that misspelling, though.
I assume that was a pr0n whinger? I used that intentionally to prevent the association of HN with the other form of the word. It is polite IMHO.
> Am I right in assuming that "pr0n" is some kind of 1337, 80s hackerish misspelling of "..."
... with the ellipsis substituted to accomodate your preference. ;-)
Re: Ask HN: My VPS got hacked and now I'm facing a massive bill. What can I do?
#65Earlier quoted context omitted.
People that rent a $15/year VPS use it to run an IRC bouncer or a small web log, something you don't need to know a whole lot of sysadmin stuff for. They just need a machine that's always on. It's hardly worth hiring a sysadmin for (I find that suggestion laughable, to be frank). Managed hosting doesn't allow you to do much else besides hosting a website in PHP, which is not enough for plenty of use-cases, including…
> $15/year VPS Do tell, where do I get one of those? Cheapest I know of is $60 ($5 a month).
Re: Ask HN: My VPS got hacked and now I'm facing a massive bill. What can I do?
#66Re: Ask HN: My VPS got hacked and now I'm facing a massive bill. What can I do?
#67Earlier quoted context omitted.
Beware: https://news.ycombinator.com/item?id=6577465
Any sane provider with no DDoS protection will nullroute you on incoming DDoS, that's not Hetzner specific. If you expect to get DDoSed, buy protection or go with OVH.