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

help-circle

  • I have many of my services open to the internet, but behind authelia w/2fa and a reverse proxy. I haven’t had a security issue yet, been running this way for a few years.

    I think it’s pretty safe as long as you keep them up to date. I run backups weekly and do updates at least once a month.

    Using geoip restrictions will also help a lot because you can block most of the scanner bots by denying connections from outside your geographic region. These bots detect what services are open to the internet and then add them to databases like shodan. If a security flaw is found in one of those services, hackers will search those databases for servers with those services running and try to exploit them. If you aren’t in those databases they can’t easily find you before you are able to patch.


  • I think SSO is less important than having everything behind the reverse proxy. The importance of the proxy is that if there is a security hole in the web server component of your service, it cannot be exploited without a second flaw in the proxy. It’s an additional layer of abstraction and security that doesn’t add a ton of overhead.

    An attacker would have to find an exploit in nginx, which is used by most of the big tech companies, so it is well secured compared to the services many of us selfhost.

    Another advantage of using SWAG is being able to use fail2ban and geoip restrictions. Any ports open to the ipv4 internet get scanned by security services and malicious actors many times each day. It’s nice to be able to have nginx refuse connections from any of them that repeatedly fail to login, or that come from outside your geographic region.



  • I run everything in docker on Ubuntu 22.04 with the exception of Plex, which runs on bare metal on the same server. The server is a 16 core threadripper 1950, with 2 quadro gpu’s, m2000 and a p400, 128gb ram, mirrored ssd for system, platter HDD for media, CoralTPU pcie.

    I also run Home Assistant on a separate Lenovo MiniPC(forget which model), I did this so I can take down the server for various reasons without losing smart home stuff. Helps with the Partner Acceptance Factor.

    In no particular order the server runs:

    Calibre-web - Library management

    Sonarr - TV series downloads

    Radarr - Movie Downloads

    Lidarr - Music Downloads

    QbittorentVPN - Torrents over vpn, guarantees no leaks

    Jackett - tracker management and proxying

    Podgrab - downloads podcasts

    Frigate - NVR, camera recording with object detection

    DoubleTake - Facial recognition middleware, works between frigate/homeassistant and Compreface/Deepstack

    Octoprint - 3d printer spooler

    Tautulli - Plex statistics

    Portainer - Docker Management

    Ombi - Media request app, users can request shows/movies and they can be automatically added to sonarr/radarr

    MeTube - Webui for youtube-dl/dlp, useful for downloading Youtube videos for offline and ad free use

    Spot-dl - parses spotify playlists and downloads them from youtube