• 0 Posts
  • 19 Comments
Joined 1 year ago
cake
Cake day: June 30th, 2023

help-circle














  • I agree for serious/business applications. In my case, it’s a home server that I and some close friends and family access. But it is indeed exposed (basically, my router routes port 80 and 443 to the server within the NAT).

    To discuss the header-based firewall: the host is used by Traefik to determine which docker container to route (reverse proxy) the traffic to. So I don’t see any obvious ways an attacker can really manipulate that to reach (in my case) the bitwarden instance. My main attack angle this protects if is there is some vulnerability in Bitwarden and bots are going around exploiting that. That way at least Traefik would already block them before they get to bitwarden.

    But yes another service with a vulnerability could be exploited, then escape that docker container and you’re in the whole server.


  • Something to keep in mind here. I am also using an IP white-list, but only on some services Traefik hosts.

    So for example bitwarden is behind an IP white-list, but subsonic is reachable from any IP.

    I think in that case it’s not really possible (or doable) to write L2 firewall routes.

    But if you want all traffic to port 80 on your server to be IP whitelisted, then a regular firewall would be good.




  • From what I understand:

    Pros of hosting your own instance:

    • control over your data (privacy)
    • performance (your instance is probably less busy/faster than lemmy.world, because it has to handle less people, so things load faster)
    • it cool

    Cons of hosting your own instance:

    • maintenance
    • federation cost increases for the network (i.e. All instances that host communities you are subscribed to (i.e. Lemmy.world), now need to send (federation) updates to your new instance). Note that as more people start using your instance, it is better for the network.
    • you have to have a server running somewhere, which costs money’s.
    • you need a max 20 character domain name.