[Red5] how to make RTMP listen on 2 ports?

Walter Tak walter at waltertak.com
Sun Apr 27 16:47:30 PDT 2008


You could add some iptables redirection of 443 to 1935.

Like:

iptables -t nat -A PREROUTING -p tcp -i eth0 -d $external_ip \
     --dport 443 --sport 1024:65535 -j DNAT --to $external_ip:1935

Red5 would still be listening to 1935 but your server would listen on 2 
ports. Or even more if you'd like.

Regards,
Walter


----- Original Message ----- 
From: "vitalyk" <vitalyk at gmail.com>
To: <Red5 at osflash.org>
Sent: Sunday, 27 April 2008 20:58
Subject: Re: [Red5] how to make RTMP listen on 2 ports?


>
>
> Mondain wrote:
>>
>> There is no reason to setup RTMP on an additional port
>>
>
> There is a reason. Some firewalls block port 1935 and old flash clients 
> will
> NOT try to connect with RTMPT.
> read http://kb.adobe.com/selfservice/viewContent.do?externalId=tn_16631
>
> again:
> old clients try to connect 3 times: 1935, 443, 80 (all RTMP! no RTMPT)
> new clients try to connect 2 times: 1935 RTMP and 80 RTMPT
>
> so if i only have 1935 RTMP and 80 RTMPT I will loose old clients with
> closed port 1935.
>
> Right now I have RTMP on 1935 and RTMPT on 80. and I'm looking into adding
> RTMP on 443.
>
>
> -- 
> View this message in context: 
> http://www.nabble.com/how-to-make-RTMP-listen-on-2-ports--tp16924478p16926894.html
> Sent from the Red5 - English mailing list archive at Nabble.com.
>
>
> _______________________________________________
> Red5 mailing list
> Red5 at osflash.org
> http://osflash.org/mailman/listinfo/red5_osflash.org
>
>
>
> -- 
> No virus found in this incoming message.
> Checked by AVG.
> Version: 7.5.524 / Virus Database: 269.23.5/1400 - Release Date: 27-04-08 
> 09:39
>
> 




More information about the Red5 mailing list