Control Web Panel

Security => CSF Firewall => Topic started by: BigSystems on December 10, 2018, 03:08:28 PM

Title: Login Error change ssh port - I changed the port but not the TCP_IN and TCP_OUT
Post by: BigSystems on December 10, 2018, 03:08:28 PM
I have changed the port of your SSH server to 58888 but I have not changed the firewall rules accordingly. I think I did not do the second part of the tutorial: http://wiki.centos-webpanel.com/how-to-change-ssh-port

How to fix the firewall configuration to allow access through SSH because I currently have access only by VNC and I can not access the CWP panel either?

All domains work with SSL.
VPS Centos 7

The error: https://drive.google.com/file/d/16eTQKvj2TGhlHMaClh06dh4dlGC8FamF/view?usp=sharing
ip6tables results: https://drive.google.com/file/d/16db4q9XXvf2puzYo5Auv6xyHlpBDf82n/view?usp=sharing
Title: Re: Login Error change ssh port - I changed the port but not the TCP_IN and TCP_OUT
Post by: studio4host on December 11, 2018, 08:42:20 AM
you can disable csf or modify csf conf and reload new config

to disable csf
csf -x

edit and restart
nano /etc/csf/csf.conf
csf -r
Title: Re: Login Error change ssh port - I changed the port but not the TCP_IN and TCP_OUT
Post by: BigSystems on December 12, 2018, 04:07:50 AM
you can disable csf or modify csf conf and reload new config

to disable csf
csf -x

edit and restart
nano /etc/csf/csf.conf
csf -r

Thanks I found the temporary solution here. Now the ssl does not work, but I was able to access the panel.
https://forum.centos-webpanel.com/centos-7-problems/cwpsrv-service-failed-emerg/