How can I enable LAN connections only?

Forums / NoMachine for Windows / How can I enable LAN connections only?


Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
  • #9463

    I don’t ever want to access my host computer over the internet. All I want is to access it from the same router. The idea of my host being available to anyone online makes me uneasy so I’d like to know if there is a way to disable access over the internet while keeping LAN access.



    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:

    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/
    • Windows 32 bit: C:\Program Files\NoMachine\etc
    • Windows 64 bit: C:\Program Files (x86)\NoMachine\etc



    Awesome. Thank you!

Viewing 3 posts - 1 through 3 (of 3 total)

This topic was marked as solved, you can't post.