Is it possible to deploy mediasoup on server A without public ip and set the `announcedIp` as server B's public ip

Is it possible to deploy mediasoup on server A without public ip and set the announcedIp to server B’s public ip?

What I mean that I have two servers, and server A has a public IP, server B has not.

Server A
public IP: No
private IP: 192.168.0.1
Server B
public IP: x.x.x.x
private IP: 192.168.0.2

And I want to deploy mediasoup on Server A and set the announcedIp as server B’s public ip. Is it possible, or how to make it possible?

I deployed a nginx on server B, and stream the udp port to server A.
But not working.

stream {
      server {
		listen 41000-41020 udp reuseport;
		proxy_timeout 30s;
		proxy_pass server_a:$server_port;
	}
}