Control Web Panel

Security => CSF Firewall => Topic started by: juanyves on June 01, 2021, 02:00:04 PM

Title: CWP add temporary allow ip on login control panel
Post by: juanyves on June 01, 2021, 02:00:04 PM
I have 2 servers with the same configuration.
One add my ip when I login to the admin panel and the other not.
I don't remember having configured this out.
Where does this get configured
Thanks
Title: Re: CWP add temporary allow ip on login control panel
Post by: josephgodwinke on June 02, 2021, 03:15:34 PM
Go to CWP Settings and choose Edit Settings and add a shared ip address (ipv4)

Then you can set DNS zones for all domains connected to that server if need be.
Title: Re: CWP add temporary allow ip on login control panel
Post by: juanyves on June 03, 2021, 09:45:44 PM
Sorry but what I mean is that when I login the admin panel cwp add an temporary entry in csf to allow for 24 hours my own client IP.
This is done on one server and not on the other with the same configuration. I would like to have it on both but I don't know how to do it.
Thanks
Title: Re: CWP add temporary allow ip on login control panel
Post by: josephgodwinke on June 08, 2021, 02:26:12 PM
You can whitelist IP in CSF (
Code: [Select]
module=csf) module or edit the
Code: [Select]
csf.allow file.

You can edit csf.allow file with ssh:

Code: [Select]
whereis csf.allow
You will get about three directories this file may exist - pick /etc/csf

Code: [Select]
vi /etc/csf/csf.allow
Add an ipv4 address not domain names