-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Option to force a static UDP source port number #6
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
Comments
We already have this, at least on tailscaled. Or are you talking about the iOS app? But in that case, the answer would be DERP. What remains here, @crawshaw? |
tailscaled lets people use a fixed UDP port on linux. There is no equivalent option on macOS. |
Note that this option really should be enabled by default, so that we can document the behaviour more easily. Perhaps unlike regular WireGuard, tailscale users generally are not interested in hiding their encrypted traffic from their corporate IT department; quite the opposite. |
What is the flag to force a specific UDP port to be used on linux? I have a need for this as I can't use the default port on one of my servers, but I have a set of other ports I can use. |
You have to start tailscaled with the right --port option. The systemd unit
we provide sets this to 41641, but you can change it if you like.
ᐧ
…On Fri, May 14, 2021 at 12:11 PM Oujiii ***@***.***> wrote:
What is the flag to force a specific UDP port to be used on linux? I have
a need for this as I can't use the default port on one of my servers, but I
have a set of other ports I can use.
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
<#6 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAAFA4CYH25DG5VJ4RMMNITTNVDTNANCNFSM4KSVE2BQ>
.
--
Avery Pennarun // CEO @ Tailscale
|
@apenwarr Can I force a specific UDP port on mac or windows please? |
I'm waiting for this option |
Please consider adding this option to other platforms (e.g. Windows, macOS --Edit-- /var/packages/Tailscale/scripts/start-stop-status in line 15, change the port to any other port. |
As you can change /etc/default/tailscaled option values, if you use linux.
In this config files, I changed Port value from 41641 to 42006 cause ISP blocked default port。 route configurationif cat a public ip in your router,and you can add port forwarding,port forwarding from wan port 42006 to lan ip port 42006.(keep the port same,in this section ,changed port is 42006, you need to configure router port exposed the same-42006.) |
This does not work on the Tailscale docker . |
Some firewalls only allow UDP to pass if it is from a known port. We should have a way for clients to be configured to use a predictable port.
It's not clear yet whether this is a network-wide setting, or a client setting.
The text was updated successfully, but these errors were encountered: