firewall_service_create
Creates a custom service definition with name, protocol, and port ranges to define network traffic for firewall policies.
Instructions
Create a new custom service object.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Service object name. | |
| protocol | Yes | Protocol: TCP/UDP/SCTP, ICMP, IP, or ALL. | |
| tcp_portrange | No | TCP port range (e.g. '80', '8080-8090', '80 443'). | |
| udp_portrange | No | UDP port range. | |
| comment | No | Comment. | |
| vdom | No | Target VDOM name. Defaults to the server default VDOM. Use '*' for all VDOMs (super-admin required). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||