Skip to content

Add port configuration for tailscale endpoint#4012

Open
megachweng wants to merge 19 commits intoSagerNet:testingfrom
megachweng:testing
Open

Add port configuration for tailscale endpoint#4012
megachweng wants to merge 19 commits intoSagerNet: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 13 times, most recently from b827111 to 524fc05 Compare April 15, 2026 11:11
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