OpenWrt Forum Archive

Topic: NAT-PmP deamon , found !!

The content of this topic has been archived on 10 Apr 2018. There are no obvious gaps in this topic, but there may still be some posts missing at the end.

hi there

after some research i found a "NAT pmp demon"  for "debian" is there anybody out there
able to make it work with "openwrt " or give me some advice ?

https://savannah.nongnu.org/projects/natpmp/

thank you very much


marc

(Last edited by macbroadcast on 3 Dec 2007, 00:44)

miniupnpd does support Nat-PMP in addition with UPnP-IGD.

miniupnp wrote:

miniupnpd does support Nat-PMP in addition with UPnP-IGD.

Strange C&C 3 should support it but I need to do manually port forwarding or it don't work.

***EDIT:***
I run miniupnp. So should I install additional packages to get nat-pmp running?

(Last edited by belrpr on 30 Apr 2008, 15:34)

belrpr wrote:
miniupnp wrote:

miniupnpd does support Nat-PMP in addition with UPnP-IGD.

Strange C&C 3 should support it but I need to do manually port forwarding or it don't work.

***EDIT:***
I run miniupnp. So should I install additional packages to get nat-pmp running?

first check which version of miniupnpd you run. NAT-PMP support was added in 1.0-RC11 but has been enabled at compile time by default only since 1.0-RC13.

sencondly, check that the miniupnpd.conf file has the option enable_natpmp=yes

The precompiled versions of miniupnpd I found were old, and the latest sources don't compile cleanly for Kamikaze 7.09.

placebo wrote:

The precompiled versions of miniupnpd I found were old, and the latest sources don't compile cleanly for Kamikaze 7.09.

you are right I found nothing under http://downloads.x-wrt.org/xwrt/kamikaze/7.09/
I can help you to fix compilation errors. I think I first need to download some kind of kamikaze SDK

I got     1.0-RC5-1
Running whiterussian. Still think it is more stable than kamikaze.
I would compile it myself if I knew how.

miniupnp wrote:

you are right I found nothing under http://downloads.x-wrt.org/xwrt/kamikaze/7.09/

X-Wrt provides only several packages as a convenience due to building webif2 packages and images including webif2. You can find the miniupnpd package in the OpenWrt repositories .

It is old.
No one cares about end users in OpenWrt. OpenWrt is for developers but it is missing the distribution.

belrpr wrote:

I got     1.0-RC5-1

The X-Wrt packages are still being updated, see [url=]http://wiki.x-wrt.org/index.php/Image:Wrp_network-services.png[/url]

Idd update x-wrt and it asked me to update mini upnp.

And about openwrt being for developers is true I guess.
But I rather take things in my own hands then rely on others.

Going to study how to do stuff in openwrt.
But hate to learn kamikaze due to the strange things in it.

For some reason, my OpenWRT SDK doesn't work :

nanard@thinkpad2|00:48:22|~/code/openwrt/OpenWrt-SDK-brcm-2.4-for-Linux-i686$ staging_dir_mipsel/bin/mipsel-linux-gcc
Exception en point flottant
nanard@thinkpad2|00:48:37|~/code/openwrt/OpenWrt-SDK-brcm-2.4-for-Linux-i686$ staging_dir_mipsel/bin/mipsel-linux-as
Exception en point flottant
nanard@thinkpad2|00:48:39|~/code/openwrt/OpenWrt-SDK-brcm-2.4-for-Linux-i686$ uname -a
Linux thinkpad2 2.6.24.3 #1 Tue Mar 25 15:12:19 CET 2008 i686 GNU/Linux

Anyway I have made the package files (to be put in /package smile
http://miniupnp.free.fr/files/miniupnpd … aze.tar.gz

I will try to have a working SDK...

There's a problem with the package Makefile. Here's the error:

install: cannot stat `/home/placebo/Desktop/kamikaze_7.09/build_mipsel/miniupnpd-1.1/linux/*.sh': No such file or directory
make[2]: *** [/home/placebo/Desktop/kamikaze_7.09/bin/packages/miniupnpd_1.1-1_mipsel.ipk] Error 1

OK, maybe it's not a problem with the Makefile. For some reason, I was under the impression that you had eliminated the scripts, but I see the init.d script still calls them.

(Last edited by placebo on 2 May 2008, 01:39)

placebo wrote:

There's a problem with the package Makefile. Here's the error:

install: cannot stat `/home/placebo/Desktop/kamikaze_7.09/build_mipsel/miniupnpd-1.1/linux/*.sh': No such file or directory
make[2]: *** [/home/placebo/Desktop/kamikaze_7.09/bin/packages/miniupnpd_1.1-1_mipsel.ipk] Error 1

OK, maybe it's not a problem with the Makefile. For some reason, I was under the impression that you had eliminated the scripts, but I see the init.d script still calls them.

the scrips have moved from the linux/ directory to the netfilter/ directory

http://miniupnp.free.fr/files/miniupnpd … xed.tar.gz should work smile I tested, it compiles.

(Last edited by miniupnp on 2 May 2008, 10:03)

The discussion might have continued from here.