IP address whitelist/blacklist?

Forum / General Discussions / IP address whitelist/blacklist?

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #43674
    steveatsws
    Participant

    Is there a way to set a whitelist or blacklist of allowed/denied IP addresses (or ranges of ip addresses like 192.168.0.0/24) to connect?

    We’re running this on some servers and I want to prevent unauthorized users from even being able to try to connect inside of NoMachine, if possible.

    #43765
    Britgirl
    Keymaster

    You could use Custom Scripts maybe?

    #
    # Specify absolute path of the custom script to be executed before
    # the user logs in. The script can accept remote IP of the user’s
    # machine as its input.
    #
    # E.g. UserScriptBeforeLogin /tmp/nxscript/script.sh
    #
    UserScriptBeforeLogin “/usr/NX/script.sh”

    So you would implement a script which compares the remote IP to what’s on the ‘white or black list’ and then exit 0 or 1 depending on the result.

    You can find information about custom scripts in the installation and configuration guides of the product you are using, for example: https://kb.nomachine.com/DT07S00246

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

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