Learn about Centmin Mod LEMP Stack today
Become a Member

CSF CSF firewall and google cloud firewall

Discussion in 'Other Centmin Mod Installed software' started by ahmed, Apr 9, 2017.

  1. ahmed

    ahmed Member

    201
    15
    18
    Feb 21, 2017
    Ratings:
    +21
    Local Time:
    7:55 AM
  2. eva2000

    eva2000 Administrator Staff Member

    28,988
    6,579
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +9,767
    Local Time:
    3:55 PM
    Nginx 1.13.x
    MariaDB 5.5
    Centmin Mod is tied to CSF Firewall as anything Centmin Mod install maybe auto setup and configured for CSF Firewall compatibility. If you uninstall CSF Firewall and use another firewall, then Centmin Mod won't be able to auto setup and configure stuff like port whitelisting etc. So you would have to manually manage non-CSF Firewall related updates/port whitelisting yourself instead of letting Centmin Mod do some of the leg work for you. So stuff like pure-ftpd passive port whitelisting, git, postfix outbound emails etc would all need to be managed by you for proper operation as opposed to Centmin Mod auto configuring them all via CSF Firewall.
     
    • Informative Informative x 1
  3. ahmed

    ahmed Member

    201
    15
    18
    Feb 21, 2017
    Ratings:
    +21
    Local Time:
    7:55 AM
    the problem in google firewall is I have to do the port editing inside the google firewall
    regardless of what firewall installed on the server.


    the only ports opened is the usual ports for http and https

    I dont use pure FTP at all , I use SFTP

    -what ports do I need to take care of for centminmod to work properly?

    I need also to uninstall Pureftp, since I dont use it
     
  4. eva2000

    eva2000 Administrator Staff Member

    28,988
    6,579
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +9,767
    Local Time:
    3:55 PM
    Nginx 1.13.x
    MariaDB 5.5
  5. ahmed

    ahmed Member

    201
    15
    18
    Feb 21, 2017
    Ratings:
    +21
    Local Time:
    7:55 AM
    as I expected the google firewall blocks the trafice no matter what CSF rules are

    here is the check on this port:

    Code:
    telnet 100.100.100.100 465
    
    Trying 100.100.100.100...
    
    telnet: connect to address 100.100.100.100: Connection refused
    
    telnet: Unable to connect to remote host
    
     
  6. eva2000

    eva2000 Administrator Staff Member

    28,988
    6,579
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +9,767
    Local Time:
    3:55 PM
    Nginx 1.13.x
    MariaDB 5.5
    If you use Google Cloud Firewall, you need to manually white list Centmin Mod used/required ports yourself. Centmin Mod can't configure Google Cloud Firewall, only CSF Firewall.
     
  7. ahmed

    ahmed Member

    201
    15
    18
    Feb 21, 2017
    Ratings:
    +21
    Local Time:
    7:55 AM