Tom

Forum Replies Created

Viewing 15 posts - 1 through 15 (of 95 total)
  • Author
    Posts
  • Tom
    Participant

    Hi Diver7100.

    Let’s start at the beginning and establish what you want to achieve.
    From what I understand, you want a computer that is outside your network to be able to access the computer or computers inside your network. Am I right?

    One solution is to open a port on the router and redirect traffic coming on that port to one of the computers on your LAN (port-forwarding or port-mapping). This article explains how to enable port-forwarding, I’m not sure if your search took you to that or not.

    https://kb.nomachine.com/AR04S01122

    Remember that in doing that your opening up access to your computer to anyone outside, including malicious users, so you must put the appropriate protection in place. To minimise this risk, you should only allow connections to this port from one or more known IP addresses by adding a rule to your firewall. You can also use a VPN server such as OpenVPN or any other. This gives greater security.

    Regards,
    Tom

    in reply to: Your client does not have permission #47119
    Tom
    Participant

    Hi paulf,
    try the newer version of the NoMachine package, you can find it at http://www.nomachine.com/download.

    Describe in more detail what the problem is.
Your client doesn’t have permission “to do what”?
    The problem is on VM on Hretzen?
    Were there any problems with the installation of NoMachine?

    Perhaps you need to run a virtual session there.
    If so, here are hints on how to do it.
    https://kb.nomachine.com/AR04K00667

    Regards,
    Tom

    in reply to: After restart can no longer connect #46664
    Tom
    Participant

    Hi Eiger3970,
    I’m not sure, but it looks like broken deb package.
    Before download and install new package please check if you have NoMachine installed : sudo dpkg -l |grep nomachine
    If not, go to the next step

    Please, download deb package from NoMachine website – https://downloads.nomachine.com/pl/download/?id=5
    After this check if md5 is the same as on website:  command md5sum nomachine_8.10.1_1_amd64.deb
    If it is the same try install : sudo dpkg -i

    Regards,
    Tom

    in reply to: After restart can no longer connect #46639
    Tom
    Participant

    Hi Eiger3970,
    during an unsuccessful installation, the /usr/NX/var/log directory was created and the nxinstall.log file was created there?
    If so, please attach it in your next forum post.

    Regards,
    Tom

    in reply to: After restart can no longer connect #46602
    Tom
    Participant

    Hi Eiger3970,
    try installing from the deb package and dpkg command, as I wrote previously about the installation.
    Before installation, delete the entire NX folder from /usr.

    Regards,
    Tom

    in reply to: After restart can no longer connect #46573
    Tom
    Participant

    Hi Eiger3970,
    as I wrote, you need to install NoMachine first.

    Download the deb package for Ubuntu from our website and install this package.
    In console use the command: sudo dpkg -i nomachine_8.10.1_1_amd64.deb.

    After installation, check with --status whether NoMachine is working.

    Regards,
    Tom

    in reply to: After restart can no longer connect #46536
    Tom
    Participant

    Hi Eiger3970,
    I don’t know if you changed anything in your configuration.
    You should have a bin directory in /usr/NX/. If you don’t know how to fix it because moving this directory was not intentional, try install NoMachine again and check with --status if it works.

    I suggest downloading the deb package for Ubuntu from our website and installing this package.
    You can do this with the command sudo dpkg -i nomachine_8.10.1_1_amd64.deb.

    Regards,
    Tom

    in reply to: After restart can no longer connect #46509
    Tom
    Participant

    Hi Eiger3970,

    Let’s break your problem down into smaller pieces to try to solve it.

    1) You need to check if you can connect to Ubuntu using NoMachine from some device on the local network.

    By executing the command sudo netstat -ntlp you should see something similar to this:
    tcp        0      0 127.0.0.1:21895         0.0.0.0:*               LISTEN      650/nxserver.bin
    tcp        0      0 127.0.0.1:21894         0.0.0.0:*               LISTEN      650/nxserver.bin
    tcp        0      0 127.0.0.1:35491         0.0.0.0:*               LISTEN      942527/node
    tcp        0      0 127.0.0.1:7001          0.0.0.0:*               LISTEN      2606/nxnode.bin
    tcp        0      0 127.0.0.1:12001         0.0.0.0:*               LISTEN      2606/nxnode.bin
    tcp        0      0 0.0.0.0:4000            0.0.0.0:*               LISTEN      1160/nxd

    Since you can’t see it, please run the command:
 sudo /usr/NX/bin/nxserver --status
    Paste the results of the nxserver --status command



 here

    You can move to the next point and work on it, after solving this first problem.

    2) Tailscale must be configured to enable peer-to-peer connection
    I understand you want to use Tailscale to connect to Ubuntu when you are away from the office/home?
    In my opinion, if you don’t have Tailscale installed on your router, it should be installed on Ubuntu.
    If you want to bypass port forwarding on your router, you must have Tailscale installed on both devices (it can also be another VPN that creates peer to peer networks).
    Tailscale will create a VPN between them. The way it works is that your Ubuntu will connect to the Tailscale server, the traffic is outgoing so it won’t be blocked by firewall etc. There are exceptions to this, check if you need to change something in your router settings: https://tailscale.com/kb/1181/firewalls?q=firewall

    Your mobile will also connect to this Tailscale server. Both devices will be in the same virtual network, even if you are away from the office/home. In the Tailscale app, you should see all devices connected to your Tailscale account, including Ubuntu and his virtual IP. The Ubuntu IP address will be different from your home/work network, e.g. 10.1.167.111 and you must connect to your iPhone to this address.

    Regards,
    Tom

    in reply to: After restart can no longer connect #46487
    Tom
    Participant

    Hi Eiger3970,
    I don’t fully understand what you want to achieve with the netcat test.
    Why do you expect port 5900 to be open?
    If you have not changed the settings in server.cfg, you should have port 4000 open on Ubuntu and connect to the iPhone there

    To check what ports are open on Ubuntu, use the command: sudo netstat -ntlp

    The Tailscale connection should look like this:
    1. Tailscale installed and running on Ubuntu
    2. Tailscale is installed and running on your iPhone
    3. On the iPhone, in the Tailscale application, check what IP address Ubuntu received
    4. In the NoMachine iPhone app enter the IP address displayed by Tailscale for Ubuntu.

    Tailscale should replace port forwarding on your router and bypass firewalls.

    If the NoMachine connection doesn’t work, check if you can ssh from your iPhone to Ubuntu using Tailscale, and you can also try to see if ping works.

    Regards,
    Tom

    in reply to: After restart can no longer connect #46439
    Tom
    Participant

    Hi Eiger3970,
    if you have Tailscale installed on an Ubuntu server and on iPhone and both are connected to the same Tailscale account, you should connect to the IP address shown in the Tailscale application for this Ubuntu server on iPhone  e.g. 10.85.115.4.

    Regards,
    Tom

    in reply to: External IP not being shown #46372
    Tom
    Participant

    Hi Nm.smayer97,
    sorry, I missed that you wrote about Windows.
    You should do all activities on a Lenovo Ideapd 100 laptop.
    On Windows, the server.cfg file is in C:\Program Files\NoMachine.etc\

    Check there whether you have set the key eg. EnableUPnP NXTCP
    If you change this, the NoNachine server will require a restart.
    You can do this by restarting the system or running the command line (cmd) as an administrator and entering the command:
    "C:\Program Files\NoMachine\bin\nxserver.exe" --restart

    To check if you have UPnP enabled, you can enter the command on the same command line:
    "C:\Program Files\NoMachine\bin\nxserver.exe" --upnpstatus

    Regards,
    Tom

    in reply to: External IP not being shown #46346
    Tom
    Participant

    Hi Nm.smayer97,
    have you configured both laptops the same way?

    I mean the UPNP key in the server.cfg file (/usr/NX/etc/server.cfg), e.g. EnableUPnP NXTCP and restarting the NXServer 
