Categories

Installing Udpxy on Synology DS411

Browsing the Internet I've found nice peace of software called Udpxy. Since I already have IPTV and NAS (Synology DS411), I decided it would be nice to have this software running on my NAS because that would allow me to watch my IPTV from any place, even on slow networks or places where IGMP is unsupported.

I you want to have this software running on your NAS, proceed with the following steps:

  1. Enable SSH on your Synology NAS.
  2. Install ipkg and optware-devel using this tutorial
  3. Connect to your NAS via SSH
  4. Navigate to temp directory:

    cd /tmp/

  5. Download udpxy:

    wget http://sourceforge.net/projects/udpxy/files/udpxy/Chipmunk-1.0/udpxy.1.0-Chipmunk-build21.tgz/download

  6. Extract udpxy:

    tar -xzvf udpxy.1.0-Chipmunk-build21.tgz

  7. Navigate to udpxy directory:

    cd udpxy-1.0-Chipmunk-21

  8. Compile udpxy:

    export CC=gcc && make

  9. Install udxpy:

    make install

  10. Install Nano (you can use any other editor to create/edit the file):

    ipkg install nano

  11. Navigate to start-up scripts directory:

    cd /usr/local/etc/rc.d/

  12. Create a new file (this script will allow udpxy to automatically start after rebooting the NAS):

    nano udpxy.sh

  13. Paste the following script (you can set a different port instead of 5555):
    #!/bin/sh
    
    start()
    {
        udpxy -p 5555
    }
    
    stop()
    {
        killall udpxy
    }
    
    case "$1" in
        start)
        start
        ;;
    
        stop)
        stop
        ;;
    
        restart)
        stop
        sleep 1
        start
        ;;
    esac
    
  14. If using Nano, click CTRL+X, Y and ENTER to save the file.
  15. Make the script executable:

    chmod +x udpxy.sh

  16. Start udpxy:

    ./udpxy.sh start

That's it. To watch the IPTV channel use an address in the following format:

http://{nas-ip}:{udpxy-port}/udp/{channel-ip}:{channel-port}

for example:

http://MY-NAS:5555/udp/239.255.1.3:5000

I've tested this setup on my DS411 and haven't faced any problems so far but I can't guarantee it would work on other models or different network setups. Feel free to try it and write a comment here if you having issues running it.

7 comments to Installing Udpxy on Synology DS411

Leave a Reply

 

 

 

You can use these HTML tags

<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>