Reply To: The connection with the server was lost

NoMachine for Windows / The connection with the server was lost / Reply To: The connection with the server was lost

#26752
BritgirlBritgirl
Keymaster

Thanks for the feedback. We will certainly take a look at the documentation on how to improve it.

Let’s handle each of the points you raise separately.

1) UPnP – When the NoMachine (server) computer is behind a NAT router or a firewall, NoMachine tries to use the UPnP or NAT-PMP protocol (depending on what is supported by the router) to retrieve the public or external IP of the host machine where it’s installed and configure the router to allow a NoMachine client to connect from outside of the private network. The UPnP or NAT-PMP port mapping service can work efficiently only when it’s enabled in the server configuration, the router supports UPnP or NAT-PMP, UPnP or NAT-PMP is enabled and the router accepts UPnP or NAT-PMP commands for enabling port forwarding.

Those users who have a double NAT doesn’t mean it’s impossible to connect. It means additional configuration is required, which is not always possible especially if one of the routers is not your own.

We fully understand that this is not an ideal scenario for the less tech-savvy user and for this reason we will be releasing NoMachine Network which will eliminate the need for knowing the IP address of the computer and users won’t need to enable port-forwarding on their routers. You can read more about this here: https://www.nomachine.com/FR07J02731.

2) Key based authentication with NX protocol (article AR02L00785), i.e so if you’re a user that doesn’t want to use a password to connect but prefers to use an SSH key certificate when connecting to the server, then this article is for you. It’s a way to authorize the user from whatever client machine they may be connecting.

3) EnableNXClientAuthentication – By setting that to ‘1’ only the devices which have a valid certificate are allowed. This key allows you to specify which client machines can connect. All other connections will fail. So that article “How to enable SSL client authentication for connections by NX protocol” (AR10M00866) is ideal for environments where many client devices are connecting and administrators want to lockdown access to a per-user or per-host basis. It’s not for your average user and hence that article mentions multi-node, clustering and other advanced functionalities.

4) Protocols and ports. Take a look at the article here: https://www.nomachine.com/AR01L00770 (NXD and the NX and UDP protocols). The rules would be like this:

Rule name: NoMachine
External port: 4000 or any unused port that you prefer
External IP: blank
Protocol: It depends on your router version, but it should TCP/UDP or “Both”
Internal port: 4000 (NoMachine’s default)
Internal IP: local IP of the NoMachine server

Rule name: NoMachine
Local port: 4000
Local IP: your NoMachine server’s local IP
Action: Accept in both way
Protocol: It depends on your router version, but it should TCP/UDP or “Both”
Remote port: 4000 or any unused port that you prefer
Remote IP: blank