Restrict Access to ZENworks Control Center

0 Likes

Under the following directory you will find a file named context.xml:



/opt/novell/zenworks/share/tomcat/tomcat/conf/



Edit the file with your favorite text editor and add the following line between "<context>" and "</context>" tags:



<Valve className="org.apache.catalina.valves.RemoteAddrValve" allow="192.168.0.*"/>


Then only hosts in the 192.168.0.0/24 network would get access to ZCC.



After saving the edited file you need to restart ZENworks before the changes take effect.

Labels:

How To-Best Practice
Comment List
Anonymous
Parents
  • It is an issue I concern while testing ZCM. zcc is accessible from the world,
    and I do not find it is mentioned in the documents.
    Thank you for the tip. I run ZCM on SLES, so I find it is easier to set up a rule
    in iptables firewall. The context.xml file maybe overwritten during update.

    I also notice that 127.0.0.1 is also needed in the allow list, otherwise zman return error 13.
Comment
  • It is an issue I concern while testing ZCM. zcc is accessible from the world,
    and I do not find it is mentioned in the documents.
    Thank you for the tip. I run ZCM on SLES, so I find it is easier to set up a rule
    in iptables firewall. The context.xml file maybe overwritten during update.

    I also notice that 127.0.0.1 is also needed in the allow list, otherwise zman return error 13.
Children
No Data
Related Discussions
Recommended