semioniy Posted May 11, 2022 Share Posted May 11, 2022 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? Quote Link to comment
Solution ljm42 Posted May 11, 2022 Solution Share Posted May 11, 2022 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. 1 Quote Link to comment
semioniy Posted May 11, 2022 Author Share Posted May 11, 2022 Thanx @ljm42. Router still fights back and I haven't succeeded yet, but at least I know where to look. Quote Link to comment
semioniy Posted May 15, 2022 Author Share Posted May 15, 2022 (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 May 15, 2022 by semioniy 1 Quote Link to comment
Easyacid Posted May 17, 2022 Share Posted May 17, 2022 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 Quote Link to comment
ljm42 Posted May 17, 2022 Share Posted May 17, 2022 On 5/14/2022 at 5:19 PM, semioniy said: After trying to make this work for a couple of days, decided to go another route: I'm not clear what the problem was that you were having, but I'm glad you have a solution that works for you. Quote Link to comment
semioniy Posted May 19, 2022 Author Share Posted May 19, 2022 (edited) @Easyacid here's a UML diagram of my setup. Hope it helps. Please note that, even though my setup works and seems relatively safe, I can not guarantee that it's actually safe and not just a bad idea. I'm no security expert, nor a network engineer, and am just playing around in hopes to stumble upon a solution 😁 Edited May 19, 2022 by semioniy Quote Link to comment
semioniy Posted May 26, 2022 Author Share Posted May 26, 2022 Well, happy to be of any help, I suppose Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.