Can't acces my UnRaid with the same link from inside and outside of home network


Go to solution Solved by ljm42,

Recommended Posts

Hi.

 

I'm running UnRaid 6.9.2 and just set up remote access through my servers. Not painless, but manageable.

I can access my server from home and outside networks. Ports are forwarded.

 

I'm trying to use an android app Arrays to control my server, and it needs a link to my unraid server in order to access it. The only problem is that the links for access from home network and from outside are different, specifically - 
local link format:

https://<symbols_and_numbers>.unraid.net:<https_port>/

remote link format:

https://www.<symbols_and_numbers>.unraid.net:<https_port>/

This www. difference doesn't let me use the app from but inside and outside my home network - every time I switch network, it logs me out.

 

Can it be that you have a CNAME record missing on your dns? But then again, both links work, just each on a specific network... 🤔

 

Can that be helped?

Link to comment
  • Solution

We use two distinct urls because it means you don't need to setup split DNS, where a single url resolves to the WANIP if you are outside of your network and the LANIP if you are on your network. So:

  • hash.unraid.net resolves to the local IP of your server and is meant to be used when you are on the same network as the server.
  • If you have My Servers Remote Access enabled, then www.hash.unraid.net resolves to your WAN IP and is meant to be used when you are outside your network.

If your router has "local loopback" enabled, then you may be able to use the external url from inside your network. But that is a function of your router, not something we can control. It is usually only available on high end routers.

  • Thanks 1
Link to comment
Posted (edited)

After trying to make this work for a couple of days, decided to go another route:

 

own domain name on cloudflare, with all bells and whistles of cloudflare protection ⇾ my IP ⇾ forwarded to reverse proxy ⇾ Unraid GUI + web Guis of a couple of containers

 

Not the simplest setup, but works fine enough.

Edited by semioniy
  • Like 1
Link to comment
On 5/15/2022 at 2:19 AM, semioniy said:

After trying to make this work for a couple of days, decided to go another route:

 

own domain name on cloudflare, with all bells and whistles of cloudflare protection ⇾ my IP ⇾ forwarded to reverse proxy ⇾ Unraid GUI + web Guis of a couple of containers

 

Not the simplest setup, but works fine enough.

That's sounds like I can do this too. I already have a Cloudflare presence and a nginx proxy. How do I have to configure everything to access my Unraid baby from the outside ?

 

Greetings Easy

Link to comment