You are not logged in.

#1 2010-04-30 14:29:10

tommed
Member
From: Berkshire, Engalnd
Registered: 2009-06-10
Posts: 54
Website

**SOLVED** Is UPnP what I am looking for?

Hi Guys,

If I want my server to be accessible from the outside of my gateway (eg. my home broadband router) and I didn't have access to the router itself (say it's being guarded by an angry troll with a mace), is UPnP the technology I would need for my server to request NAT port forwarding from the outside world to my home network?

For instance; I have a WD World Book NAS drive, which I can access when I'm not at home via a Java Applet on Western Digital's web site. The applet can connect to my NAS drive and read/write to it, but I never configured NAT on my router to allow this.. Did the NAS drive use UPnP to negotiate permanent port translation with my router?

Many Thanks,
Tom
--Solved--

Last edited by tommed (2010-05-18 15:05:17)

Offline

#2 2010-04-30 14:53:54

kokoko3k
Member
Registered: 2008-11-14
Posts: 2,398

Re: **SOLVED** Is UPnP what I am looking for?

Can't say if your nas uses upnp, probably it does, but it's not sure, it may use other techniques like udp-hole-punching.
-edit-
You can easy find out by using upnpc (in AUR) and issuing something like:

upnpc -a YourLanIp ARandomPort ARandomPort tcp

And, eventually, wait for an error message .

Last edited by kokoko3k (2010-04-30 15:00:05)


Help me to improve ssh-rdp !
Retroarch User? Try my koko-aio shader !

Offline

#3 2010-04-30 15:19:06

tommed
Member
From: Berkshire, Engalnd
Registered: 2009-06-10
Posts: 54
Website

Re: **SOLVED** Is UPnP what I am looking for?

Thanks, I read somewhere that 99% of all routers made after 2002 support UPnP, but I guess the only way to find out is to try it!

Do you know of a UPnP cli tool for adding/removing/listing ports to a machine via UPnP?
Or is there already something in the GNU toolset for doing this?

--edit--
Thanks, I'll try upnpc!

Last edited by tommed (2010-04-30 15:20:16)

Offline

Board footer

Powered by FluxBB