You can automate the Kaspersky Security Center Linux operation using the klakaut utility. The klakaut utility and a Help system for it are located in the Kaspersky Security Center Linux installation folder. If you want to use the klakaut utility, open the 13291 port by using the klscflag utility.
The klscflag utility changes the value of the KLSRV_SP_SERVER_SSL_PORT_GUI_OPEN parameter.
To open port 13291:
$ /opt/kaspersky/ksc64/sbin/klscflag -ssvset -pv klserver -s 87 -n KLSRV_SP_SERVER_SSL_PORT_GUI_OPEN -sv true -svt BOOL_T -ss "|ss_type = \"SS_SETTINGS\";"
$ sudo systemctl restart kladminserver_srv
Port 13291 is open.
To check if port 13291 has been successfully open:
Execute the following command in the command line:
$ /opt/kaspersky/ksc64/sbin/klscflag -ssvget -pv klserver -s 87 -n KLSRV_SP_SERVER_SSL_PORT_GUI_OPEN -svt BOOL_T -ss "|ss_type = \"SS_SETTINGS\";"
This command returns the following result:
+--- (PARAMS_T)
+---KLSRV_SP_SERVER_SSL_PORT_GUI_OPEN = (BOOL_T)true
The true
value means that the port is open. Otherwise, the false
value is displayed.