Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!

Control dynamic net mappings on AirPort Base Stations Apps
I have written a small program called natpmpmap (8KB download) which makes it possible to change the NAT port mapping settings of modern AirPort Base Stations. As you may know, AirPort's Admin Utility doesn't allow one to set UDP port mappings. That brings a lot of headache for those of us who want to deploy, for example, QuickTime Streaming Server.

The program is very simple to use, and it's a Universal build with source code included. Feel free to use it, to share it, to change it. Probably in the near future, if I'm not too busy, I'll write a standalone daemon with launchd support and nice GUI configurator.

[robg adds: I haven't tested this one.]
    •    
  • Currently 2.50 / 5
  • 1
  • 2
  • 3
  • 4
  • 5
  (2 votes cast)
 
[5,195 views]  

Control dynamic net mappings on AirPort Base Stations | 7 comments | Create New Account
Click here to return to the 'Control dynamic net mappings on AirPort Base Stations' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Control dynamic net mappings on AirPort Base Stations
Authored by: vykor on Nov 22, '06 08:20:52AM

For any given port, the mapping in Airport Admin Utility appears to control both TCP and UDP ports of that number...at least for my AirPort Express.

Experimentally, you can check this by running netcat / nc in UDP listen mode on some mapped port, and then ssh'ing to a remote machine and using netcat in client mode to connect to that port. Type some arbitrary text in the client to see if they arrive (you may have to type for a bit, depending on traffic, since UDP is unreliable). Then, switch the listener to an unmapped UDP port and try this again. My observations are that no data got through to this unmapped UDP port, while data did arrive at the mapped port.



[ Reply to This | # ]
Control dynamic net mappings on AirPort Base Stations
Authored by: craigsheppard on Nov 22, '06 08:46:31AM

Not so with the power-over-ethernet snow basestation - opening ports only opens for TCP. This has been a major headache for me, the only solution being to create a default host (I believe that's the terminology, I'm not on my network right now).

Also - the linked file is down, Rob - do you happen to have a copy of the linked file?

Craig



[ Reply to This | # ]
Nevermind - site's back up (EOM)...
Authored by: craigsheppard on Nov 22, '06 08:49:42AM
Control dynamic net mappings on AirPort Base Stations
Authored by: mr.ghost on Nov 24, '06 09:28:45AM

Hi people!
According to my knowledge and Apple's Airport Base documentation only tcp mapping are supported. And i've decided to write this program to let you to set both tcp and udp mappings. Sorry for download site availability, my ISP makes my crazy...



[ Reply to This | # ]
Thank you!
Authored by: jhf on Nov 22, '06 09:08:48AM

I am very happy to see this; I will have many uses for it. Yay!

I have successfully built and used this on Linux as well, after removing the "-arch ppc -arch i386" bit from the Makefile.



[ Reply to This | # ]
Control dynamic net mappings on AirPort Base Stations
Authored by: mr.ghost on Nov 25, '06 10:01:02AM
Hmm. I've found this http://www.codelaide.com/blog/products/lighthouse today.
I think i have no need to continue natpmpmap development.

[ Reply to This | # ]
Control dynamic net mappings on AirPort Base Stations
Authored by: ascanio on Nov 27, '06 09:51:03AM

For one, Lighthouse is not free...



[ Reply to This | # ]