Giter Site home page Giter Site logo

natman's Introduction

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!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.