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

What's the correct way of using tailscale_device_subnet_routes ? #266

Open
uthark opened this issue Aug 15, 2023 · 2 comments
Open

What's the correct way of using tailscale_device_subnet_routes ? #266

uthark opened this issue Aug 15, 2023 · 2 comments
Labels
question Further information is requested

Comments

@uthark
Copy link

uthark commented Aug 15, 2023

If I update the routes via provider, I still can't access new routes.

Admin UI shows me that the new routes are not advertised by the node

This device no longer advertises this subnet route. Remove the route here, or re-run tailscale up --advertise-routes with x.x.x.x/32 included.

What's the correct and intended way of managing routes using the provider? Do I need manually update the routes on the device too?

@uthark uthark added the question Further information is requested label Aug 15, 2023
@mhutter
Copy link
Contributor

mhutter commented Sep 1, 2023

If I understand correctly, tailscale_device_subnet_routes only approves the routes configured. In order for them to actually work, the client has to advertise them.

To update advertised routes for an existing client, use

tailscale set --advertise-routes xxxx

@uthark
Copy link
Author

uthark commented Sep 1, 2023

It would be nice if tailscale daemon would advertise routes configured via API.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants