How can I enable LAN connections only?

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

Tagged: 

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

    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.

    #9477
    graywolf
    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

     

    #9513
    trevorv
    Participant

    Awesome. Thank you!

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

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