Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cmd/trayscale: exit nodes don't always work #15

Closed
DeedleFake opened this issue Sep 13, 2022 · 0 comments · Fixed by #17
Closed

cmd/trayscale: exit nodes don't always work #15

DeedleFake opened this issue Sep 13, 2022 · 0 comments · Fixed by #17
Assignees

Comments

@DeedleFake
Copy link
Owner

DeedleFake commented Sep 13, 2022

The Tailscale CLI tool requires all non-default options to be re-specified whenever running tailscale up to change something. This means that if the user has previously run tailscale up --advertise-exit-node, running tailscale up --exit-node=1.2.3.4 will fail unless --advertise-exit-node is also specified again. Alternatively, the user can specify --reset to set all options that aren't specified back to their defaults.

The best option is to find some way to find out what options are set and setting them alongside the others. If necessary, it might be possible to parse the required options out of the error message printed by the call to tailscale up.

@DeedleFake DeedleFake changed the title cmd/trayscale: exit nodes dont' cmd/trayscale: exit nodes don't always work Sep 13, 2022
@DeedleFake DeedleFake self-assigned this Sep 14, 2022
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 a pull request may close this issue.

1 participant