Reply To: Redirect rules to nodes do not work

Forum / NoMachine Cloud Server Products / Redirect rules to nodes do not work / Reply To: Redirect rules to nodes do not work

#4342
esarmien
Participant

Hi Haven,

That doesn’t make any sense. I want to be able to forward specific group of users to a set of terminal nodes.

I shouldn’t have to make a group called ‘ksg’, and then for every host that isn’t a ‘ksg’ terminal node, run a command, that would be a bit insane. Check this problem out:

I have the following nodes:

ksg6-1

ksg6-2

rce6-1

rce6-2

 

If I want the group ksg to be able to access ksg6-1 and ksg6-2, but not rce6-1 and rce6-2, I have to say

nxserver –ruleadd –class=node –type=rce6-1.hmdc.harvard.edu:4000 –value=no –group=ksg

nxserver –ruleadd –class=node –type=rce6-2.hmdc.harvard.edu:4000 –value=no –group=ksg

But, what happens if I add more rce nodes, like rce6-3? I have to continue to add these rules, why can’t I do something like this?

nxserver –ruleadd –class=node –type=ksg6-1.hmdc.harvard.edu:4000 –value=only –group=ksg

nxserver –ruleadd –class=node –type=ksg6-2.hmdc.harvard.edu:4000 –value=only –group=ksg

 

Where ‘only’ means that that group is only allowed to access ksg6-1 and ksg6-2

And why don’t NX groups get automatically populated with LDAP groups? That doesn’t make any sense either.

 

Best,

Evan