by command in terminal:
    sudo  /usr/NX/bin/nxserver --restart

    Please try this and then check the UPnP status with the command in terminal:
    sudo /usr/NX/bin/nxserver --upnpstatus

    Regards,
    Tom

    in reply to: After restart can no longer connect #46339
    Tom
    Participant

    Hi Eiger3970,
    This seems to be an issue on the Ubuntu server side. I can tell by the IP address that you are connecting to a local network.
    Is it true? Does the Ubuntu server still have the address 192.168.1.120? Can you ping Ubuntu from your local network?

    Please check if NoMachine works on Ubuntu, in console enter command: 
/usr/NX/bin/nxserver --status

    You should see

    NX> 111 New connections to NoMachine server are enabled.
    NX> 161 Enabled service: nxserver.
    NX> 161 Enabled service: nxnode.
    NX> 161 Enabled service: nxd.

    If any service is not working try command:
    sudo  /usr/NX/bin/nxserver –restart

    It will restart NoMachine

.
    Check if all services are working

    Regards,
    Tom

    in reply to: Access to NoMachine server from outside local network #46254
    Tom
    Participant

    Hi Oliv30,
    it seems your router is behind double NAT.  To connect from outside the local network, you need a public IP address. What operating system are you using?

    If it’s Windows, search for and run cmd (command line)
. In it, enter the command tracert 8.8.4.4
    The command shows which routers your packets go through.

    The results should look similar to this
:
    1     2 ms     1 ms    <1 ms  routername.x.com [192.168.1]
    2    62 ms     2 ms     1 ms  some name   [second IP address]
    …
…
    9   *   6 ms  6 ms    dns.google [8.8.4.4]

    On Linux in the console you can use a similar command traceroute 8.8.4.4
    You may need to install traceroute
 command..
    The results will look similar to Windows

.
    If the second IP in the results is an address for private networks, e.g.
    A 10. 0.0.0 – 10.255.255.255
    B 172. 16.0.0 – 172. 31.255.255
    C 192.168.0.0 – 192.168.255.255

    This will mean that your router is behind double NAT.

    Regards,
    Tom

    P.s the upcoming NoMachine Network feature of version 9 will solve all these networking problems. There will be no need to know your computer’s IP address, or other network details. Publish your computer on NoMachine Network, log in to NoMachine Network with your NoMachine account and connect. See this page for more info: https://www.nomachine.com/network

    in reply to: Cannot connect to a new Arch OS with new NoMachine install #46162
    Tom
    Participant

    Hi xy,
    please check if NoMachine works, in console enter command: 
 /usr/NX/bin/nxserver --status

    You should see

    NX> 111 New connections to NoMachine server are enabled.
    NX> 161 Enabled service: nxserver.
    NX> 161 Enabled service: nxnode.
    NX> 161 Enabled service: nxd.

    If any service is not working try command:

    sudo  /usr/NX/bin/nxserver --restart

    It will restart NoMachine

.
    Check if all services are working
    Then check for open ports.

    Regards,
    Tom

Viewing 15 posts - 1 through 15 (of 95 total)