CSF blocking port 80 on Almalinux 8

Post Reply
SilverNodashi
Junior Member
Posts: 1
Joined: 19 Apr 2017, 07:25

CSF blocking port 80 on Almalinux 8

Post by SilverNodashi »

OS: AlmaLinux 8.6 / CloudLinux 8.6

Kernel: Linux cp10 4.18.0-372.19.1.lve.el8.x86_64 #1 SMP Tue Aug 9 15:56:43 EDT 2022 x86_64 x86_64 x86_64 GNU/Linux

Linux Virtual Machine running on Proxmox with KVM

System is to date

As soon as I enable CSF, I cannot connect to any website on port 80 or 443

Looking at the firewall logs, it seems port 80 gets redirected to 19080 and port 443 gets redirected to 19443. Why is this?


Note: LF_SPI is already disabled

Image

Code: Select all

[root@cp10 csf]# grep "TCP_IN =" /etc/csf/csf.conf
TCP_IN = "20,21,22,25,53,80,110,143,443,465,587,993,995,2077,2078,2079,2080,2082,2083,2086,2087,2095,2096,8443"
[root@cp10 csf]# grep "TCP_OUT =" /etc/csf/csf.conf
TCP_OUT = "20,21,22,25,37,43,53,80,110,113,443,587,873,993,995,2086,2087,2089,2703"
[root@cp10 csf]#
CY8ORG
Junior Member
Posts: 2
Joined: 06 Jun 2023, 12:49

Re: CSF blocking port 80 on Almalinux 8

Post by CY8ORG »

I'm having this exact problem, did you manage to fix this?
I've been running an Ubuntu Server with WHM in Proxmox for months, and as soon as I take CSF out of testing it causes all sites to go offline.
CY8ORG
Junior Member
Posts: 2
Joined: 06 Jun 2023, 12:49

Re: CSF blocking port 80 on Almalinux 8

Post by CY8ORG »

I've solved it!

I looked into the 19080 and 19443 ports. Turns out they for pxshield. I did a systemctl stop pxshield and that fixed the issue.

This is because I was using the Pyxsoft WAF.
Post Reply