This is done in the nsqcmems.properties file. It is located within: /nastel/apwmq/nsqcmems.
Below is a usage example:
# Regexp value for trusted ips, e.g.:
## .* - allow all
## 127\.0\.0\.1 - allow exactly one 127.0.0.1
## 192\.168\.1.* - allow ip by regexp 19.168.1.*
## 192\.168\.1\.2|192\.168\.1\.3 - allow several ip 192.168.1.2 or 19..168.1.3
trusted.ip=.*