[rtmpdump] rtmpsrv with osx : ipfw configuration
Carmelo Ingrao
carmelo42 at gmail.com
Sun Feb 21 09:43:13 CET 2010
Hello,
I have compiled 2.1c for mac os : rtmpdump works fine, thanks for this amazing software.
In order to use rtmpsrv, I need to play with iptables :
sudo iptables -t nat -A OUTPUT -p tcp --dport 1935 -j REDIRECT
But on a mac, there's no iptables, but only ipfw.
So in the readme, there's :
ipfw add 40 fwd 127.0.0.1 1935 tcp from any to any 1935
ipfw add 40 fwd 127.0.0.1 1935 tcp from any to any 1935 not uid proxy
(little correction for the readme : correct syntax is 127.0.0.1,1935 rather 127.0.0.1)
So, i launch this 2 lines on mac :
MacPro:rtmpdump2.1d Carmelo$ sudo ipfw add 40 fwd 127.0.0.1,1935 tcp from any to any 1935Password:
00040 fwd 127.0.0.1,1935 tcp from any to any dst-port 1935
MacPro:rtmpdump2.1d Carmelo$ sudo ipfw add 40 fwd 127.0.0.1,1935 tcp from any to any 1935 not uid proxy
ipfw: uid "proxy" nonexistent
(and after that of course, rtmpsrv isn't able to pick the information when playing video)
Have you any idea ?
Thanks a lot !
Carmelo
PS : sorry for my bad english
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mplayerhq.hu/pipermail/rtmpdump/attachments/20100221/44109fde/attachment.htm>
More information about the rtmpdump
mailing list