DLNA Auth/Workarounds

STOP and READ USE THIS TEMPLATE NO EXCEPTIONS - By not using this, you waste your time, our time and really hate puppies. Please remove these two lines and that will confirm you have read them.

What is the problem you are having with rclone?

Want to pw protect a folder on DLNA server OR at least be able to set it up so that no one else on my network can access specific folders

Run the command 'rclone version' and share the full output of the command.

rclone v1.67.0

  • os/version: Microsoft Windows 11 IoT Enterprise LTSC 2024 24H2 (64 bit)
  • os/kernel: 10.0.26100.1742 (x86_64)
  • os/type: windows
  • os/arch: amd64
  • go/version: go1.22.4
  • go/linking: static
  • go/tags: cmount

Which cloud storage system are you using? (eg Google Drive)

Koofr\Koofr Vault(Rclone crypt)

The command you were trying to run (eg rclone copy /tmp remote:tmp)

N/A

Paste command here

rclone serve dlna [redacted-database-name]: --addr :8080

Please run 'rclone config redacted' and share the full output. If you get command not found, please make sure to update rclone.

Paste config here

[redacted-remote-name]
type = crypt
password = [redacted]
password2 = [redacted]
remote = :[redacted-folder-name/paths]

A log from the command that you were trying to run with the -vv flag

Paste  log here

There isn't anything not working, the config is fine, etc. I am more so just wanting to know 1. if there is any way to set authentication for certain folders on the dlna server (which I bet probably not), so if not then 2. What might be a possible workaround? I tried setting up smb solely under windows but that failed time and time again and couldn't work it out. Is anyone able to guide me? Or give me some sort of workaround?
I know I can exclude a folder using the filter flags, but I want for ME to still be able to stream the full contents of the dlna serve, but not others on my local network.

welcome to the forum,

i have a howto guide about that.
https://forum.rclone.org/t/how-to-access-smb-samba-with-rclone/42754


not sure of your final goal, but another option is to:
run rclone mount and another dlna server or media server on top of that.
plex, emby, jellyfin support dlna, and in addtion, have web interfaces and users+passwords.


that is an old version, might want to rclone selfupdate

Thanks for the response. I did see that guide & I followed it but Windows refused to connect or map any network share at all.
Error if kept giving was specified network name no longer exists, and couldn't find network server.
I've only setup the smb server defaults on the config file. From there I have no idea what to do.

The end goal I'm trying to achieve is when the DLNA server shows up as a host for everyone using the same network, then even if they go into the directory I want to protect then they'll need a password. But still wanting them to freely access other directories.

Also just thinking if I use option 2 of creating a DLNA server on top of the Rclone one, then why wouldn't I or anyone just use an emby, plex or jellyfin DLNA server to begin with for the entire thing?

well, good to have multiple options.

let's say the the device cannot run rclone mount.
for example, android phone/tablet or a router that cannot handle heavy application like plex, cannot handle FUSE.

i have a handy, dandy, howto guide about that:
https://forum.rclone.org/t/rclone-on-termux-turn-your-android-phone-into-a-media-server/16064

1 Like

Thank you for the guide. I'll read through it. I was finally able to setup Samba share through Linux as the host server. Didn't realise Linux was needed for that until now.

let me know if you have any questions.

ok, but windows can natively share folders over smb, check out my post at
https://forum.rclone.org/t/network-drive-sharing/45182/3

as for samba shares and rclone, check out my post at
https://forum.rclone.org/t/solved-is-it-possible-to-access-my-rclone-mount-as-a-samba-share/18335/14