Skip to content
Discussion options

You must be logged in to vote

No, YARP is an L7 HTTP proxy.
If you want to hijack outgoing traffic for your process, this isn't something YARP can do for you out of the box.

What are you trying to do with the intercepted requests?

You'd have to intercept connections yourself (e.g. setting a proxy, redirecting the connection with the help of the OS, MITM software, etc.).
The easiest option is likely to set environment variable that instruct your applications to use a forward HTTP proxy, and point those requests at your server.

And even if you do, you'd have to deal with how to process proxy requests or how to present the correct certs yourself.
While technically possible (you can look at https://github.com/MihaZupan/Mi…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@weitzhandler
Comment options

Answer selected by weitzhandler
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants