Welcome Guest. Please Login or Register  


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



Normal 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 84138 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: --   


Threads
 webuzo_manager   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 84138 times)
    |--  lesmond   nikhil.m Thanks for...   on November 30, 2017, 8:53 am
    |--  webuzo_manager   Hi lesmond, Can...   on November 30, 2017, 9:46 am
    |--  tegralens   Can this still...   on August 17, 2018, 2:30 pm
    |--  webuzo_manager   Hi tegralens, Yes,...   on August 20, 2018, 5:42 am
    |--  ardase   Hi read this...   on April 22, 2019, 11:46 am
    |--  Dhanya   Hi, Please install...   on April 23, 2019, 10:53 am
    |--  pref   1)Open the port...   on March 16, 2023, 10:52 pm

« Previous    Next »

Normal Mode | Print  



Users viewing this topic
1 guests, 0 users.


All times are GMT. The time now is April 29, 2024, 8:31 am.

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