Hi pc-support,
If you need remote desktop access to the Windows and MacOSX machines, for example via SSH, then you can install the packages according to the following articles:
How to install NoMachine from the command line on Mac
How to install NoMachine on Windows in silent or very silent mode
At the end, you can use the following command to retrieve the information about the IPs: nxserver --upnpstatus
For example:
sh-3.2# /etc/NX/nxserver --upnpstatus
Local IP 192.168.1.68
Gateway IP 192.168.1.254
External IP 176.181.10.176
NX port 4000 mapped to: 176.181.10.176:27896