Proxying the client <-> server GRPC connection. #2050
-
Dear Flare community, we have a use case that requires the client <-> server connection be proxied. In addition we have the following requirements:
We've thought about:
Any ideas are welcome, thank you! I'm happy to provide more context on requirements should this not be sufficient. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Thanks to help from the Flare team we achieved this by leveraging the
This will make the grpc client initiate a CONNECT request to the proxy address. This allows for an L7 proxy using SSL tunneling. Here's a good explanation. This requires building nginx with a 3rd party module. Here's a reference Dockerfile that will provide a lean image. The corresponding nginx configuration will look something like:
|
Beta Was this translation helpful? Give feedback.
Thanks to help from the Flare team we achieved this by leveraging the
CommConfigurator
. It can be configured by placing acomm_config.json
file in theworkspace
. We used the following settings:This will make the grpc client initiate a CONNECT request to the proxy address. This allows for an L7 proxy using SSL tunneling. Here's a good explanation. This requires building nginx with a 3rd party module. Here's a reference Dockerfile that will provide a lean image. The corresponding nginx configuration will look something like: