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:
Loaded this into portainer.
On the pi I did this:
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.
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
On the pi I did this:
Code:
docker exec tailscale tailscale up
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.