I just spun up a private instance of lemmy on the cheapest Linode. So far so good.

I used the ansible method of installing the instance on the default Debian 11 image from Linode (link below).

I feel a bit worried that there are no firewall instructions in the install documents. And no notes on securing your instance.

Any thoughts on how to set up ufw for a lemmy instance? Or thoughts on other security tips?

https://github.com/LemmyNet/lemmy-ansible

  • mbirth@lemmy.mbirth.uk
    link
    fedilink
    English
    arrow-up
    5
    ·
    1 year ago

    Also consider changing the port for SSH to some random port >1024 and maybe install fail2ban for good measure.