Yes, although I tried it with this iptables set up:
Code:
/sbin/iptables -v -t nat -A OUTPUT -p tcp --dport 1935 -m owner \! --uid-owner root -j REDIRECT
With your suggestion I get:
Code:
iptables -t nat -A OUTPUT -p tcp --dport 1935 -j REDIRECT &rtmpsrv
[1] 15956
RTMP Server v2.4
(c) 2010 Andrej Stepanchuk, Howard Chu; license: GPL
Streaming on rtmp://0.0.0.0:1935
It just hangs until I cancel it.
This is the version I have installed:
Code:
GIT update -->
repository: git://git.ffmpeg.org/rtmpdump
at the commit: a107cef9b392616dff54fabfd37f985ee2190a6f
branch: master
--
Regards,
Mick