Yarp Tunnel. Route traffic to machines that aren't publicly exposed.

github.com/davidfowl/YarpTunnelDemo

Vaya's read on this project

Problem, audience, market, and the verdict — sign in to see it.

Updates

September 2022
  • Better retry logic
  • Clean up
  • Use Channel.WriteAsync and pass the token
  • Don't call Release, just retry
  • Ask for another connection before reading in the inner loop
  • Invert the connection polarity
  • Abort connections on dispose
  • Turns out backend.app exists!
  • Make the tunnel work with .NET 6
May 2022
  • Updated project launch profile settings (#4)
  • Clean up the memory leak
  • Added comments for websocket connections
  • readability improvement (#3)
  • Update default ConnectCallback (#1)
  • Makes connections last a long time
  • Update README.md
  • Have backends register host names, not cluster ids
  • Hack the host name for tunneling
  • Removed extra space
  • Simplify sample settings and move things to config