mirror of
https://github.com/tailscale/tailscale.git
synced 2025-03-28 20:12:27 +00:00
cmd/tailscaled: enable hybrid netstack mode for FreeBSD.
Allows FreeBSD to function as an exit node in the same way that Windows and Tailscaled-on-MacOS do. RELNOTE=FreeBSD can now function as an exit node. Fixes https://github.com/tailscale/tailscale/issues/2498 Signed-off-by: Denton Gentry <dgentry@tailscale.com>
This commit is contained in:
parent
954867fef5
commit
3e7ff5ff98
@ -335,9 +335,9 @@ func shouldWrapNetstack() bool {
|
|||||||
return true
|
return true
|
||||||
}
|
}
|
||||||
switch runtime.GOOS {
|
switch runtime.GOOS {
|
||||||
case "windows", "darwin":
|
case "windows", "darwin", "freebsd":
|
||||||
// Enable on Windows and tailscaled-on-macOS (this doesn't
|
// Enable on Windows and tailscaled-on-macOS (this doesn't
|
||||||
// affect the GUI clients).
|
// affect the GUI clients), and on FreeBSD.
|
||||||
return true
|
return true
|
||||||
}
|
}
|
||||||
return false
|
return false
|
||||||
|
Loading…
x
Reference in New Issue
Block a user