[Solved] The Unraid server is unreachable from outside your network


Recommended Posts

Hi, I installed this plugin a few days ago, and the remote access worked fine.

 

But recently, I've changed my flash drive and re-installed this plugin, then the server couldn't reach my unraid server

image.png.3db0a48b7e77344355e9a13429615c48.png

 

But I've set up my router's port forwarding correctlly. And the tcping tool can open the outer port 1443 (using cellphone hot spot).

773270304_2021-08-31085230.jpg.ad45fd28c15bdabb3ba1b80976f65866.jpg

 

And I can also use the https protocol and ip with 1443 port to remotely open the management web (using cellphone hot spot).

1786500087_2021-08-31085347.thumb.jpg.bd080af926e4e22ec9354d2ef228d2ec.jpg

 

So can anyone help me with the official remote access?

image.thumb.png.cc6cd8d1b43a5e89ae33e5b66438836f.png

Link to comment

If port forwarding is working, then it is likely a DNS issue.

 

Open a web terminal and type:

php /usr/local/emhttp/plugins/dynamix/include/UpdateDNS.php -v

 

Paste the result in here. You can write "hash.unraid.net" instead of your actual hash if you want, and you don't need to include the externalport. Here is mine:

root@Monster:~# php /usr/local/emhttp/plugins/dynamix/include/UpdateDNS.php -v
Request:
{
    "internalip": "10.0.0.70",
    "internalport": "443",
    "internalprotocol": "https",
    "internalhostname": "hash.unraid.net",
    "plgversion": "2021.08.30.1204",
    "remoteaccess": "yes",
    "servercomment": "Monster server",
    "servername": "Monster",
    "externalport": "[removed]",
    "externalprotocol": "https",
    "externalhostname": "hash.unraid.net"
}
Response (HTTP 200):
[]
success

 

Then, type this (use your actual hash, not "hash"):

  ping www.hash.unraid.net

does it resolve to the IP address that is listed on the My Servers settings page, where it says "Remark: your WAN IPv4 is .... "? 

 

Please upload your diagnostics (from Tools -> Diagnostics) as well

Link to comment
16 minutes ago, ljm42 said:

If port forwarding is working, then it is likely a DNS issue.

 

Open a web terminal and type:

php /usr/local/emhttp/plugins/dynamix/include/UpdateDNS.php -v

 

Paste the result in here. You can write "hash.unraid.net" instead of your actual hash if you want, and you don't need to include the externalport. Here is mine:

root@Monster:~# php /usr/local/emhttp/plugins/dynamix/include/UpdateDNS.php -v
Request:
{
    "internalip": "10.0.0.70",
    "internalport": "443",
    "internalprotocol": "https",
    "internalhostname": "hash.unraid.net",
    "plgversion": "2021.08.30.1204",
    "remoteaccess": "yes",
    "servercomment": "Monster server",
    "servername": "Monster",
    "externalport": "[removed]",
    "externalprotocol": "https",
    "externalhostname": "hash.unraid.net"
}
Response (HTTP 200):
[]
success

 

Then, type this (use your actual hash, not "hash"):

  ping www.hash.unraid.net

does it resolve to the IP address that is listed on the My Servers settings page, where it says "Remark: your WAN IPv4 is .... "? 

 

Please upload your diagnostics (from Tools -> Diagnostics) as well

I wondered if it was because of the flash drive changing which may change the hash value too.

 

So I deleted all the .pem files in config/ssl/, then reboot and re-provisioned the certificate file. After that, this issue solved.

Link to comment
  • ChatNoir changed the title to [Solved] The Unraid server is unreachable from outside your network