Skip to content

YARP demo showing how tunneling can be implemented over websockets

Notifications You must be signed in to change notification settings

DomenPigeon/YarpTunnelDemo

 
 

Repository files navigation

YARP tunnel demo

This demo shows how HttpClient and Kestrel transport extensiblity can be used to implement a tunneling proxy with YARP and ASP.NET Core. The backend project connects to the front end via websockets and manages a set of open connections (which is configurable). The front end project waits for connections from configured backends to configure HTTP client with the appropriate connections to talk to the backend. The net effect is that the backend does not need to have any open ports in order to have traffic routed to it.

image

About

YARP demo showing how tunneling can be implemented over websockets

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C# 68.0%
  • HTML 18.4%
  • CSS 13.6%