Skip to content

Add port configuration for tailscale endpoint#4012

Open
megachweng wants to merge 19 commits into
SagerNet:testingfrom
megachweng:testing
Open

Add port configuration for tailscale endpoint#4012
megachweng wants to merge 19 commits into
SagerNet:testingfrom
megachweng:testing

Conversation

@megachweng

Copy link
Copy Markdown

Summary

Add a port option to the Tailscale endpoint to allow sing-box server to use a fixed UDP port.

Why

The built-in Tailscale endpoint currently uses an auto-selected port, which makes firewall configuration difficult on router deployments. A fixed port allows stable WAN input rules.

Example

{
  "type": "tailscale",
  "tag": "ts-ep",
  "port": 7777
}

@nekohasekai nekohasekai force-pushed the testing branch 11 times, most recently from 6392ff8 to 0273ba8 Compare April 15, 2026 09:08
@nekohasekai nekohasekai force-pushed the testing branch 5 times, most recently from b63ae24 to 76a2201 Compare April 23, 2026 00:15
@nekohasekai nekohasekai force-pushed the testing branch 6 times, most recently from 8f15b13 to 9ee56ae Compare May 3, 2026 01:08
@nekohasekai nekohasekai force-pushed the testing branch 6 times, most recently from 057f540 to 6b07a22 Compare May 15, 2026 05:29
@nekohasekai nekohasekai force-pushed the testing branch 9 times, most recently from 2141845 to b6c416b Compare May 26, 2026 09:45
@nekohasekai nekohasekai force-pushed the testing branch 3 times, most recently from de161cf to 83b7304 Compare June 3, 2026 05:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants