-
This may be more of an nginx question but figured I would ask here in case any one else has attempted this. I am able to see the traffic through the proxy and to the destination but it seems like the handshake is never being completed. A specific note is I assumed only UDP would be necessary but is TCP also needed? I wouldn't be surprised if I was misunderstanding the protocol used here. At the moment I have a very basic config for the proxy_pass that I have tweaked here or there to see if it helps. Here is the base config I've been attempting to use:
|
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
In case anyone else comes across this, my suspicion was correct. Both TCP and UDP listen directives need to be set for traffic to be passed. I'm not sure why this works but it resolved the issue for me. Boiler plate config with the nginx stream module if anyone ever needs it:
|
Beta Was this translation helpful? Give feedback.
-
There is no TCP involved in SRT. But the handshake will most probably fails because the IP source address in the handshake packets as seen by the listener is not the original caller IP. I say this without knowing how nginx works. |
Beta Was this translation helpful? Give feedback.
In case anyone else comes across this, my suspicion was correct. Both TCP and UDP listen directives need to be set for traffic to be passed. I'm not sure why this works but it resolved the issue for me.
Boiler plate config with the nginx stream module if anyone ever needs it:
http://nginx.org/en/docs/stream/ngx_stream_core_module.html