[PR #624] [MERGED] Add ability to set randomizeClientPort #1533

Closed
opened 2025-12-29 02:30:27 +01:00 by adam · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/juanfont/headscale/pull/624
Author: @iSchluff
Created: 6/9/2022
Status: Merged
Merged: 6/11/2022
Merged by: @kradalby

Base: mainHead: feature/configure-randomize-port


📝 Commits (6)

  • 34be108 add ability to set randomizeClientPort
  • 3f7749c Merge branch 'main' into feature/configure-randomize-port
  • 9ff09b7 Update Changelog
  • 02cc6bc Merge branch 'main' into feature/configure-randomize-port
  • 6faf2d6 Update integration dump tests
  • ab35baa Merge branch 'main' into feature/configure-randomize-port

📊 Changes

7 files changed (+17 additions, -5 deletions)

View changed files

📝 CHANGELOG.md (+1 -0)
📝 api.go (+2 -1)
📝 cmd/headscale/headscale_test.go (+1 -0)
📝 config-example.yaml (+5 -0)
📝 config.go (+6 -2)
📝 integration_test/etc/alt-config.dump.gold.yaml (+1 -1)
📝 integration_test/etc/config.dump.gold.yaml (+1 -1)

📄 Description

This allows tailscaled to pick a random udp port and lets direct connections succeed for broken fortinet enterprise firewalls.
https://tailscale.com/kb/1181/firewalls/

  • read the CONTRIBUTING guidelines
  • raised a GitHub issue or discussed it on the projects chat beforehand
  • added unit tests
  • added integration tests
  • updated documentation if needed
  • updated CHANGELOG.md

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/juanfont/headscale/pull/624 **Author:** [@iSchluff](https://github.com/iSchluff) **Created:** 6/9/2022 **Status:** ✅ Merged **Merged:** 6/11/2022 **Merged by:** [@kradalby](https://github.com/kradalby) **Base:** `main` ← **Head:** `feature/configure-randomize-port` --- ### 📝 Commits (6) - [`34be108`](https://github.com/juanfont/headscale/commit/34be10840c200491b3b78044e9005054a8a2a31b) add ability to set randomizeClientPort - [`3f7749c`](https://github.com/juanfont/headscale/commit/3f7749c6d44114148087aef5eb315c1dc14965ab) Merge branch 'main' into feature/configure-randomize-port - [`9ff09b7`](https://github.com/juanfont/headscale/commit/9ff09b73ad612d3cf256e6d6c7cf74547be8d43c) Update Changelog - [`02cc6bc`](https://github.com/juanfont/headscale/commit/02cc6bcc05372cc4a3720ddc8600b879aa94c843) Merge branch 'main' into feature/configure-randomize-port - [`6faf2d6`](https://github.com/juanfont/headscale/commit/6faf2d63d08a0094300ff39130c67c386dafb7b2) Update integration dump tests - [`ab35baa`](https://github.com/juanfont/headscale/commit/ab35baaa29651b4a1e6c1f400c9431e312cd3362) Merge branch 'main' into feature/configure-randomize-port ### 📊 Changes **7 files changed** (+17 additions, -5 deletions) <details> <summary>View changed files</summary> 📝 `CHANGELOG.md` (+1 -0) 📝 `api.go` (+2 -1) 📝 `cmd/headscale/headscale_test.go` (+1 -0) 📝 `config-example.yaml` (+5 -0) 📝 `config.go` (+6 -2) 📝 `integration_test/etc/alt-config.dump.gold.yaml` (+1 -1) 📝 `integration_test/etc/config.dump.gold.yaml` (+1 -1) </details> ### 📄 Description This allows tailscaled to pick a random udp port and lets direct connections succeed for broken fortinet enterprise firewalls. https://tailscale.com/kb/1181/firewalls/ <!-- Please tick if the following things apply. You… --> - [x] read the [CONTRIBUTING guidelines](README.md#contributing) - [ ] raised a GitHub issue or discussed it on the projects chat beforehand - [ ] added unit tests - [ ] added integration tests - [ ] updated documentation if needed - [ ] updated CHANGELOG.md <!-- If applicable, please reference the issue using `Fixes #XXX` and add tests to cover your new code. --> --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
adam added the pull-request label 2025-12-29 02:30:27 +01:00
adam closed this issue 2025-12-29 02:30:27 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/headscale#1533