Learn about Centmin Mod LEMP Stack today
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

    28,925
    6,566
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +9,744
    Local Time:
    9:41 AM
    Nginx 1.13.x
    MariaDB 5.5
    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