Forum Replies Created
-
AuthorPosts
-
Tom
ParticipantHello,
In order to allow us to investigate, can you tell us more about your configuration?Regards
TomTom
ParticipantHello,
check with the Security Group if there is a rule to open port 4000 and SSH port.Perhaps you deleted it by accident.
Are you connecting to NoMachine through the NX protocol or the SSH protocol?
Check Nomachine status with 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.
I understand this is a VM which has been working for a while and was previously accessed via NoMachine?
Regards,
TomTom
ParticipantHi, I have set up two machines on AWS. First Amazon Linux 2 with WireGuard installed, second Amazon Linux 2 with Mate desktop and NoMachine installed. From my home computer with Windows, I am able to connect via WireGuard to VM number two using NoMachine, on a local IP. I suspect the problem is that port 4000 in security groups is not open for second VM.
It must be open at least for the IP VM with WireGuard or for the entire VPC.
It’s not a good idea to open port 4000 for everyone, but you can do it while testing.
Then remember to turn off. Greetings, TomTom
ParticipantHello,
we confirm the problem.
We are working on a solution.Regards
TomTom
ParticipantHello,
on your MacOS, when you connect with a VPN and turn on NoMachine, you won’t see computers with NoMachine installed, as you do on your local network, mDNS doesn’t work over VPN. Computers with NoMachine installed from a network connected via VPN have no way to send information that they are ready to connect. In this case, they will not automatically appear in the NoMachine list as ready for connection.In the attachment, the address you are trying to connect to is blurred, is it really a local address from the network you connect to via VPN?
To connect you will need the local IP address of the computer you want to connect to.
Try to connect via NoMachine to this IP address with the VPN enabled.Regards
Tom
July 7, 2020 at 09:14 in reply to: How to connect to VM without external ip in Google Cloud platform #28432Tom
ParticipantHello,
you must configure Bastion host as an intermediate host between the home computer and the destination host (Linux host).I assume that the Linux desktop you want to connect to has disabled external IP connections. Bastion host and Linux desktop are in the same internal LAN.
In the VPC network in Firewall:
1) Add a rule allowing connections to port 4000 (you can set a different port) e.g. using „Targets tags”. If your Windows host has a fixed IP you can set the connection permission only for that IP.
2) Add a rule that accepts connections from the local network to any port or only to port 4000 e.g. using „Targets tags”In Compute Engine:
Assign this rule 1 to the Bastion host, e.g. using „Targets tags”.
Assign the rule 2 to a Linux host, e.g. with “Target tags”.Log in to the Bastion host and add rules to redirect traffic on port 4000 to Linux host using iptables
Set traffic redirection from port 4000 to Linux host:
sysctl net.ipv4.ip_forward=1
iptables -t nat -A PREROUTING -p tcp –dport 4000 -j DNAT –to-destination x.x.x.x:4000
iptables -t nat -A PREROUTING -p udp –dport 4000 -j DNAT –to-destination x.x.x.x:4000
iptables -t nat -A POSTROUTING -j MASQUERADE
Where x.x.x.x is the local Linux host IP.
Now connecting to Bastion host on port 4000 using NXPlayer the connection will be transferred to your Linux host.
Regards
TomJune 22, 2020 at 15:50 in reply to: Connecting NoMachine Ubuntu 16.04 to NoMachine Windows 10 within VPN #28243Tom
ParticipantHello,
in the attached logs there are no NX Player logs from Linux.
In the link you can get help on how to do it:
https://www.nomachine.com/DT10O00163#2
Server and NX Player logs should be done at the same time.
The server logs indicate that you tried to set the server port to 3389. There were problems running nxd.exe during this attempt.
Have you tried connecting to such a port via NX Player?
The rest of the entries indicate that this port has been changed.
Trying to connect from Linux (client) to Windows (server) you always have to connect to the port that has been set on the server side.
The easiest way is to set the server to the default port 4000 and try to connect to it, after successful connection you can change this port to another one.
In the link you can see how to check the server status and port:
https://www.nomachine.com/managing-nomachine-server-preferencesRegards
TomTom
ParticipantHello
What version of Windows do you have?
Do you have home or professional version?
Can you connect with NoMachine to the computer on the LAN from this Windows?
Is the Windows computer in a different location than the Mint computer?
Regards
TomTom
ParticipantHello,
if you have desktop environment installed you can download NoMachine package from nomachine.com.
If your fedora does not have a desktop environment installed, you must install it first before installing NoMachine.
There are several options for downloading the package without desktop.
Install wget and download the package from the site using these commands.
yum install wget
wget https://download.nomachine.com/download/6.9/Linux/nomachine_6.9.2_1_x86_64.rpmOr download the package from the NoMachine website to your computer, then send to DigitalOcean using the scp command.
scp nomachine_6.9.2_1_x86_64.rpm root@x.x.x.x:~
x.x.x.x is your Fedora IPHow to install NoMachine form console you can find in this article
https://www.nomachine.com/pl/AR01L00775Regards
TomTom
ParticipantHello.
Do you have double WAN connected to router?Is your IP dynamic?
Please check on host, where NoMachine is installed, what IP shows on website https://whatismyipaddress.com or similar.
Compare the IP shown by NoMachine with that of the website.
You can tray tracert or traceroute (system dependent) to check which route your packets are going through. If NoMachine shows the address 32.160.xxx.x and your service shows the address 68.108.xxx.xxx. Packages pass through them in order of address 32.160.xxx.x first and then 68.108.xxx.xxx?
Numbers after the colon are open port on your router for NoMachine connection to this host.
Regards
TomAugust 19, 2019 at 08:29 in reply to: Can’t connect to ssh or NoMachine on Google cloud platform Linux VM #23296Tom
ParticipantHello Santa000,
Thank you for your comment.
You have a connection to the machine but you cannot login?
Do you use VM “External IP” to connect?
What error do you get when you connect?In the link below you can check how to solve the most common problems with the ssh connection
https://cloud.google.com/compute/docs/ssh-in-browser#ssherrorRegards,
TomAugust 14, 2019 at 16:10 in reply to: NoMachine connection P2P but not WAN other than port 4000 #23290Tom
ParticipantHello AD5XJ,
Thank you for your comment.
The information about your gateway settings is a little bit confusing; we are not sure if you have these mentioned two ports (4000 and 4023) redirected on router by your ISP or if you have admin access to the router and you are able to redirect it by yourself.
Technically, every computer in your LAN should have a specific port redirected on your router.
If you want to reach more than one computer from WAN, you must set, on the router, the port forwarding to local IP and port 4000.
For example:
first computer – WAN port 8001 forward to IP 192.168.1.10 and port 4000
second computer – WAN port 8002 forward to IP 192.168.1.11 and port 4000.Regards
TomTom
ParticipantHello,
please connect to your Windows via https protocol.
To do this please add to security group two rules:
Custom UDP for port 4443 for source set your client IP.
Custom TCP for port 4443 for source set your client IP.After this you can connect to Windows via browser on your client using https://machine_ip:4443
Please use the same username and password as you do an for RDP connection.Tom
ParticipantHello,
NoMachine doesn’t change a computer’s IP.
Changing the IP address may be due to the fact that you do not have a static IP address assigned by your ISP. The address may change from time to time or during the restart of your router.
The solution to this problem may be the use of Dynamic DNS eg. https://www.noip.com, https://dyn.com/dns/. Your router may have the ability to configure such service.
Software for informing Dynamic DNS about changing the IP address may also be installed on the computer on which you have installed NoMachine.
Regards
TomTom
ParticipantHello.
Do you use RHEL 7?
If so, then after installing desktop with the command – sudo yum groupinstall -y “Server with GUI”, set the default run level using the command – sudo systemctl set-default graphical.target.Install NoMachine, add new user and restart your Red Hat.
After restart and new connection you should see login screen.
Regards
Tom
-
AuthorPosts