Hi all,
As above I’m struggling to get my home server running Manjaro to be accessible outside my network. I’ve never messed with domains before but I do have a working knowledge of home networking.
I also have, what most would probably consider, basic working knowledge of Linux. I can work my way around the terminal and follow instructions on things given they aren’t using assumptions that the reader is a knowledgeable power user of Linux.
From what I’ve read I need to add a reverse DNS via something like nginx and setup my Google domain to point to my external IP. Sounds simple enough but I cannot for the life of me configure nginx properly and I’m not even sure I have my Google domain setup correctly outside of payin for the domain name.
What I’d like to achieve is have my home server files be accessible from anywhere and also have jellyfin/sonarr/radarr accessible from anywhere if possible. I’m currently using Plex but that has a plethora of its own issues so would like to try something new.
Any help would be greatly appreciated, especially if provided in an “OP dumb dumb” format!
I’m currently at work at the time of writing so replies may be slow
Without wanting to sound too gatekeepy, if your struggling with this, it might not be a good idea. Exposing services to the internet is very risky, and if you make a mistake you could end up letting bad actors into your network. Even the best of us fuck it up, so you should be extremely careful.
That said, check if your domain is pointing to your public IP, which is the first step. Getting that right requires DNS, and nothing to do with nginx.
Don’t worry, I understand you’re not being gatekeeper. They are valid concerns and I understand the risks. Just wanting to build on the knowledge I already have and expand I guess.
After looking through some of the replies I’m not sure using a domain is the way to go for my use case anymore. Maybe I just got a bit too vigorous in wanting to learn Linux and having a home server!
You should be using something like Cloudflare Tunnels for this. It will protect your home network from public traffic.
Thanks! Will check this out when I get home!
Thanks to everyone that contributed!
I’ve managed to achieve what I set out to do using nordvpn meshnet!
The only way you should access your home network from the internet is using a VPN server. If you want to expose websites you shoikd be running reverse proxies. Don’t expose rdp or ssh at all.
Not looking to access the whole network, just particular services on the server. However, if I can get NordVPN’s meshnet to work as I think it will work from a comment further up, that will be my answer I reckon
I would suggest you use Tailscale or another VPN.
As soon as your network is exposed to internet you’ll have an army of bots trying to break in, if you are not sure about what you are doing I’ll advise against that.
On the other hand with Tailscale you get an IP address for every device on your network so you can use DNS and reverse proxy with it except it will only be accessible by you and people you share it with.
I’m currently using NordVPN and see they have a meshnet that clgives each device direct Comms (if I’m understanding correctly). Do you know if that’s the same as what you’re suggesting? If so I’ll look further into that
I did not know about NordVPN but it does look very similar.
Tailscale had the advantage of being mostly open-source.
I’ll look at both options and see what’s best for my use case, thank you!