opnsense_tailscale_settings_set
Configure Tailscale VPN settings on OPNsense, including enabling, port, auth key, routes, exit node, and DNS options. Changes require a service reconfigure to apply.
Instructions
Update Tailscale plugin settings. Only provided fields are changed. Run opnsense_tailscale_service_control with action 'reconfigure' afterwards to apply.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| enabled | No | Enable (1) or disable (0) the Tailscale service | |
| port | No | UDP port for Tailscale (default: 41641) | |
| auth_key | No | Tailscale auth key for automatic enrollment | |
| advertise_routes | No | Comma-separated CIDR list to advertise as subnet routes (e.g. '10.10.0.0/24') | |
| advertise_exit_node | No | Advertise as exit node (1) or not (0) | |
| accept_routes | No | Accept routes from other nodes (1) or not (0) | |
| accept_dns | No | Accept DNS configuration from tailnet (1) or not (0) |