Update Firewall Rule
vps_firewall_update_ruleUpdate an existing VPS firewall rule by specifying its ID and new parameters for protocol, port, source, action, or direction.
Instructions
Update an existing firewall rule.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| port | Yes | Port or range | |
| action | No | accept or drop | |
| source | Yes | Source IP/CIDR | |
| rule_id | Yes | Rule ID | |
| protocol | Yes | Protocol: tcp, udp, icmp | |
| direction | No | inbound or outbound | |
| firewall_id | Yes | Firewall ID |