Welcome Guest. Please Login or Register  


You are here: Index > Webuzo > General Support > Topic : how i block 2002 and 2004 from CSF



Threaded Mode | Print  

 how i block 2002 and 2004 from CSF (5 Replies, Read 2803 times)
yallaegyfilm
Group: Member
Post Group: Newbie
Posts: 2
Status:
hello, how can i block 2002 and 2004 ports from CSF.
IP: --   

how i block 2002 and 2004 from CSF
Dhanya
Group: Softaculous Team
Post Group: Working Member
Posts: 141
Status:
Hi,

The ports you have mentioned are for accessing Webuzo on non-SSL protocol(i.e http). Can you provide us with reason you want to block those ports?

Let us know.
IP: --   

how i block 2002 and 2004 from CSF
wolke
Group: NOC
Post Group: Working Member
Posts: 239
Status:
The reason is probably BECAUSE it is non-SSL...

Have a look at /etc/csf/csf.conf and look for the section for IPv4. There you can define which ports to allow incoming and outgoing.
IP: --   

how i block 2002 and 2004 from CSF
yallaegyfilm
Group: Member
Post Group: Newbie
Posts: 2
Status:
Thank you very much guys for your feedback ، I've deleted  the incoming and outgoing ports from the IPv4 section but I am still able to access the control panel from the non-ssl ports .
IP: --   

how i block 2002 and 2004 from CSF
wolke
Group: NOC
Post Group: Working Member
Posts: 239
Status:
Make sure csf is not running in testmode.... and that it is really active by issuing

Code
csf -e
See if that issues any Warning messages.
(you should double check that IP4 SSH port (usually 22) is in the list of allowed ports so that you don´t lock yourself out of the host)


Edited by wolke : May 17, 2019, 12:59 pm
IP: --   

how i block 2002 and 2004 from CSF
erile
Group: Member
Post Group: Newbie
Posts: 40
Status:
Quote From : yallaegyfilm May 17, 2019, 12:55 pm
Thank you very much guys for your feedback ، I've deleted  the incoming and outgoing ports from the IPv4 section but I am still able to access the control panel from the non-ssl ports .

Just experienced the same issue some minutes ago: despite ports 2002 and 2004 were removed from TCP_IN, TCP_OUT, TCP6_IN and TCP6_OUT lists in CSF config, I was still able to reach admin and user panels with http:// scheme. Even a "service csf restart" didn't change anything.

I forced to apply this change issuing this command that restart both CSF and LFD in full:
Code
sudo csf -ra


-----------------------
OpenVZ VPS, CentOS 7, Webuzo Premium / Desktop and full-stack dev w/ C, C++, Python, Perl, javascript...
IP: --   

« Previous    Next »

Threaded Mode | Print  



Jump To :


Users viewing this topic
1 guests, 0 users.


All times are GMT. The time now is August 23, 2019, 1:42 pm.

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