Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - sgchan

Pages: [1]
1
CentOS-WebPanel GUI / Re: Login Screen time out
« on: March 15, 2024, 05:48:17 PM »
Please ignore... I figured it out. It was the firewall.

2
CentOS-WebPanel GUI / Login Screen time out
« on: March 15, 2024, 02:53:14 PM »
The CWP login screen (and the Client login screen) refuses to load.

If I reboot the server, it loads the CWP login screen but will time out when I log in. From there on, the CWP login doesn't load anymore.

I don't think it's the firewall since the login screen loads after reboot (but cannot log in). I've tried running sh /scripts/restart_cwpsrv and sh /scripts/update_cwp. Both do not work.


Would anyone have any clue how to fix this?

Many thanks in advance.

3
Noted with thanks!

4
Use https://hostname:2031

It's possible the proxy get's broken.

Pardon my ignorance but isn't port 2031 supposed to be closed? Isn't that the idea for using DynDNS?

5
If you truely want to secure your CWP Admin interface, do the following.

Setup DDNS somewhere (No-ip is a good free version)

edit /etc/csf/csf.dyndns   and add your ddns hostname there
edit /etc/csf/csf.conf
find DYNDNS   set it to a value of 600 (10 minutes)  DYNDNS="600";
find DYNDNS_IGNORE = "0"  and change it to 1

On TCP_IN and TCP6_IN, remove port 2086,2087,2030,2031.

then restart csf.  csf -r

You can still login to CWP as long as your match your dyndns, as it allows you through the firewall on all ports.

I've done all of the above EXCEPT remove ports 2086, 2087, 2030, and 2031 (playing it cautious). The system is giving me "Not Found" when I go to HTTPS://<hostname>/login/index.php

Any quick advice?

Pages: [1]