Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!


CSF Firewall
New on LowEndTalk? Please Register and read our Community Rules.

All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.

CSF Firewall

Is possible for CSF Firewall to turn on automatically? BTW I was getting a lot of root and admin accounts problems.

And I am not sure if my CSF was active.

Comments

  • XsltelXsltel Member, Host Rep

    you can set a cronjob that start csf every 59 mins.

    login as root
    crontab -e
    */59 * * * * /etc/init.d/csf start.

    if its already running then that cron won't do anything harm. if its down then that cron will start it

    Mohammed H

  • Apologies if it's a silly question, but you disabled test mode, didn't you?

  • @Nekki said:
    Apologies if it's a silly question, but you disabled test mode, didn't you?

    Yes I did.

  • Sorry, I misread your question, of course test mode wouldnt have anything to do with CSF turning itself on.

    Thanked by 1martip07
  • csf -l (status - shows current rules in place)
    csf -e (Enable csf and lfd if previously disabled)
    csf -r (reload)

    Last resort: service lfd restart ; csf -r

    Thanked by 1martip07
Sign In or Register to comment.