March 9, 2014

NAT-PMP for Ubiquiti EdgeMax Lite Router via stallone

I added stallone NAT-PMP (natpmp) to my EdgeMax Lite router. The EdgeMax uses vyatta and the uPNP service didn't work for me with all my Apple devices.

The debian repositories had to be added to the system and also gcc and other packages had to be installed in order to build stallone.

Use vyatta commands to update the repositories.

/etc/apt/sources.list
deb http://http.us.debian.org/debian squeeze main contrib non-free # squeeze #
deb http://security.debian.org squeeze/updates main # squeeze-security #

Then install several packages to build stallone

sudo apt-get install pkg-config gcc libdaemon-dev make

Add the group nobody to the EdgeMax.

Configure stallone with ./configure --with-natpmd-group=nobody, then make, make install.

Check the configuration in /usr/local/etc/stallone/natpmd.conf

UPDATE:EdgeOS version 1.5.0 includes service upnp2 which is based on miniupnp and includes built-in NAT-PMP support. Stallone is no longer required.

No comments:

Post a Comment