CWP add temporary allow ip on login control panel

Started by juanyves, June 01, 2021, 02:00:04 PM

Previous topic - Next topic

juanyves

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

josephgodwinke

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.
Applications Developer | RHEL Linux Server Administrator

Reach out to me in pm to solve any application deployment such as NodeJS, Java, PHP etc


Managed 40gb Shared CWP PRO Hosting for $20 p/a offer
Managed 60gb Shared CWP PRO Hosting for $40 p/a offer
Managed 100gb Shared CWP PRO Hosting for $60 p/a offer
Managed 200gb Shared CWP PRO Hosting for $120 p/a offer


CentOS 8 died a premature death at the end of 2021 - migrate to RockyLinux Os.

juanyves

#2
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

josephgodwinke

You can whitelist IP in CSF (module=csf) module or edit the csf.allow file.

You can edit csf.allow file with ssh:

whereis csf.allow

You will get about three directories this file may exist - pick /etc/csf

vi /etc/csf/csf.allow

Add an ipv4 address not domain names
Applications Developer | RHEL Linux Server Administrator

Reach out to me in pm to solve any application deployment such as NodeJS, Java, PHP etc


Managed 40gb Shared CWP PRO Hosting for $20 p/a offer
Managed 60gb Shared CWP PRO Hosting for $40 p/a offer
Managed 100gb Shared CWP PRO Hosting for $60 p/a offer
Managed 200gb Shared CWP PRO Hosting for $120 p/a offer


CentOS 8 died a premature death at the end of 2021 - migrate to RockyLinux Os.