Forum Replies Created
-
AuthorPosts
-
January 31, 2023 at 13:58 in reply to: Could not connect to the server. Error is 22: Invalid argument #42787TomParticipant
Hi bk1412,
is your proxy Squid, if not what is it?
Does the proxy accept connections on port 8080?
Squid has a default port of 3128.Please configure nxplayer according to https://kb.nomachine.com/AR05S01130
It will allow us to eliminate unnecessary settings that may be the cause of the error.
Can you connect via proxy to ARM64 with the player configured in this way?Regards,
TomTomParticipantHi MixySF,
what desktop environment are you using?
I tried Cinnamon and had no problems with keyboard.Regards,
TomJanuary 18, 2023 at 20:45 in reply to: Can’t connect to Mac host when it’s connected to a VPN #42581TomParticipantHi,
I made a copy of your environment in my lab.
My settings
Public IP aaa.aaa.aaa.aaa
On router I forward port 4000 to internal IP iii.iii.iii.iii (computer 1 IP) and port 4000From computer 1 I connect to the VPN.
With these VPN settings, I only send traffic through it to the network behind the VPN server.
My public address is aaa.aaa.aaa.aaa. I checked it on https://whatismyipaddress.com
From computer 3 I can connect to computer 1 by connecting to port 4000 and ip address aaa.aaa.aaa.aaa.I change the VPN configuration so that all outgoing traffic goes through it.
My public IP address changes to bbb.bbb.bbb.bbb, I checked it on https://whatismyipaddress.com/
I’m trying to connect to computer 3 to the IP address aaa.aaa.aaa.aaa and port 4000, the connection doesn’t work.Therefore, I believe that the VPN configuration matters, and this is not related to a bug in NoMachine.
Regards,
TomJanuary 17, 2023 at 19:24 in reply to: Can’t connect to Mac host when it’s connected to a VPN #42546TomParticipantI’m not sure if this is a Nomachine problem.
If you can, try one more time, but it would require opening an SSH port on your router for a while and redirecting it to this server.
If you do this, try connecting to that host via ssh with VPN turned on and off.
Disable port forwarding for SSH immediately after tests.“No, this system is not set up to be accessible via SSH from the internet, though I can connect to it via SSH from another system on my local network while the VPN is enabled”
This is not a test that can rule anything out, from what I understood both computers are on the local network
They are computer 1 and computer 2 in the last diagram I attached. Is it true?
Just to be sure, you run VPN on computer 3 from the diagram?Regards,
TomTomParticipantHi Alewis,
you can’t connect from a NoMachine server to an Enterprise Client. Enterprise Client for Mac is installed on the computer you want to connect from. NoMachine Free Edition can be installed on the computer you want to connect to (and also on the computer you want to connect from if you want to). Enterprise Client does not include the server component which is in the Free Edition.
More about Enterprise Client is here: https://www.nomachine.com/product&p=NoMachine%20Enterprise%20Client
If you want to be able to “see” your Mac machine from the Windows computer on LAN, you must install NoMachine Free Edition, also, on your Mac. This tutorial will show you the steps 🙂
https://www.nomachine.com/finding-other-nomachine-computers-on-the-same-network
The different subnets issue is related to network configuration. If you can ping from Windows to Mac and vice versa then a NoMachine connection will most likely work.
Regards,
TomTomParticipantHi MixySF,
have you tried setting it up with this tutorial?
https://www.nomachine.com/accessing-your-remote-desktop-on-google-cloud-platform-via-nomachine
Ragards,
TomJanuary 17, 2023 at 15:57 in reply to: Can’t connect to Mac host when it’s connected to a VPN #42531TomParticipantI think everything is clear now.
Connection from client to server works when you don’t have VPN enabled. When you turn on VPN, it stops working.Can you try connect using NoMachine to the server (with VPN enabled) using Public IP not whatever.xxx.net domain?
Can you, with VPN enabled, ping whatever.xxx.net?
Are you connecting to the server via SSH using the domain with the VPN enabled? For example, ssh user@whatever.xxx.net?Regards,
TomJanuary 17, 2023 at 14:25 in reply to: Can’t connect to Mac host when it’s connected to a VPN #42523TomParticipantHi BriBri,
I don’t understand how you want to connect.
If you are trying to connect to a public IP, you are bypassing the VPN.
Is that what you meant?Please view the attached drawing and confirm which case doesn’t work
Case 1) The red arrow (connection via VPN)
Case 2) The green arrow (direct connection)For the clarity of the drawing, I omitted the information that computer 1 and computer 3 are connected to the same VPN server.
Without understanding how you want to connect, I won’t be able to help you.
Regards,
TomAttachments:
January 16, 2023 at 14:48 in reply to: Can’t connect to Mac host when it’s connected to a VPN #42501TomParticipantHi BriBri,
I checked log and I found that you try connect to host ‘whatever.xxx.net’ (I change domain name from logs to xxx).
If it is to be connected from the Internet to your host using a VPN, the address should look like this, for example, 192.168.x.x or 10.x.x.x.
Unless your DNS translates whatever.xxx.net to such an IP address.
Please see the diagram from my previous post and confirm which connection is not working.Regards,
TomTomParticipantHi Bri
Logs from nxplayer are missing.Collecting client side logs manually
– launch the NoMachine UI on the user’s computer from Programs or Menu
– click on Settings -> Player -> Security
– check Don’t delete log files on exit option
– Connect to the server and reproduce the problem.
– Compress the user’s home/.nx directory containing logs.
Try collecting them and sending them againPlease view the attached drawing and confirm that this is the case you want.
The red arrow is the connection that always works.
The yellow arrow is a connection that is not working.
For the clarity of the drawing, I omitted the information that computer 1 and computer 3 are connected to the same VPN server.Ragards,
TomAttachments:
TomParticipantHi,
can you connect to Nano using ssh every time?
Does connecting to a router change the Nano’s local IP address?
When you have a problem connecting to Nano, check the console command
sudo /usr/NX/bin/nxserver --status
on it.
See if nxd works.“I must first restart the NoMachine server” – do you mean you did
/usr/NX/bin/nxserver --restart
?Regards,
TomDecember 29, 2022 at 20:16 in reply to: Can’t connect to Mac host when it’s connected to a VPN #42210TomParticipantHi BriBri,
It could be a problem not related to NoMachine, but we can check to make sure.
Paste your OpenVPN configuration file, change all non-local IP addresses to some characters, e.g. xxx.xxx.xxx.xx
Prepare and upload logs from server and client according to the instructions at https://kb.nomachine.com/DT07S00244Paste the results of the ifconfig command run in the macOS terminal before and after starting the VPN client.
Paste the results of the netstat -nr command run in the macOS terminal before and after starting the VPN client.
Regards,
TomDecember 21, 2022 at 16:17 in reply to: Can’t connect to Mac host when it’s connected to a VPN #42083TomParticipantHi BriBri,
I need a few more tips 🙂
First, you mentioned that when you have a VPN client enabled on the Mac (let’s call it NoMachine Server), the other computers (let’s call them NoMachine Clients) on the local network can’t connect to it. Note that you can actually connect to NoMachine Server using e.g. ssh from NoMachine Clients, regardless of whether the VPN client is enabled or not.
Can you tell me if Viscosity is used to connect via the OpenVPN server, and if your network has the same address as the network you connect to using the VPN?
Please also clarify if, when you don’t have a VPN client enabled on the NoMachine Server, you can connect to it using NoMachine from NoMachine Clients?
Regards,
Tom
December 19, 2022 at 15:18 in reply to: Can’t connect to Mac host when it’s connected to a VPN #42035TomParticipantHi,
you need to clarify a few things.
Do you have a VPN server configured in your local network and it allows access to the local network by VPN clients? When connected to you local network via VPN can you ping your local machines IP?
If you want to connect to your Mac from the internet, and you already have a VPN set up, you don’t need to open any ports. You just connect to its local address and port 4000 unless you changed it. What info are you using in the Player when connecting over VPN from the Internet?
Regards,
TomTomParticipantHi Jason-swiftnav
What macOS do you have?
What NoMchine product and version are you using?
I just checked on my hardware, the connection between Windows 10 Home 21H2 and MacOS Ventura 13.0 on Mac mini M1 works without a problem.
Regards,
Tom -
AuthorPosts