Add listen_port option to Tailscale endpoint

This commit is contained in:
世界
2026-08-30 17:41:45 +08:00
parent b3a45e0839
commit 24d1f271bf
5 changed files with 27 additions and 0 deletions
+1
View File
@@ -25,6 +25,7 @@ type TailscaleEndpointOptions struct {
AdvertiseRoutes []netip.Prefix `json:"advertise_routes,omitempty"`
AdvertiseExitNode bool `json:"advertise_exit_node,omitempty"`
AdvertiseTags badoption.Listable[string] `json:"advertise_tags,omitempty"`
ListenPort uint16 `json:"listen_port,omitempty"`
RelayServerPort *uint16 `json:"relay_server_port,omitempty"`
RelayServerStaticEndpoints []netip.AddrPort `json:"relay_server_static_endpoints,omitempty"`
SystemInterface bool `json:"system_interface,omitempty"`