Author Topic: Firewall problem, need help  (Read 976 times)

0 Members and 1 Guest are viewing this topic.

Offline
*
Firewall problem, need help
« on: July 09, 2023, 04:27:06 PM »
hello friends, I can't access when I open the firewall. But when I turn it off, I can login to the server. How do you think I should adjust?

Offline
*
Re: Firewall problem, need help
« Reply #1 on: July 09, 2023, 11:14:35 PM »
check the open ports for what your trying to access, if your trying to access cwp, make sure cwp ports added, by default these ports should be open

80 http
22 ssh
443 https
25 mail
23 dns
2031 cwp admin

# Allow incoming TCP ports
TCP_IN = "20,21,22,25,53,80,110,143,443,465,853,587,993,995,2030,2031,2082,2083,2086,2087,2095,2096"

# Allow outgoing TCP ports
TCP_OUT = "2703,20,21,22,25,53,80,110,113,443,2030,2031,2082,2083,2086,2087,2095,2096,853,587,993,995,2080,2443"

Offline
*
Re: Firewall problem, need help
« Reply #2 on: July 10, 2023, 02:47:13 PM »
check the open ports for what your trying to access, if your trying to access cwp, make sure cwp ports added, by default these ports should be open

80 http
22 ssh
443 https
25 mail
23 dns
2031 cwp admin

# Allow incoming TCP ports
TCP_IN = "20,21,22,25,53,80,110,143,443,465,853,587,993,995,2030,2031,2082,2083,2086,2087,2095,2096"

# Allow outgoing TCP ports
TCP_OUT = "2703,20,21,22,25,53,80,110,113,443,2030,2031,2082,2083,2086,2087,2095,2096,853,587,993,995,2080,2443"

hello, all the ports you mentioned are active. what else can i do?

Offline
****
Re: Firewall problem, need help
« Reply #3 on: July 10, 2023, 10:21:33 PM »
Whitelist your IP address in /etc/csf/csf.allow