pve_create_vm_firewall_rule
Add firewall rules to Proxmox virtual machines to control network traffic by specifying actions, protocols, ports, and addresses.
Instructions
Create VM firewall rule
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| node | Yes | Node name | |
| vmid | Yes | VM ID | |
| action | Yes | Rule action (ACCEPT, DROP, REJECT) | |
| type | Yes | Rule type | |
| enable | No | Enable rule | |
| source | No | Source address | |
| dest | No | Destination address | |
| sport | No | Source port | |
| dport | No | Destination port | |
| proto | No | Protocol | |
| iface | No | Interface | |
| comment | No | Comment | |
| pos | No | Position |