The following warnings occurred:
Warning [2] count(): Parameter must be an array or an object that implements Countable - Line: 906 - File: showthread.php PHP 7.2.34 (Linux)
File Line Function
/showthread.php 906 errorHandler->error



Thank you for your donation!


Cloudsmith graciously provides open-source package management and distribution for our project.


Solved: connecting networks via VPN
#1
Dear all,

situation:

- moodeaudio/mpd in LAN
- NAS (optional, with music and/or central mpd db server) in LAN
- control (e.g. to control spotify client which is discovery mode) via phone from WLAN
- WLAN and LAN are connected via VPN (e.g. wireguard)

Normally it is not possible to discover the spotify client on the moodeaudio player due to broadcast/ multicast being not routed via VPN. If one connects from LAN (spotify control app/client) to LAN (moodeaudio player) a WLAN phone will (interestingly?) sometimes find it (maybe due to spotify itself?), but not reliable and it requires first a LAN client to do the first connect. IF that does not happen it never discovers the moodeaudio with spotify client.

Solution:

- mdns daemon ie. multicast daemon (e.g. https://github.com/troglobit/mdnsd), there are debs available but requires 'bookworm' due to newer libc6 requirement.
- best to run it on the VPN server and it has to listen on all relevant interfaces, ie. LAN as well as WLAN. If a debian package is installed this is done automatically.
- spotify discovery from phone (WLAN) via VPN to LAN worked out of the box and reliable.

best regards
Reply


Messages In This Thread
connecting networks via VPN - by shiri1999 - 01-17-2024, 02:24 PM
RE: connecting networks via VPN - by Tim Curtis - 01-17-2024, 02:38 PM
RE: connecting networks via VPN - by Nutul - 01-17-2024, 04:30 PM

Forum Jump: