Softaculous


Topic : Steps to enable CSF UI


Posted By: webuzo_manager on November 29, 2017, 10:58 am
1)Open the port 6666 on your Server, serach the Web on how to enable ports correponding to your Operating System
    use the following website to check if port 6666 is open or not: Port Checker *

2)Disable the Firewall Service from your Server via SSH using the below command

iptables  => CentOS 6 , Ubuntu 14.04
Code
service iptables stop

firewalld  => CentOS 7 & up, Ubuntu 16.04 & up
Code
service firewalld stop

3)Install CSF from Webuzo enable it(Set TESTING = "0" in the CSF configuration)

4)Install the following perl modules:

For CentOS:
Code
yum install perl-GDGraph perl-IO-Socket-SSL.noarch perl-Net-SSLeay perl-Net-LibIDN \
                perl-IO-Socket-INET6 perl-Socket6

For Ubuntu:
Code
apt install libgd-graph-perl libio-socket-ssl-perl libcrypt-ssleay-perl \
                    libnet-libidn-perl libio-socket-inet6-perl libsocket6-perl

5)Check your Computer IP using Google and add it to the following file:
Code
/etc/csf/ui/ui.allow

6)In the CSF configuration, under "Integrated User Interface Feature" change the following parameters
UI = "0" -> UI = "1"
UI_USER = "username" -> UI_USER = {USERNAME OF YOUR CHOICE}
UI_PASS = "password" -> UI_PASS = {PASSWORD OF YOUR CHOICE}


7)Execute this command if you your OS is Ubuntu 16 and up :
Code
ln -s /bin/systemctl /usr/bin/systemctl

8)Check If the LFD service is running or not

CentOS 6 , Ubuntu 14.04
Code
service lfd restart

CentOS 7 and up , Ubuntu 16.04 and up
Code
systemctl restart lfd

If LFD refuses to start check the logs at:
Code
/var/log/lfd.log

9)Most Mordern Browsers will not allow access to port 6666 due to security reasons, use the following guide for workarouds
For FireFox
For Chrome

10)Now Login using the following URL : https://{IP_ADDRESS_OF_THE_SERVER}:6666
----------------------------------------------------------------------------------------------

* You can use any port for accessing the UI just make sure the same is reflected in UI_PORT parameter in the CSF conf

Note:
Please make sure that you keep the CSF UI port secret otherwise your Server Security may be compromised.

Reply in comments if you face any issues.


Edited by webuzo_manager : November 30, 2017, 9:47 am

Posted By: lesmond on November 30, 2017, 8:53 am | Post: 1
nikhil.m Thanks for posting the details for this, but unfortunately I could not get it to work. :(

-----------------------
Buildz Hosting

Posted By: webuzo_manager on November 30, 2017, 9:46 am | Post: 2
Hi lesmond,

Can you send a screenshot of the Error you are facing I'll help you figure it out.

Posted By: tegralens on August 17, 2018, 2:30 pm | Post: 3
Can this still be done with the latest webuzo ?

Posted By: webuzo_manager on August 20, 2018, 5:42 am | Post: 4
Hi tegralens,

Yes, Let me know if you face any issues.

Posted By: ardase on April 22, 2019, 11:46 am | Post: 5
Hi read this guidoe for install the UI CSF, but is not possible appear errors:

VPS with OS CentOS 7

When type this: systemctl restart lfd
Job for lfd.service failed because the control process exited with error code. See "systemctl status lfd.service" and "journalctl -xe" for details.


the error is:

systemctl status lfd.service
● lfd.service - ConfigServer Firewall & Security - lfd
  Loaded: loaded (/usr/lib/systemd/system/lfd.service; enabled; vendor preset:                                                                                              disabled)
  Active: failed (Result: exit-code) since lun 2019-04-22 13:12:56 CEST; 12min                                                                                              ago

abr 22 13:12:56 vpst systemd[1]: Starting ConfigServer Firewall....
abr 22 13:12:56 vps lfd[6897]: Can't locate Digest/MD5.pm in @....
abr 22 13:12:56 vps systemd[1]: lfd.service: control process e...2
abr 22 13:12:56 vps systemd[1]: Failed to start ConfigServer F....
abr 22 13:12:56 vps systemd[1]: Unit lfd.service entered faile....
abr 22 13:12:56 vps systemd[1]: lfd.service failed.
Hint: Some lines were ellipsized, use -l to show in full.
[root@vps ~]#

Posted By: Dhanya on April 23, 2019, 10:53 am | Post: 6
Hi,

Please install 'perl-Digest-MD5' by executing the following command as root:
yum install perl-Digest-MD5 -y

Once installed, restart lfd service and let us know if you face any issues further.

Posted By: pref on March 16, 2023, 10:52 pm | Post: 7
Quote From : webuzo_manager November 29, 2017, 10:58 am
1)Open the port 6666 on your Server, serach the Web on how to enable ports correponding to your Operating System
    use the following website to check if port 6666 is open or not: ping. eu *


Hi,

I have a very weird results:

ping.eu shows that the port of my choice XXXX is closed.

While I get this via CLI:
wget localhost:XXXX
--2023-03-16 22:35:10--  (try: 3)  http: //localhost:XXXX/
Connecting to localhost (localhost)|127.0.0.1|:XXXX... connected.
HTTP request sent, awaiting response... Read error (Connection reset by peer) in headers.
Retrying.

Also:
nc -vz my-ip XXXX
Connection to my-ip XXXX port [tcp/*] succeeded!

Same with telnet.

This port XXXX listens only via ipv6, not ipv4.

Finally, i cannot access a webpage via browser using http(s) ://my-ip:XXXX
Connnection timed out.

Does anybody have a clue how to solve it?
Any idea would be great.

Cheers,
pref

Powered By AEF 1.0.8 © 2007-2008 Electron Inc.