When running ./rsautil manage-readonly-dbusers CLU with the -n option, the expected result is that the user is created, and the subnet is allowed to access. The user is created, but the subnet is not accessible.
rsaadmin@am82p:/opt/rsa/am/utils> ./rsautil manage-readonly-dbusers -X -a create -o ocadmin -u dbreaduser -i 10.114.187.0 -n 255.255.255.0 Enter Operations Console (OC) password: <enter Operations Console admin password> Enter password for the read-only database user: <enter read-only database user password> Confirm password for the read-only database user: <re-enter read-only database user password> Executing action: 'create'. Trusted Root SSL CA certificate was copied in file '/opt/rsa/am/utils/RSAAMTrustedRootSSLCA.crt'. 'create' action complete.
rsaadmin@am82p:/opt/rsa/am/utils> cat /opt/rsa/am/rsapgdata/pg_hba.conf | grep dbreaduser hostssl all dbreaduser 10.114.187.0 255.255.255.0 md5
# rsaadmin@am82p:/opt/rsa/am/utils> sudo su - rsaadmin's password: <enter operating system password> am82p:~ # /usr/sbin/iptables -L -n -v | grep 7050 0 0 ACCEPT tcp – * * 10.114.187.0 0.0.0.0/0 tcp dpt:7050 0 0 DROP tcp – * * 0.0.0.0/0 0.0.0.0/0 tcp dpt:7050
am82p:~ # cat /etc/sysconfig/iptables | grep 7050 -A INPUT -s 10.114.187.0/32 -p tcp -m tcp --dport 7050 -j ACCEPT -A INPUT -p tcp -m tcp --dport 7050 -j DROP
login as: rsaadmin Using keyboard-interactive authentication. Password: <enter operating system password> Last login: Thu Jan 2 15:50:00 2020 from jumphost.vcloud.local RSA Authentication Manager Installation Directory: /opt/rsa/am rsaadmin@am82p:~> cd /opt/rsa/am/utils rsaadmin@am82p:~> sudo su - rsaadmin's password: <enter operating system password>
-A INPUT -s 10.24.0.0/32 -p tcp -m tcp --dport 7050 -j ACCEPT
-A INPUT -s 10.24.0.0/24 -p tcp -m tcp --dport 7050 -j ACCEPT
am82p:~ # service iptables restart Restarting iptables