For the UI you can use the fw_config utility
usage: fw_config --remove | --list | --configure=port_set[,port_set]... | --remap_port
-h, --help print this help
-l, --list list currently configured port sets
-r, --remove remove application-specific exceptions from firewall configuration
-c. --configure=port_set[,port_set]... configure exceptions for port sets
allowed port sets are sc, rda, nfs, cifs, rda-ndmp, iscsi, ndmp, oca, and object
-m. --remap_port remap service to new port (supported services are ui and sc)
In this case it would be:
/opt/qorestor/bin/fw_config -m ui 12345
Then:
systemctl restart ocards
As for SSH if the customer wants to change the port, QoreStor does not really manage the SSH configuration. If you wants to remap the SSH port from 22, they would need to edit the /etc/ssh/sshd_config file, change (or add) the entry for the port to read:
Port 12527
Also, if selinux is enabled, they will also need to run the semanage command to update selinux:
semanage port -a -t ssh_port_t -p tcp 12527
And the partner will need to make the necessary firewall configuration settings (to close port 22, and open 12527) themselves.
© 2024 Quest Software Inc. ALL RIGHTS RESERVED. Feedback Terms of Use Privacy Cookie Preference Center