Archive. Date of access: 12 Jan 2022

Marak Squires 71e2cf13e9 [dist] Bump to v0.0.2 hace 12 años
bin bd74d5f8df [dist] Added ascii-art and screenshots. hace 12 años
config 792d164bfd [dist] First Commit hace 12 años
lib 20db74a38b [minor] [ux] Showing IP as right format. Added warning about restarting services. hace 12 años
screenshots bd74d5f8df [dist] Added ascii-art and screenshots. hace 12 años
README.md cb1d1bf2a1 [docs] Updating README hace 12 años
package.json 71e2cf13e9 [dist] Bump to v0.0.2 hace 12 años

README.md

natman

natman forwards external public ports to internal ports without router access.

It's a Network Address Translation Management tool built on node.js

Installation

 npm install natman -g

Usage

 natman open <internal private port> <requested public port>

Open internal port 8000 to the world

 natman open 8000

Note: If no requested public port is specified, public port will be auto-assigned

Open internal port 8000 to the world on port 9000

natman open 8000 9000

Note: If the requested public port is not available, one will be auto-assigned

Built in services

For convenience, Natman comes with a configurable list of built in services. You can customize this list by modifying the natman.json file.

Simple type: natman open <service> <requested public port>.

 natman open ssh
 natman open http
 natman open https
 natman open ftp

Specify Network Gateway

Natman attempts to guess which network to use. If it guesses wrong, use the -g flag to specify a gateway.

Example:

 natman open ssh -g 192.168.10.1

Thanks

To TooTallNate for making the node nat-pmp module and to Flatiron for making this easy to build.

TODO

  • Add ability to run multiple instances of CLI tool at once
  • Add better support for determining the local network interface gateway
  • Improve CLI Experience







*nananananananana Natman!