Jump to content

Connecting via Tailscale automatically logs me into Unraid


malley

Recommended Posts

Hello,

I was checking out Tailscale on my server. When I started my container I noticed that every time I connect to my server via Tailscale I am automatically logged in to Unraid. It doesn't matter if I have SSL on or off. It doesn't happen when I connect via Tailscale from the plugin, there is no such action.

I tried simple compose file from the docker hub command and expanded one like below. Every time the same - I am logged into Unraid when I connect via Tailscale from my docker. I am not sure why it happens. Please take a look at my compose file and tell me if I am doing something wrong or maybe it should work like this somehow.

 

 

version: '3.8'
services:
  tailscaled:
    container_name: tailscale
    hostname: "docker"
    privileged: true
    cap_add:
        - NET_ADMIN
        - NET_RAW
    volumes:
        - "/mnt/user/appdata/tailscale:/var/lib"
        - "/dev/net/tun:/dev/net/tun"
    network_mode: host
    image: tailscale/tailscale:latest
    restart: always
    environment:
      - PUID=1000
      - PGID=1000
      - TS_STATE_DIR=/mnt/user/appdata/tailscale/state
      - TS_ROUTES=192.168.0.0/24
      - TS_AUTHKEY=tskey-auth-xyz
      - TS_EXTRA_ARGS=--advertise-exit-node

 

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...