How can I map multiple ports into one ?

  • Thread starter Thread starter NewtownGuy
  • Start date Start date
N

NewtownGuy

I'm using an RTSP server on Linux that opens a pair of ports each time there's a connection request. The problem is that it dynamically chooses that those ports over a wide range of port numbers, making a different choice each time, and does not have the ability to control the choice of port numbers. Unless I have only one of these RTSP servers and put it in a DMZ in my router, it's impossible to access it from the Internet.

How can I configure iptables or something that runs on the Linux machine that hosts the RTSP server and translates a wide range of internal port numbers to a SINGLE externally accessible port number ?

Thanks in advance for your help.

Continue reading...
 
Back
Top