Help with remote access


Go to solution Solved by ljm42,

Recommended Posts

Im attempting to access my server via the myservers plugin. I have changed the settings to use port 5443 and have opened that port on my router like I would open any other port. I used a online portchecker to see if the port was open and it shows it works just fine, but when I go to use the tool inside the myservers setting paged, it showed that the port is unreachable? What do I need to look at or check? 

Link to comment

What version of Unraid is this? Some of the earlier 6.10.0 rc's had issues with ipv6. Please update to either 6.9.2 or 6.10.0-rc5. 

 

What version of the My Servers plugin is this? Please update to 2022.04.26.1740

 

Please follow the instructions here for setting up remote access:
  https://wiki.unraid.net/My_Servers#Configuring_Remote_Access_.28optional.29 

 

If you run into issues when you press the Check button, what is the error message? Also, please upload your diagnostics.

Link to comment

Thanks. So this *should* mean there is an issue with the port forward, but let's check a few other things before assuming that since this is still an rc.

 

Please open a web terminal and run this:

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

then copy/paste the output here (it is anonymized)

 

Also please upload your diagnostics zip file (from Tools -> Diagnostics)

Link to comment
Quote

Unraid OS 6.10.0-rc5 with My Servers plugin version 2022.04.26.1740
 Signed in to Unraid.net as xxbryantd
Use SSL is auto
 Rebind protection is disabled for myunraid.net

Local Access url: https://192-168-1-75.hash.myunraid.net:5443
 192-168-1-75.hash.myunraid.net resolves to 192.168.1.75
Remote Access url: https://[redacted].hash.myunraid.net:[redacted]
 [redacted].hash.myunraid.net resolves to [redacted]
IP address changes were detected, nginx was reloaded

Request:
{
    "keyfile": "[redacted]",
    "plgversion": "2022.04.26.1740",
    "internalhostname": "*.hash.myunraid.net",
    "internalport": "5443",
    "internalprotocol": "https",
    "remoteaccess": "yes",
    "servercomment": "",
    "servername": "Tower",
    "internalip": "192.168.1.75",
    "externalhostname": "*.hash.myunraid.net",
    "externalport": "[redacted]",
    "externalprotocol": "https"
}
Response (HTTP 200):
[]
success

 

Link to comment

I do not see any obvious problems with the server config, and from the output above we can see that DDNS is working so that is not the issue.

 

If you are willing to DM me your Remote Access url I'll try hitting it and that will give me some idea of what is going on. The easiest way to get that url is to open a web terminal and run:

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

(note: two v's at the end)

Link to comment

OK it sounds like there is a problem with the nginx config. In rc4 this would happen if you had ipv6 enabled, but that issue should be resolved in rc5.

 

If you wouldn't mind, please DM me this file off your server:
  /etc/nginx/conf.d/servers.conf
The easiest way is probably to open a web terminal and type:
  cat /etc/nginx/conf.d/servers.conf
Then copy/paste the results into a DM

Link to comment
1 hour ago, ljm42 said:

OK it sounds like there is a problem with the nginx config. In rc4 this would happen if you had ipv6 enabled, but that issue should be resolved in rc5.

 

If you wouldn't mind, please DM me this file off your server:
  /etc/nginx/conf.d/servers.conf
The easiest way is probably to open a web terminal and type:
  cat /etc/nginx/conf.d/servers.conf
Then copy/paste the results into a DM

Sending it now

Link to comment
16 hours ago, ljm42 said:

If anyone else is having the same issue, it is related to IPv6. If you are able to disable IPv6 then you can get up and running right away, otherwise it will be fixed in the next rc.

How do I temporarily disable IPv6 to test and make sure this is my issue?

Link to comment