create_gateway
Create a routing gateway in pfSense with specified interface, IP, and optional monitor or weight settings.
Instructions
Create a routing gateway
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Gateway name (alphanumeric and underscores only) | |
| descr | No | Optional description | |
| weight | No | Gateway weight for load balancing (1-30) | |
| gateway | Yes | Gateway IP address | |
| monitor | No | Monitor IP address (defaults to gateway IP if omitted) | |
| disabled | No | Whether the gateway starts disabled | |
| interface | Yes | Interface for the gateway (wan, lan, opt1, etc.) | |
| ipprotocol | No | IP protocol version (inet for IPv4, inet6 for IPv6) | inet |
| apply_immediately | No | Whether to apply changes immediately |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||