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

Subscribe
Share

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

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.

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.