Score:0

Nginx as http proxy in two different networks and must use udp

tn flag

I face a challenge, nginx as http proxy in two different networks and must use udp. There are some conditions:

  1. Two different networks: A network and B network, they can't connect directly.
  2. One proxy server that only support udp: udp-proxy-server, this server have two network interface cards that one is A network and another is B network.
  3. Data transfer to A network udp-17002(port) will transfer to B network udp-30001(port) by the udp-proxy-server.

The final target is: client like phone in A network that can call service api successly in B network .

I found that http3 use the udp as the bottom protocol, so I build the nginx that support http3 by the quiche(https://github.com/cloudflare/quiche). I want use the http3 nginx as proxy server and proxy client.

my-process

Now, I stay in the first step, I don't know how to convert http1.1 request to http3, Do you have any good ideas about it?

uz flag
"HTTP/3 is the third and recently standardized major version of HTTP. HTTP/3 uses the same semantics as HTTP/1.1 and HTTP/2: the same request methods, status codes, and message fields apply to all versions. The differences are in the underlying transport. Both HTTP/1.1 and HTTP/2 use TCP as their transport. HTTP/3 uses a transport technology developed alongside HTTP/3 called QUIC." (source: [Use HTTP/3 with HttpClient](https://learn.microsoft.com/en-us/dotnet/core/extensions/httpclient-http3)), so nginx should convert that transparently for you when it supports it, and when config is ok.
ws flag
This is a badly explained ,confusing description of a somewhat arbitrary set of constraints. Are you asking us to do your homework for you?
I sit in a Tesla and translated this thread with Ai:

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.