How to comment out/block ports in CMS server firewall?
- Connect CMS server terminal with putty
- Go to firehol configuration using the command:
cd /etc/firehol/firehol.conf.d/
- Edit configuration using the command:
sudo vim barco.cms.ports.conf
- The above steps may ask for a password, please supply as needed
- Find out the below lines in the opened file
- server custom unpriv tcp/4563 default accept
- server custom unpriv tcp/12345 default accept
- Add a # at the start of these lines like below:
- # server custom unpriv tcp/4563 default accept
- # server custom unpriv tcp/12345 default accept
- Save the file:
- Press key: ESC
- Type in command: :wq!
- Press ENTER key
- Reboot the server using the command:
sudo reboot
- Press ENTER key
If above all steps are executed successfully, you have blocked said ports in the firewall of the CMS server.
In case of any queries/issues, please contact Barco Support!