News for hackers. Stuff that matters.
Re:Building a static serverless website using S3 and CloudFront by e12e on Monday February 17, 2020 @06:06PM (#22351792)
I don't think low budget vps providers typically allow this. That said, fail2ban works OK, as does manual iptables (now nftables) - unfortunately /etc/hosts_allow is deprecated[1].

If you don't know that you'll be able to arrive from an IP or subnet - another option would be port knocking. (eg: knockd). Although, I'd try to avoid adding more code and logic to the mix - that goes for both fail2ban and knockd.

[1] ed: Note, the rationale for this is sound: the firewall (pf or nftables) is very good at filtering on IP - so better avoid introducing another layer of software that does the same thing.

Re:Building a static serverless website using S3 and CloudFront by pm90 on Monday February 17, 2020 @08:48PM (#22352733)
You can't create/edit firewall rules via apis in some vps providers?
Re:Building a static serverless website using S3 and CloudFront by e12e on Tuesday February 18, 2020 @02:08AM (#22354079)
By "low budget" i read"cheaper than Digital Ocean". I'm not sure how many of them let you specify firewall rules outside of/"in front of" your vm.