Skip to main content

FirewallD, clamav and lmd

Comments

3 comments

  • cPanelLauren
    I have a Centos 7 VPS, do I have to use firewalld ? if yes then what is the purpose of security adviser ? and if I do, do i need to configure it or just enabling it would do the work ?

    The two aren't really related at all, security advisor provides information and suggestions about matters of security that encompass a large range of items which do not include the firewall. When you enable a firewall you need to ensure that the ports necessary for your services are open. cPanel has a script that will do this automatically for you: /scripts/configure_firewall_for_cpanel
    What are you using ports 2223 and 2224 for?
    It already came installed with the VPS, how di I make sure that it's database is up to date ?

    This should be done automatically but you can update the ClamAV database by running freshclam freshclam(1): update virus databases - Linux man page
    how do I configure a cron job to scan all users and send the result to an email

    For ClamAV configuration the documentation here should be useful: Configure ClamAV Scanner - Version 78 Documentation - cPanel Documentation
    LMD Do I need it with the clamav ?

    If you're referencing Linux Malware Detect, it's a useful tool for finding malware and can be used along side ClamAV for additional protection, though it does essentially the same thing ClamAV does.
    And what else can I do to secure the server ?

    The documentation here should be helpful for this question: Tips to Make Your Server More Secure - cPanel Knowledge Base - cPanel Documentation Thanks!
    0
  • brand_land
    When you enable a firewall you need to ensure that the ports necessary for your services are open. cPanel has a script that will do this automatically for you:

    So I don't need any configuration ? and what about SSH access, do i have to enable it if I'm using a firewall ?
    What are you using ports 2223 and 2224 for?

    They are used in order to be able to manage my VPS through Godaddy dashboard, without them I won't have access to WHM unless I use SSH.
    For ClamAV configuration the documentation here should be useful:
    0
  • rolinger
    I have a new Centos 7.7 VPS. I see that firewalld is already installed. I am reading that `firewall-config` is the GUI for firewalld - but for the life of me I can't figure out how to access the gui. I then did a `yum install firewall-config` and it went through the whole install just fine but there is still no embedded link on WHM for me to launch the GUI - and trying to execute from the WHM terminal `firewall-config` returns this error: `(firewall-config:9362): Gtk-WARNING **: 20:12:58.506: cannot open display:` I didn't think a web terminal interface would launch another gui interface - but I had to give it a shot. What am I missing here? How can I get the firewalld gui to run on WHM?
    0

Please sign in to leave a comment.