View Single Post
  #1  
Old 04-06-2010, 06:46 AM
croques croques is offline
Junior Member
 
Join Date: Apr 2010
Posts: 6
croques is on a distinguished road
Default

Re: How to install rtmpsuck on Linux


If you are using Ubuntu part of the problem for me was that Ubuntu does not have a super user account that we can normally access all we can do is 'sudo'.

To overcome this become super user and then change the su password with the following

Code:
sudo su      
passwd
then this line works on Ubuntu Karmic
Code:
sudo iptables -t nat -A OUTPUT -p tcp --dport 1935 -m owner \! --uid-owner rtmp -j REDIRECT; su -c "/usr/bin/rtmpsuck -z "  rtmp
You can leave out the -z if you do not want debug output.
Reply With Quote