If you've wanted to forward your ports programmatically before, and have a NAT-PMP compatible route (basically an Apple router), then this module is for you. You can get what the router believes is the external IP address, as well as open and close UDP and TCP ports to the computer sending the commands.
I recently ran into the need to forward a port on my home router without having access to the Airport Utility running at my home. This was the solution, to run a quick node script to open the SSH port for an hour while I did my thing. And no router configuration or rebooting was required, so it served my need perfectly. Hopefully you may enjoy it as well. Cheers! npm: https://npmjs.org/package/nat-pmp GitHub: https://github.com/TooTallNate/node-nat-pmp -- Job Board: http://jobs.nodejs.org/ Posting guidelines: https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines You received this message because you are subscribed to the Google Groups "nodejs" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/nodejs?hl=en?hl=en
