richddean
Posts: 13
Joined: Tue Jul 31, 2012 12:59 am

Set-up NAT Port Map Daemon?

Mon May 27, 2013 7:50 pm

I have a small little web app that I have running on my Pi and I was trying to set-up my router to do port fowarding to the Pi so that I could access it outside of my home network, but I can not get it working. Then I noticed that when I use that bit torrent client "Transmission" that it is successfully opening a port through "NAT PMP"(??). So my next thought was maybe I could run something on my Pi that could use this "NAT PMP" protocol to tell my router to route a certain port request to my Pi. Plus there would be the added benefit of not having to configure my router.

I found two Linux daemon's(??), does anyone know how to install and set-up either of these programs or maybe some other way to do this with the Pi?
http://savannah.nongnu.org/projects/natpmp/
http://tedp.id.au/stallone/

Thanks!

SirLagz
Posts: 1705
Joined: Mon Feb 20, 2012 8:53 am
Location: Perth, Australia
Contact: Website

Re: Set-up NAT Port Map Daemon?

Tue May 28, 2013 2:25 am

NAT PMP will generally only help a connection going out. It probably won't allow you to get into the Pi from outside.
Manual Port forwarding is the way to go.
My Blog - http://www.sirlagz.net
Visit my blog for Tips, Tricks, Guides and More !
WiFi Issues ? Have a look at this post ! http://www.raspberrypi.org/phpBB3/viewtopic.php?f=28&t=44044

richddean
Posts: 13
Joined: Tue Jul 31, 2012 12:59 am

Re: Set-up NAT Port Map Daemon?

Tue May 28, 2013 12:45 pm

Yeah, you are probably right. The manual port forwarding through the router is probably the way to go. But some how "Transmission" is opening up the incoming port because when I am running "Transmission" I can run a port check (http://www.canyouseeme.org/) and the port is open and listening.

I just wish I knew how "Transmission" is doing it if only out of curiosity.

Thanks.

SirLagz
Posts: 1705
Joined: Mon Feb 20, 2012 8:53 am
Location: Perth, Australia
Contact: Website

Re: Set-up NAT Port Map Daemon?

Wed May 29, 2013 4:50 am

richddean wrote:Yeah, you are probably right. The manual port forwarding through the router is probably the way to go. But some how "Transmission" is opening up the incoming port because when I am running "Transmission" I can run a port check (http://www.canyouseeme.org/) and the port is open and listening.

I just wish I knew how "Transmission" is doing it if only out of curiosity.

Thanks.
NATPMP is doing it, however it opens ports dynamically.
Perhaps there is a way to set it to open a static port ? I'm not too sure. I haven't played with NATPMP much as I don't have a router capable of it at the moment :D
My Blog - http://www.sirlagz.net
Visit my blog for Tips, Tricks, Guides and More !
WiFi Issues ? Have a look at this post ! http://www.raspberrypi.org/phpBB3/viewtopic.php?f=28&t=44044

Return to “Beginners”