update_wireguard_tunnel
Modify an existing WireGuard tunnel using its ID, adjusting fields such as name, MTU, listen port, enabled flag, and private key, with option to apply changes immediately.
Instructions
Update an existing WireGuard tunnel by ID
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mtu | No | MTU for the tunnel interface | |
| name | No | Tunnel interface name | |
| descr | No | Description | |
| enabled | No | Whether the tunnel is enabled | |
| tunnel_id | Yes | Tunnel ID (from search_wireguard_tunnels) | |
| listenport | No | UDP listen port | |
| privatekey | No | WireGuard private key | |
| apply_immediately | No | Whether to apply changes immediately |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||