Routing RTP to mutiple Servers
Dear All,
I am facing following routing problem. Please help me to resolve the same.
Problem Statement:-" I have a intermediate Linux Server that is taking RTSP request from various server/RTSP Client on different subnets on the behalf of a RTSP Server. Now I need to send corresponding RTP stream to the requesting servers/RTSP Client. I have done the configuration successfully for a single requsting server. But the problem how make it for mutiple servers."
Configuration for Single RTSP Server in the IPtables:-
#RTSP Server IP is 192.168.33.51
#Requesting Server IP (RTSP Client) 10.3.9.204
:PREROUTING ACCEPT [525:40295]
:POSTROUTING ACCEPT [7:1150]
:OUTPUT ACCEPT [7:1150]
-A PREROUTING -i eth0 -p tcp -m tcp --dport 554 -j DNAT --to-destination 192.168.33.51:554
#The above setting is ok for mutiple rtsp client
-A PREROUTING -i eth0 -p udp -m udp -s 192.168.33.51 -j DNAT --to-destination 10.3.9.204
#How to make this line for mutiple client
-A POSTROUTING -o eth0 -j MASQUERADE
COMMIT
IP Forward flag is ON.
Please help me.
Regards,
Raghuvendra Kumar
|