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

docs: Document how to configure an exit node #279

Merged
merged 1 commit into from
Jan 29, 2024
Merged

docs: Document how to configure an exit node #279

merged 1 commit into from
Jan 29, 2024

Conversation

mhutter
Copy link
Contributor

@mhutter mhutter commented Sep 1, 2023

This PR documents how to automatically approve a device to be used as an exit node.

Even though it makes sense, it took quite a bit of figuring-out to do, so hopefully this saves someone else some time.

PS: As someone who never developed their own Terraform plugin, the contribution docs could also need some love, or at least a Makefile target on how to update the docs after a change :)

Comment on lines +27 to +34
"0.0.0.0/0",
"::/0"
Copy link
Collaborator

@knyar knyar Nov 13, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This makes this example unrealistic, since it does not quite make sense to announce 0/0 alongside more specific subnets.

May I suggest to leave the existing node intact, and add another tailscale_device_subnet_routes block here that would just have two 0/0 routes, providing an example of an exit node?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good point, I have adjusted the example accordingly

Even though it makes sense, it took quite a bit of figuring-out to do,
so hopefully this saves someone else some time.

Signed-off-by: Manuel Hutter <manuel@hutter.io>
Copy link
Collaborator

@knyar knyar left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you!

@knyar knyar merged commit 38e9176 into tailscale:main Jan 29, 2024
3 checks passed
@mhutter mhutter deleted the doc/exit-node branch January 30, 2024 06:54
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.

None yet

2 participants