Create named group of ip addresses
This command creates a named group which contains any number of IP addresses. The groupname can then be used to control Janus Web Server or Janus Sockets access based on IP address.
JANUS DEFINEIPGROUP groupname ipaddress(es)
Where each parameter is positional and required:
|groupname||A 1 - 30 character name of the group with which IP addresses are being associated for ALLOW and DISALLOW rules in JANUS WEB, JANUS CLSOCK, or JANUS SRVSOCK commands.|
|ipaddress(es)||A list of IP addresses or subnet masks, in any combination, separated by spaces or commas. Each value can be an IPV4 dotted-decimal address, an IPV6 address (as of version 7.7 of Model 204), or it can be a subnet.
Note: Translation of a name to an IP address is not supported on this command.
The DEFINEIPGROUP command may be abbreviated DEFIPGROUP, DEFIPG, and DEFINEIPG.
The following example builds an IP group called
PRIVILEGED made of all IP addresses in the 184.108.40.206 subdomain (using 16 mask bits), all addresses in the 220.127.116.11 subdomain (using 24 mask bits) and the single IP address 18.104.22.168.
JANUS DEFIPG PRIVILEGED