How to Proxy SMB Shares into Nextcloud via WebDAV?

0
6
Asked By CloudyNerd42 On

Hey everyone! I'm currently running Nextcloud in the cloud and I'm trying to find a way to give my users access to an on-premises SMB server. Each user has multiple shares that they need to connect to manually every time their password changes, which is a hassle. I'm looking to automate this process by creating a proxy that communicates via WebDAV and integrates with Nextcloud. This setup should also help improve performance since SMB tends to be pretty slow over high-latency connections. Has anyone dealt with a similar situation, and if so, how did you handle it?

2 Answers

Answered By TechieTommy24 On

Why not just use WebDAV directly? You can actually bind WebDAV as drives on Windows too! Check out the guide on mapping drives with the WebDAV redirector for some insight.

CloudyNerd42 -

Thanks for the suggestion! I know that’s possible, but my main goal is to make the SMB shares available to Cloud users through Nextcloud to avoid setting up a VPN. Plus, my SMB server doesn't support WebDAV, so I might end up writing a custom proxy.

Answered By SmartAdmin88 On

You could map those drives as External Drives in Nextcloud and then share them with your users. It's a pretty straightforward approach!

CloudyNerd42 -

I can do that, but it's not ideal for two reasons: 1) Each user would have to manually bind all their shares every time they change their password, which is a huge hassle. 2) SMB is super slow over our high-latency VPN connection, while WebDAV could avoid those issues.

Related Questions

LEAVE A REPLY

Please enter your comment!
Please enter your name here

This site uses Akismet to reduce spam. Learn how your comment data is processed.