"exit-node" Support for Tailscale#1059
Open
believerd wants to merge 2 commits into
Open
Conversation
Add advertise-exit-node, exit-node, and exit-node-allow-lan-access support for Tailscale. Signed-off-by: Peter Du <dev@peterdu.net>
…documentation Signed-off-by: Peter Du <dev@peterdu.net>
gibmat
requested changes
Apr 24, 2026
gibmat
left a comment
Member
There was a problem hiding this comment.
Looks alright, but I'm not familiar enough with Tailscale to know if there's anything we need to be cautious about when running an exit node directly on IncusOS server (versus from within a VM or container running on IncusOS).
| AdvertisedRoutes []string `json:"advertised_routes" yaml:"advertised_routes"` | ||
| AdvertiseExitNode bool `json:"advertise_exit_node" yaml:"advertise_exit_node"` | ||
| ExitNode string `json:"exit_node" yaml:"exit_node"` | ||
| ExitNodeAllowLanAccess bool `json:"exit_node_allow_lan_access" yaml:"exit_node_allow_lan_access"` |
Member
There was a problem hiding this comment.
The linter likes all columns nicely aligned with whitespace :)
|
|
||
| * `exit_node`: Tailscale exit node (IP, base name, or auto:any) for internet traffic, or empty string to not use an exit node. | ||
|
|
||
| * `exit_node_allow_lan_access`: If `true`, allow direct access to the local network when routing traffic via an exit node. |
Member
There was a problem hiding this comment.
Extra space at the end of the line
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
I've added support for advertising exit node and using exit node to the tailscale service.
However, when I tried testing on my machine, I was not able to see other machines that are advertising exit nodes from the Incus OS(shell access through
debugapplication and runtailscale exit-node list). It might be a tailscale issue but I'm not sure. Please give it a try on your machine and see if using exit node works for you!