Reply To: How can I enable LAN connections only?

NoMachine for Windows / How can I enable LAN connections only? / Reply To: How can I enable LAN connections only?

#9477
graywolfgraywolf
Participant

Hello.

If your LAN is behind a NAT router/firewall, your host can be reached only by hosts on the same LAN, unless you have UPnP mapping enabled.

Read here: https://www.nomachine.com/AR11L00827

section “Disabling UPnP/NAT-PMP port mapping” to be sure.

Actually, all you need is to edit the file server.cfg and set:

EnableUPnP none

or use the GUI to edit the service preference and disable the “Gateway port” (see screenshots).

The file server.cfg is located in one of these folders (depending on you OS):

  • Linux: /usr/NX/etc
  • OS X: /Applications/NoMachine.app/Contents/Frameworks/etc/
  • Windows 32 bit: C:\Program Files\NoMachine\etc
  • Windows 64 bit: C:\Program Files (x86)\NoMachine\etc