Skip to content

Why is traffic always routed via relays? #125

@khartahk

Description

@khartahk

question re: caddy-tailscale plugin:

Why does the connection to my node always go via a relay when on my phone either wifi or mobile data, it doesn't matter, but doesn't go via relay when I try to connect to the same server via the tailscale service running on that same node?

And why am I bothered by that you might ask, coz there my speed is being throttled to 1Mb/s and to stream a video that's just not enough.

I worked all day trying to debug this. I've gotten so far that I had to figure out:

  • how to set up Hairpin NAT on my Mikrotik router
  • then I could spin up my own derp server on the same node as the caddy is running
  • had to figure out how to run that same caddy on tailscale/ interface and on 0.0.0.0
  • installed layer4 caddy plugin to forward udp packets to stun, since i can't run derp directly because of other stuff running ther.

Finally set everyrhing up and android now shows my phone going through that relay and there is a slight speed increase but still not enough. What am I missing here?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions