[HOWTO] Install CSF + Use it's GUI in VestaCP
Re: [HOWTO] Install CSF + Use it's GUI in VestaCP
hello, I have a clean installation of ubuntu 16.xx + vestacp + CSF. after installing CSF, it works for me. But iptables does not work. I have tried reinstall iptables, but in vain. I installed a vest cp 19. on vestacp version 17 and 18 I also installed CSF and I had the same problem. any advice how to fix iptables? :(
Re: [HOWTO] Install CSF + Use it's GUI in VestaCP
Repair broken IPTALBES (work for me) "ubuntu"efkosay wrote: ↑Wed Mar 14, 2018 6:46 amhello, I have a clean installation of ubuntu 16.xx + vestacp + CSF. after installing CSF, it works for me. But iptables does not work. I have tried reinstall iptables, but in vain. I installed a vest cp 19. on vestacp version 17 and 18 I also installed CSF and I had the same problem. any advice how to fix iptables? :(
Code: Select all
v-stop-service iptables
v-start-service iptables
/usr/local/vesta/bin/v-start-service iptables
Re: [HOWTO] Install CSF + Use it's GUI in VestaCP
Friends, have anyone tested the new version of the vesta ? "V20"
Re: [HOWTO] Install CSF + Use it's GUI in VestaCP
Hello!
I whant add blocking IP when Failed enter in vestaCP 8083.
What i DO:
open. /etc/csf/regex.custom.pm
add after # "1" = n/temporary (n = number of seconds ...
PUT:
#vestacp
if (($globlogs{CUSTOM1_LOG}{$lgfile}) and ($line =~ /^\S+\s+\S+\s+\S+\s+\S+\s+failed to login/)) {
return ("Failed vestacp control-panel login from",$1,"VESTAloginAttempt","5","8083","60");
}
open /etc/csf/csf.conf
add where you find CUSTOM1_LOG
PUT:
CUSTOM1_LOG = "/var/log/vesta/auth.log"
IN log
2018-04-09 23:09:05 111 77.74.187.242 failed to login
2018-04-09 23:09:07 1 77.74.187.242 failed to login
2018-04-09 23:09:08 1 77.74.187.242 failed to login
2018-04-09 23:09:57 1 77.74.187.242 failed to login
2018-04-09 23:09:58 1 77.74.187.242 failed to login
2018-04-09 23:09:59 1 77.74.187.242 failed to login
2018-04-09 23:10:00 1 77.74.187.242 failed to login
2018-04-09 23:10:01 1 77.74.187.242 failed to login
2018-04-09 23:10:02 1 77.74.187.242 failed to login
2018-04-09 23:10:03 1 77.74.187.242 failed to login
2018-04-09 23:10:04 1 77.74.187.242 failed to login
2018-04-09 23:10:05 1 77.74.187.242 failed to login
2018-04-09 23:10:06 1 77.74.187.242 failed to login
2018-04-09 23:10:08 1 77.74.187.242 failed to login
2018-04-09 23:10:10 1 77.74.187.242 failed to login
but my IP dont block.
please help.
I whant add blocking IP when Failed enter in vestaCP 8083.
What i DO:
open. /etc/csf/regex.custom.pm
add after # "1" = n/temporary (n = number of seconds ...
PUT:
#vestacp
if (($globlogs{CUSTOM1_LOG}{$lgfile}) and ($line =~ /^\S+\s+\S+\s+\S+\s+\S+\s+failed to login/)) {
return ("Failed vestacp control-panel login from",$1,"VESTAloginAttempt","5","8083","60");
}
open /etc/csf/csf.conf
add where you find CUSTOM1_LOG
PUT:
CUSTOM1_LOG = "/var/log/vesta/auth.log"
IN log
2018-04-09 23:09:05 111 77.74.187.242 failed to login
2018-04-09 23:09:07 1 77.74.187.242 failed to login
2018-04-09 23:09:08 1 77.74.187.242 failed to login
2018-04-09 23:09:57 1 77.74.187.242 failed to login
2018-04-09 23:09:58 1 77.74.187.242 failed to login
2018-04-09 23:09:59 1 77.74.187.242 failed to login
2018-04-09 23:10:00 1 77.74.187.242 failed to login
2018-04-09 23:10:01 1 77.74.187.242 failed to login
2018-04-09 23:10:02 1 77.74.187.242 failed to login
2018-04-09 23:10:03 1 77.74.187.242 failed to login
2018-04-09 23:10:04 1 77.74.187.242 failed to login
2018-04-09 23:10:05 1 77.74.187.242 failed to login
2018-04-09 23:10:06 1 77.74.187.242 failed to login
2018-04-09 23:10:08 1 77.74.187.242 failed to login
2018-04-09 23:10:10 1 77.74.187.242 failed to login
but my IP dont block.
please help.
Re: [HOWTO] Install CSF + Use it's GUI in VestaCP
Yes, I did everything also. but the lock does not happen ...