• 2 Posts
  • 14 Comments
Joined 3 months ago
cake
Cake day: July 6th, 2025

help-circle
  • I may be (probably am) worrying too much about this, but doesn’t that remove much of the benefit of running services in containers? My understanding is that one benefit of containerization is so that if one service is somehow compromised, the others remain isolated, but running the service that allows you inside on bare metal gives single point access to the drives that those other services rely on, and that’s from the most likely point someone could get into your network. Alternatively, if Tailscale is containerized and someone gets in, they have access to the other services’ front ends but not the data they rely on since Tailscale itself doesn’t have that access.


  • pirateMonkey@lemmy.worldOPtoSelfhosted@lemmy.worldTailscale difficulties
    link
    fedilink
    English
    arrow-up
    1
    ·
    edit-2
    12 days ago

    Yes, I believe I made the stupid mistake of not restarting after enabling. Once I did that the warning went away and I was able to enable subnets, but I’m still not able to see my local services (where I try to access via the IP of the host given by Tailscale or the magicDNS address). So, progress!

    ETA: I also had removed the advertise exit nodes line and restarted the container with the --reset flag. After the warning went away I re-added the exit node option and I get the warning that it is misconfigured again.












  • Sorry for misformatted code.

      tailscale-authkey1:
        image: tailscale/tailscale:latest
        hostname: myhost
        environment:
          - TS_AUTHKEY=xx
          - TS_STATE_DIR=/var/lib/tailscale
          - TS_USERSPACE=false
          - TS_EXTRA_ARGS=--advertise-exit-node,--accept-routes
          - TS_ROUTES=192.168.0.0/24
        volumes:
          - ts-authkey-test:/var/lib/tailscale
          - /dev/net/tun:/dev/net/tun
        cap_add:
          - NET_ADMIN
          - SYS_MODULE
        restart: unless-stopped
      nginx-authkey-test:
        image: nginx
        network_mode: service:tailscale-authkey1