I'm planning to transition from renting a VPS to self-hosting my own server once I get fiber internet in my neighborhood. I'm considering using Linux, probably Ubuntu Server, to set up a file share that I can connect to from several computers and my Samsung phone. Right now, I'm utilizing a Windows server with SMB share and Tailscale, which works well, but I'm eager to learn Linux for this project. I've heard that Samba is a good way to integrate a network drive in Windows file explorer, but I've also read that it might not be secure. What steps should I take to ensure my setup is both functional and secure?
2 Answers
Just a heads-up, setting up a private cloud can get more complex than just hosting file shares on a single server. It’s not as straightforward as you might think. But if you're committed, you might want to take a look at Nextcloud! It's a fantastic solution for self-hosting and offers many features that can help with security while still being user-friendly.
While Samba is a popular choice for file sharing in Linux, security can be a concern if not configured properly. To secure your setup, consider using Nextcloud or implementing solid firewall rules, along with Tailscale for VPN access. Make sure to regularly update your server and apply any security patches to keep everything safe. Don't be afraid to reach out to communities focused on home labs for more specific advice!
Thanks for the tips! I'll definitely look into Nextcloud and focus on securing the server.