Question

Nextcloud over VPN

I am looking at setting up a NAS using nextcloud but I want it to only be usable over VPN, ideally so I don’t need a DNS/Domain registrar. Similar to how you might map network drives in windows, but they only work when the VPN is connected. Is this possible and actually useful? or should I setup a network share on my droplet?

Many Thanks


Submit an answer

This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

Sign In or Sign Up to Answer

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.

You could certainly do this. Once you have your services configured you can set up a firewall like ufw to restrict connections to these services to only the incoming IP provided by your VPN.

This guide will walk you through setting up a firewall with ufw.