csf_allow_ip
Whitelist an IP address in CSF to bypass closed firewall ports, with optional temporary TTL and comment for clear rule tracking.
Instructions
Whitelist an IP in CSF (csf -a / temporary allow).
Allowed IPs bypass closed ports but LFD can still block them unless ignored.
Args: ip: IPv4, IPv6, or CIDR. comment: Note stored with the rule. temporary: Use a TTL instead of a permanent allow. ttl_seconds: Lifetime when temporary=true. confirm: Required.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ip | Yes | ||
| comment | No | allowed-via-directadmin-mcp | |
| confirm | No | ||
| temporary | No | ||
| ttl_seconds | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |