[Feature] Support for OneCGNATRoute network policy option #783

Closed
opened 2025-12-29 02:23:57 +01:00 by adam · 3 comments
Owner

Originally created by @sricci82 on GitHub (Sep 2, 2024).

Use case

Force the tailscale client to add /32 routes on MacOS systems.

Description

By default the tailscale client will:

  • Add a per-peer /32 route on windows and linux systems
  • Add a route to whole 100.64/10 on MacOS systems (apparently to accomodate a known issue with chromium-based browsers on this platform)

The latter unfortunately creates problems on some setups, so it's sometimes desiderable to change that behaviour. Tailscale itself allows to tune this by the means of "OneCGNATRoute" network policy option, please see: https://tailscale.com/kb/1337/acl-syntax#onecgnatroute

I tried myself inserting that option in the headscale acl file to no avail, so I suppose it's not currently supported. It would be a great addition, at least for me :-)

Thank you all for your great work !

Contribution

  • I can write the design doc for this feature
  • I can contribute this feature

How can it be implemented?

No response

Originally created by @sricci82 on GitHub (Sep 2, 2024). ### Use case Force the tailscale client to add /32 routes on MacOS systems. ### Description By default the tailscale client will: - Add a per-peer /32 route on windows and linux systems - Add a route to whole 100.64/10 on MacOS systems (apparently to accomodate a known issue with chromium-based browsers on this platform) The latter unfortunately creates problems on some setups, so it's sometimes desiderable to change that behaviour. Tailscale itself allows to tune this by the means of "OneCGNATRoute" network policy option, please see: https://tailscale.com/kb/1337/acl-syntax#onecgnatroute I tried myself inserting that option in the headscale acl file to no avail, so I suppose it's not currently supported. It would be a great addition, at least for me :-) Thank you all for your great work ! ### Contribution - [ ] I can write the design doc for this feature - [ ] I can contribute this feature ### How can it be implemented? _No response_
adam added the enhancementstale labels 2025-12-29 02:23:57 +01:00
adam closed this issue 2025-12-29 02:23:57 +01:00
Author
Owner

@github-actions[bot] commented on GitHub (Dec 25, 2024):

This issue is stale because it has been open for 90 days with no activity.

@github-actions[bot] commented on GitHub (Dec 25, 2024): This issue is stale because it has been open for 90 days with no activity.
Author
Owner

@github-actions[bot] commented on GitHub (Jan 1, 2025):

This issue was closed because it has been inactive for 14 days since being marked as stale.

@github-actions[bot] commented on GitHub (Jan 1, 2025): This issue was closed because it has been inactive for 14 days since being marked as stale.
Author
Owner

@aalmenar commented on GitHub (Feb 5, 2025):

Can this one be reconsidered ?

@aalmenar commented on GitHub (Feb 5, 2025): Can this one be reconsidered ?
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/headscale#783