create_vm_firewall_rule
Add firewall rules to Proxmox VMs by specifying node, VM ID, and rule pattern. Control inbound or outbound traffic with actions like ACCEPT or REJECT.
Instructions
Create a firewall rule for a VM
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pos | No | Position for the rule (optional) | |
| node | Yes | Node where VM is located | |
| rule | Yes | Firewall rule (e.g., 'in,REJECT,22/tcp' or 'out,ACCEPT,any,any') | |
| vmid | Yes | VM ID |