Want more timely Centmin Mod News Updates?
Become a Member

Beta Branch update csf install & setup routine to account for non-default SSHD ports in 123.09beta01

Discussion in 'Centmin Mod Github Commits' started by eva2000, Aug 4, 2016.

  1. eva2000

    eva2000 Administrator Staff Member

    54,927
    12,240
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,811
    Local Time:
    4:38 PM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    update csf install & setup routine to account for non-default SSHD ports in 123.09beta01

    CSF Firewall initial install, configuration setup and tweaking routine assumes SSHD default port is 22. However, some web hosts may default to non-standard SSHD ports. So need to auto detect the default SSHD listening port and auto replace the /etc/csf/csf.conf whitelisted port 22 with the non-standard SSHD port value. Also need to do the same for firewalld routine if CSF Firewall isn't installed. This only applies to fresh initial Centmin Mod installs as that is when CSF Firewall is installed and configured to whitelist the default set SSHD port.


    Continue reading...

    123.09beta01 branch