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.
-
Notifications
You must be signed in to change notification settings - Fork 33
davidfowl/YarpTunnelDemo
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
YARP demo showing how tunneling can be implemented over websockets
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published