Search found 12 matches

by ale-ab
19 Jan 2024, 06:35
Forum: General Discussion (csf)
Topic: redirect to 127.0.0.1
Replies: 0
Views: 2794

redirect to 127.0.0.1

Hello, i have a service to run only to 127.0.0.1 (for example 127.0.0.1:25000) and i want to reach from public ip. i can't expose service on public ip directly. so my goal is redirect port 25000 to 127.0.0.1:25000 and apply ruleset from csf. i try to nano /etc/csf/csf.redirect w.x.y.z|25000|127.0.0....
by ale-ab
25 May 2023, 07:03
Forum: General Discussion (csf)
Topic: docker with disable iptables and csf firewall
Replies: 1
Views: 6650

docker with disable iptables and csf firewall

Hello, i try to use csf firewall with docker i read some tutorial, and i create a working solutions but i have a small problem... m S.O. is almalinux 9 of course i try to enable DOCKER = 1 in csf.conf but doesn't work. so i use this setings and work nano /etc/docker/daemon.json { "iptables"...
by ale-ab
15 Sep 2021, 10:01
Forum: General Discussion (csf)
Topic: csf ssh log path almalinux 8.4
Replies: 1
Views: 2667

Re: csf ssh log path almalinux 8.4

sorry,
i forget to install rsyslog ...

i installed with
dnf install rsyslog

reboot

and now works fine

thank you
by ale-ab
15 Sep 2021, 09:38
Forum: General Discussion (csf)
Topic: csf ssh log path almalinux 8.4
Replies: 1
Views: 2667

csf ssh log path almalinux 8.4

Hello, i have a new vps with almalinux 8.4 and install csf firewall. works fine but not block attack on ssh. i check and found on almalinux there isn't a file /var/log/secure (like centos 7). searching i found that centos 8 / almalinux 8 use journalctl so if i run in ssh journalctl _COMM=sshd i foun...
by ale-ab
12 May 2021, 10:21
Forum: General Discussion (csf)
Topic: csf can block dhcp ?
Replies: 1
Views: 1808

Re: csf can block dhcp ?

strange is on other server , same configuration DHCP works fine...

can anyone have this issue?

thank you
by ale-ab
11 May 2021, 17:07
Forum: General Discussion (csf)
Topic: csf can block dhcp ?
Replies: 1
Views: 1808

csf can block dhcp ?

hello, i have a server in cloud and i want access only from my ip so i add in csf.allow my ip and in csf.conf i set TCP_IN = "" UDP_IN = "" same for ipv6 but when i reboot server, is offline... i can't access in ssh but if i access with console (on provider panel) and try to ping...
by ale-ab
24 Jan 2020, 11:04
Forum: General Discussion (csf)
Topic: CC_ALLOW_FILTER
Replies: 0
Views: 3351

CC_ALLOW_FILTER

Hello, i have similar issue. i have two server and my configuration is TCP_IN = "" UDP_IN = "" FASTSTART = "0" LF_IPSET = "1" CC_DENY = "" CC_ALLOW = "" CC_ALLOW_FILTER = "IT" CC_ALLOW_PORTS = "IT" CC_ALLOW_PORTS_TCP = &...
by ale-ab
23 Apr 2019, 14:27
Forum: General Discussion (csf)
Topic: CC_ALLOW_FILTER and ipset not working
Replies: 1
Views: 2372

Re: CC_ALLOW_FILTER and ipset not working

i found the problem...

i edit configuration in this way

TCP_IN = empty
CC_ALLOW_FILTER = IT
CC_ALLOW_PORTS = IT
CC_ALLOW_PORTS_TCP = 80,443,2077,2078,2079,2080,2082,2083,2086,2087,2095,2096

LF_IPSET = On

FASTSTART = Off

now work correctly,

thank you
by ale-ab
22 Apr 2019, 14:47
Forum: General Discussion (csf)
Topic: CC_ALLOW_FILTER and ipset not working
Replies: 1
Views: 2372

CC_ALLOW_FILTER and ipset not working

Hello, i have a vps (kmv) and i would block all incoming connections outside Italy. this server is Centos 7 + cpanel so i disable cphulk and install CSF. then install yum -y install ipset my CSF conf is: ... CC_ALLOW_FILTER = IT ... LF_IPSET = On ... FASTSTART = Off ... restart CSF , i tried reboot ...
by ale-ab
09 Aug 2018, 08:00
Forum: General Discussion (csf)
Topic: csf on webmin and default css
Replies: 2
Views: 2599

Re: csf on webmin and default css

Thank you
is exatcly that i nedd

Thank you again