Welcome Guest. Please Login or Register  


You are here: Index > Webuzo > General Support > Topic : Steps to enable CSF UI



Threaded Mode | Print  

 Steps to enable CSF UI, This post describes how you can enable CSF UI for Firewall and other Configuration if you don't prefer the command line (7 Replies, Read 83825 times)
webuzo_manager
Group: Member
Post Group: Elite Member
Posts: 268
Status:
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
IP: --   

Steps to enable CSF UI
lesmond
Group: Member
Post Group: Working Member
Posts: 105
Status:
nikhil.m Thanks for posting the details for this, but unfortunately I could not get it to work. :(

-----------------------
Buildz Hosting
IP: --   

Steps to enable CSF UI
webuzo_manager
Group: Member
Post Group: Elite Member
Posts: 268
Status:
Hi lesmond,

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

Steps to enable CSF UI
tegralens
Group: Member
Post Group: Newbie
Posts: 12
Status:
Can this still be done with the latest webuzo ?
IP: --   

Steps to enable CSF UI
webuzo_manager
Group: Member
Post Group: Elite Member
Posts: 268
Status:
Hi tegralens,

Yes, Let me know if you face any issues.
IP: --   

Steps to enable CSF UI
ardase
Group: Member
Post Group: Newbie
Posts: 6
Status:
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 ~]#
IP: --   

Steps to enable CSF UI
Dhanya
Group: Member
Post Group: Working Member
Posts: 200
Status:
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.
IP: --   

Steps to enable CSF UI
pref
Group: Member
Post Group: Newbie
Posts: 1
Status:
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
IP: --   

« Previous    Next »

Threaded Mode | Print  



Jump To :


Users viewing this topic
1 guests, 0 users.


All times are GMT. The time now is March 19, 2024, 6:41 am.

  Powered By AEF 1.0.8 © 2007-2008 Electron Inc.Queries: 11  |  Page Created In:0.362