2024-04-27 15:53:01 -04:00
|
|
|
# Remote Access
|
2022-03-20 07:00:31 -04:00
|
|
|
|
|
|
|
It is possible to access a shared library over the internet from a DAAP client
|
|
|
|
like iTunes. You must have remote access to the host machine.
|
|
|
|
|
|
|
|
First log in to the host and forward port 3689 to your local machine. You now
|
2024-03-05 05:23:25 -05:00
|
|
|
need to broadcast the DAAP service to iTunes on your local machine. On macOS the
|
2022-03-20 07:00:31 -04:00
|
|
|
command is:
|
|
|
|
|
2024-03-05 05:23:25 -05:00
|
|
|
```shell
|
2022-03-20 07:00:31 -04:00
|
|
|
dns-sd -P iTunesServer _daap._tcp local 3689 localhost.local 127.0.0.1 "ffid=12345"
|
|
|
|
```
|
|
|
|
|
|
|
|
The `ffid` key is required but its value does not matter.
|
|
|
|
|
|
|
|
Your library will now appear as 'iTunesServer' in iTunes.
|
|
|
|
|
|
|
|
You can also access your library remotely using something like Zerotier. See [this
|
|
|
|
guide](https://github.com/owntone/owntone-server/wiki/Accessing-Owntone-remotely-through-iTunes-Music-with-Zerotier)
|
|
|
|
for details.
|
|
|
|
|
2023-09-02 17:07:05 -04:00
|
|
|
## Accessing from Internet for authenticated users
|
|
|
|
|
2024-03-05 05:23:25 -05:00
|
|
|
If you intend to access OwnTone directly from Internet, it is recommended to
|
2023-09-02 17:07:05 -04:00
|
|
|
protect it against unauthenticated users.
|
|
|
|
|
|
|
|
[This guide](https://blog.cyril.by/en/software/example-sso-with-authelia-and-owntone)
|
|
|
|
has a detailed setup tutorial to achieve this securely.
|