Quantcast
Channel: Squeezebox : Community : Forums - 3rd Party Software
Viewing all articles
Browse latest Browse all 2050

Using LMS outside of your house using tailscale

$
0
0
Hello!

I came across this: tailscale. I wanted to be able to use Home Assistant from outside my house. Got that working within minutes. Next I thought, why not try with LMS? And guess what, that also works.

So on this website you can login, on whatever computer your on: https://tailscale.com/

Since I'm running portainer on my pi, it was easy to install. I have LMS, MusicIP, squeezelite and tailscale running on a raspberry pi.
I used this docker compose:
Code:

version: "2.4"
services:
  tailscale:
      privileged: true
      hostname: tailscale                                          # This will become the tailscale device name
      network_mode: "host"
      container_name: tailscale
      image: tailscale/tailscale:latest
      volumes:
          - "/opt/appdata/tailscale/var_lib:/var/lib"        # State data will be stored in this directory
          - "/dev/net/tun:/dev/net/tun"                      # Required for tailscale to work
      cap_add:                                              # Required for tailscale to work
        - net_admin
        - sys_module
      command: tailscaled
      restart: unless-stopped

Loaded this into portainer.
On the pi I did this:
Code:

docker exec tailscale tailscale up
This logs you in tailscale

Then you can download the tailscale app on google play store or the apple app store.
This way you can get your new ip address of your pi (or any other device you use). If you enable tailscale on your phone and use the new ip provided by tailscale, you can use any program that connects to LMS. In my case: SB player and SqueezeCTRL.

Viewing all articles
Browse latest Browse all 2050

Latest Images

Trending Articles



Latest Images