Login
Register
Home
Wiki Knowledge Base
FreeDNS
Facebook
Linux Support
Control Web Panel
MENU
Home
Help
Search
Login
Register
Control Web Panel
»
Security
»
CSF Firewall
»
unlock ip
« previous
next »
Print
Pages: [
1
]
Author
Topic: unlock ip (Read 1336 times)
0 Members and 1 Guest are viewing this topic.
setecabanas
Newbie
Posts: 44
unlock ip
«
on:
August 24, 2023, 11:10:29 AM »
Is there any option to unlock ips from other server via api?
Like in cPanel from
https://server:2087/cgi/configserver/csf.cgi?action=kill&ip=XXX.XXX
.
Or any option to be able unlock one ip from whmcs, or similar?
Logged
overseer
Hero Member
Posts: 1105
Re: unlock ip
«
Reply #1 on:
December 13, 2023, 07:03:42 PM »
Add the IP address to your whitelist:
/etc/csf/csf.allow
Command line example:
Code:
[Select]
sudo csf -a 192.168.1.111
Logged
setecabanas
Newbie
Posts: 44
Re: unlock ip
«
Reply #2 on:
September 30, 2024, 08:04:24 AM »
I mean some option to unlock ips from php. For ex, from whmcs module
Logged
cyberspace
Jr. Member
Posts: 212
Re: unlock ip
«
Reply #3 on:
September 30, 2024, 12:29:41 PM »
CWP doesn't have API calls for CSF to manage firewall rules, blocked/allowed IPs.
Logged
Small and reliable webhosting services.
BeZazz
Newbie
Posts: 39
Re: unlock ip
«
Reply #4 on:
September 30, 2024, 01:53:25 PM »
You could use PHP by doing similar to
https://forum.configserver.com/viewtopic.php?t=6751
Not recommending but might help.
Logged
Print
Pages: [
1
]
« previous
next »
Control Web Panel
»
Security
»
CSF Firewall
»
unlock ip