Port Discovery not working on Linux
tendstofortytwo opened this issue · 0 comments
tendstofortytwo commented
As of 1.50.1, portlist.Poll()
returns Pid:0
on Linux, even with sudo permissions given to tsrelay
. tailscale/tailscale@52e4f24 fixes this, but this won't be available to tsrelay
until a new version of the portlist
package is available.
I have confirmed that using portlist
with the updated package fixes the problem by using a local copy of the tailscale repo:
diff --git a/go.mod b/go.mod
index 72502d9..0f09973 100644
--- a/go.mod
+++ b/go.mod
@@ -11,13 +11,16 @@ require (
tailscale.com v1.50.0
)
+replace tailscale.com v1.50.0 => /home/nsood/tailscale