create_container_firewall_rule
Create a firewall rule for a container by specifying the node, VM ID, and rule string, with an optional position, to manage traffic filtering in Proxmox.
Instructions
Create a firewall rule for a container
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pos | No | Position for the rule (optional) | |
| node | Yes | Node where container is located | |
| rule | Yes | Firewall rule (e.g., 'in,REJECT,22/tcp' or 'out,ACCEPT,any,any') | |
| vmid | Yes | Container ID |