Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Question] snapcast over internet? #801

Closed
emagra opened this issue Feb 14, 2021 · 3 comments
Closed

[Question] snapcast over internet? #801

emagra opened this issue Feb 14, 2021 · 3 comments

Comments

@emagra
Copy link

emagra commented Feb 14, 2021

How much would you recommend using snapcast on the web? I mean, the server located on someone private home behind a normal home modem/router (with open port 1704,1705,40978,39940,39942 (are those all needed?)) and the client on the smartphone. Talking about security more then anything.
Thoughts?

@badaix
Copy link
Owner

badaix commented Feb 14, 2021

I would not recommend doing tihs. Snapcast doesn't use any encryption, authentication or authorization. It's on the roadmap to support TLS in some future version.
You can of course use an IPSec tunnel, i.e. some VPN solution.
Right now everyone could control your server over port 1705 and listen to your music on port 1704. Also I never "fuzz-tested" the server, in sense of sending some random data. Maybe the server would crash by some stack overflow, enabling remote code execution.
Regarding ports: I'm only aware of 1704 (audio), 1705 (control) and 1780 (Websocket). Maybe 39940 and 39942 is used by avahi zero conf, which would not work over the internet anyways (will just work in a broadcast domain, i.e. in your LAN).

@6i6i
Copy link

6i6i commented Feb 15, 2021

I've tried it with openvpn to my home network and it works quite well. So I would suggest to setup some VPN in your case.

@badaix
Copy link
Owner

badaix commented Feb 19, 2021

you're welcome

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants