• Stars
    star
    138
  • Rank 264,508 (Top 6 %)
  • Language
    JavaScript
  • Created over 12 years ago
  • Updated over 12 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Forwards external public ports to internal ports without router access.

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!

More Repositories

1

colors.js

get colors in your node.js console
JavaScript
5,152
star
2

faker.js

What really happened with Aaron Swartz?
1,522
star
3

say.js

TTS (text to speech) for node.js. send text from node.js to your speakers.
JavaScript
1,476
star
4

pdf.js

Project Deprecated
JavaScript
399
star
5

node_mailer

## Project deprecated, see README
JavaScript
388
star
6

translate.js

translate text from one language to another on node.js and the browser. 30+ languages supported, simple as cake.
JavaScript
309
star
7

asciimo

asciimo - create awesome ascii art with javascript! works in the browser or node.js
JavaScript
281
star
8

webservice.js

## Project deprecated, Use flatiron/restful instead
JavaScript
253
star
9

JSONloops

JSONloops is a real-time, multiuser audio sequencer for node.js and the browser.
JavaScript
184
star
10

bpipe

Browser <==> Unix Pipes
JavaScript
159
star
11

play.js

play sound files from node.js to your speakers, simple as cake and kid approved!
JavaScript
159
star
12

buddypond

Cloud OS and Instant Messenger
JavaScript
148
star
13

cron-editor

Visual Cron Editor - Edit and Create Cron Jobs With Ease
JavaScript
138
star
14

HTML

HTML is The BEST JavaScript templating language EVER
JavaScript
99
star
15

session.js

super simple session middleware for node.js, even has optional "magic" sessions which monkey patch the httpServer with one line!
JavaScript
95
star
16

JSLINQ

Clean and simple port of Microsoft's LINQ to node.js (and the browser)
JavaScript
92
star
17

zztmmo

a zzt based massive multiplayer online game built in node.js and jQuery
JavaScript
68
star
18

The-Git-Rap

WORLD PREMIER EXCLUSIVE GIT RAP BROUGHT TO YOU BY GITHUB
64
star
19

node_hash

a super simple hashing library for node.js
JavaScript
58
star
20

roles.js

a super simple node.js JSON based roles management system
JavaScript
58
star
21

zalgo.js

ĭ̱͓̝̭̱͓̃̅͊ͬͫ̏̅ ̣͙̥̥̺͎̱̻̗̘͖́͆̎ͭ͛̊̔̽̂ͭ̽͊ͅa͎̬̣̺͉̼̬̭͚̝͖͕͇̠̥̬͍̥̪̬̪͓͇̬͓̲̹͈̼͚̥̜̙̩̠̤̖̖̫͔̭͍̘̰̳̥͖͚̱͙̻ͯ̓͗̈̌̿̾̈̐̓͗͑̃̔̿̄̚m͙͍͔̙̪͓̩͚̣͙̘̟̞͙͍̺͕̜̻̯͇͉͇̠̙̬͉̖̞̫͇͍̹̖̝̣ͫ͑̈ͥ̀̑͊͆̿ ̬̰̮͉̭̬͙̫̙͖̪̮͎͎͕͉̠̜̦͍̹̦̥̳̙̬̺̲͙͈̹̹̠̘͔̙ͨ̇͊̉͂͆ͬͯ̄̃ͪͅz͓͇̱̝̭̜̫̞͚͉̭̫̞͇̮̟̫̗̼̟͐ͦ͗̈̀͌͒̽̆ͧͭ̈͂̾̇̃̂ͅa̹̜̭͔͇̬͍̟̤͈̙̯͍͕͈͇̱̞͖̼̥̺͉̍̑̒̎l͙̙̼̰̩̟̗̙̝̜̙̺̖͍̜̞̤̞͔͖̞̘̣͍̖̰̙͔̖̳̼͐̓̾̇̑ͤ͆̈̎̔̇̃̐͒g͔̦͖̞̯͙̠̭̫̜͈̺̮̠̜̻̱̥̙ͦͧ̉͆̊̎̐ͅo͍̥̹̮͔̣̮̜̱̫̼͚̘̮̝̰̣̼͕͉͕͖̼̫͓̠̣͖̼̦͍͍̟̗̤̖̤̞̞͇̠̟̥̻͎̩̠̭̲̞͇͙̦̣̬͉̱̳͙̫̫͈̻̊̓ͫ̈ͅͅ,̼̦͓̤̘̦͖͈̜̭̩̯̹͈̭̜̙̞̿͊ͩ̄̐ͨ͐̈̎̒̉̆̍ͪ̀̿̍̌̚ ̞̳͉̮̯̱͉̜̰̜͔͈͓̹̻̭͔̖̟͓̭̜͎̰̹̪̭̖͇̟̗͕̠̞̳̤̯͕̠̳̙̘͛ͫ̅̓̿ͥ̓d͎͖̲̝̲̩̹̲̬̪̖̦̯͖̩̤̫͎̠̖͚̘̋͂̉̑̍͒̎ͅe̟͔͍̺͔̖͕̺̰̯͎̞̥̠͙̮͚̪̝͇̱̺̗̻̫̝͚͍͉̪͚̫͚͓͓̩̘͖͎̣̞̹͍ͯ̋̾ͪͮ́s̬͎͍̻͍̹̘̣͕̰͍͔̱̯̜̰̹̥̐̇̆͊ͯ̈ͮ̇̍̎̆ͥ̆̌̍̋̈̽̍ͅt͖̩̺̫̘̰̬̝̙̰̱̦̹͓̦͍̩͖̤̩͉̭̳̲̬̘̮̥̠̤̺͇͈̩̺̞̗̰̘͚̯̦̺̤̥̞̞̻̯̳͙͕̹̜̩͔̫̺̖͍̺́͋ͫ̿ͨ̿ͩ̀͊͌͐͛̂̊̄ͅͅr͎̺͕̟̦̩̙̯͓͈̪̜̤͎͔̯͕̫͉͇͓͔̘̪̝̤̩̣̺̮͉̘̠̠̣̟̮͚̠̘̹͓̥͉͖͓̞͍͖̼̯̤̦̟͔̦̖͔͙̝̫͓͉̖̳̞̅͐ͩ̔̄ͯ͌́̋̒ͧ̽͆̀o̮̳̞̭̪̣͙̰̭̱̺̬̻͙̰̰̣̪̩̱̫̱̞̣͇̭̫̺̙̹͓̭͕̮͕̞̦̗̾͒̉̍̌ͯý͖̖̗̲̥͉̹͚̝̫̟͕̭͖͉͍͇͎͓̣̭̗̤̩͖̼̪͙̣̖̣͓̮̯̤̙͇͖̠̮̦̭̙̝͖̦̞̠̩̺̼̱̱̦̤̥̮̲̻̬̱̋ͪ̓́̒͆̓ͥ͋̓̉̎ͣ̇̍̚ͅe̬͙̱̬͕͚̞̯͎̻̟̙̪̙̝̥̣̫̲̮̖̪ͬͣͭ̉̾ͪ̐ͫ͒̈ͅr̭͓̥̯̘̗̮͍͓̰̦̬͈̖̖̟̹̥̼͙͔̭̪̩͉̠̠̬̜̺̞̘̳̭͔̥̗̱̠͕̠͉̳̻̫̖̘̬̺͍̠͔͙̻̮͉̩̲͈̳̞̊͑͒̿̃̊̉͌̂ͧ̃ͨͬ̅̿ͅͅͅͅͅ ̬̺͚̤͎͓̦̻̻̠͙͎̬̣͖̹͕̫̭̝̗̞͖̣̥̯͉͚̮̗̩̭͛ͭͭ̽ͥ͐͐͆͌ͅo̹̦͈̭̰̬̲̣͓̩͓̖̟͓̼͓̬̾́ͪͬ́ͯ̉̃̒ͫ̌̔ͣ̊ͤ̀ͅf͙̱͚͙̰̳̞̹̠̭̲̮̰͍̼̦̯̳̮͚̝͍̙̻͒ͥ́̐̄͑ͣ ̞̹̮̹̹̲̻̝ͫͫ̓̒̚ẉ̹̘̲̗̟̯͖̲͈͕̮͍̯̟͚̩͖͚̖̭̗͛̔̏̇͆̈̃ͤ̎̎͊ͅe̮͈͔̱͇̩̗͖͕͙̯͎̮̬͈̤͕̣̺̼̰͉̗̙̹̦̤̋̐͐͊̔͋̇b̳̝̱͖̥̘͙͈̻̯̰͕̪̜̻͓̩̙̻̭̗̝̲̘̼̰̘̗̳̪͓̠̗͈͕̰͚̣̱̖̼̺̬̯̻̞͙͈̜̖̪͓̣͎̮͑ͤ̈ͯͩͧͯ̍̍ͯ̉͗̎̎͌̿̌͌s̲͉̦̠̣̺̬͇͙̥̪̖̼͉͉ͣ̃̌͋̀ͮ͗̊̉͂͑̿̑͂̄i̱̪̣̪̭̖̙͔̥͚̳͙̻̪̺̲̞͖̻̠͓̻̹̖͔͔̲̣̤̘̪̩̬͇͉͎̰͕̫̭͓̿͐́̈ͦ̊ͮ̉͌ͨ̏ͨͩ̿̆t͖͙͉͎͓̩̻͖͍͚͓͇̞̲̤͚̳͓̪̟̙̗͕͔̦̫̗͍͔̦͇̪͕͉͙̦̬̐͌͊ͮͅe̝̫̤̠͎͇̟̟͔͓̻̤̼͚̥̤̗̘̰͚̘̪͉̻̥͓̟̘̘̹̼̲̲͚̝̯̱͍͍̜͈̪͕̟̝͕͖̝͕̰̣͙̺͎̜͇̜͕͇̗̘ͥͮͥ̌̉̾ͯ͗ͅͅͅͅs͔̯̗̩͔̪̼̲̫̼͙̼̰̟̥͙̠͕̳̣̯͔̮̥̝̠̤̝͍̤͉͚̖̯͖̰̱̹̜̞͈̭̞͖̓͊́̾̍̑͐ͩͅͅ
JavaScript
55
star
22

javascript-fu

a javascript martial arts library for node.js and the browser. destroy the bad parts with ninja-like precision
JavaScript
50
star
23

ANSIdom

a DOM implementation in ANSI escape codes, render HTML to your terminal
JavaScript
37
star
24

node-raps

a community based rap project to teach and promote node.js
36
star
25

xp

agile programming tools in Coffeescript
CoffeeScript
32
star
26

ohh

share content, have fun, make friends
JavaScript
29
star
27

wizard

experimental configuration wizard that transforms json and json-schemas into user-experiences
JavaScript
25
star
28

ayyo-wars

An open and hackable 2D space battle game
JavaScript
24
star
29

hellonode

( used for testing ) a sample node.js application with a well-formed package.json that has contains required fields for nodejitsu deployment
JavaScript
19
star
30

node-kiwf

kill it with fire, in-process node.js process kill-switch, forces node processes to crash based on certain restrictions like memory usage or uptime
JavaScript
18
star
31

machine.js

turn css selectors into state machines
JavaScript
17
star
32

station

a real-time web i/o reporting application built with hook.io
JavaScript
17
star
33

css_to_json

converts .css files into nested json structures ( json-stylesheets )
JavaScript
16
star
34

the-monolith-versus-the-microservice

a tale of two applications. one built as a monolith. the same built with microservices
JavaScript
15
star
35

vinyl-http

push and receive streams of vinyl over http
JavaScript
11
star
36

prototype-hooks

add before and after hooks to any JavaScript prototype chain
JavaScript
10
star
37

mybuddy

JavaScript
10
star
38

data-behaviors

open-source uber unobtrusive behavior (widget) library built with jQuery. uses HTML5's data-attributes, but still works in IE6
JavaScript
10
star
39

node-backbone-request

A syncing engine for server-side backbone.js built on the request library
JavaScript
10
star
40

node-stats

various tools for crunching node.js community data. mostly incomplete.
JavaScript
7
star
41

vinyl-diff

Perform diffs of vinyl file streams
JavaScript
5
star
42

tracker.js

JavaScript
5
star
43

analog-tv-simulation

simulated analog tv presentation for speakeasy js oct 16 2020
JavaScript
5
star
44

Internet_Money

5
star
45

ePlaying-cards

Software and hardware project for e-paper based playing card deck.
Python
4
star
46

senpai

a digital protege for maintaining your open source empire
JavaScript
4
star
47

microtail

HTTP microservice for easily and safely mapping Unix `tail` commands on your server to authenticated public URLs.
JavaScript
3
star
48

badproject

( used for testing ) an example of a malformed node.js package.json
JavaScript
3
star
49

resourceful-coder

Converts Resourceful resources back into the JavaScript code which created them. Not something you probably need.
JavaScript
3
star
50

command-line-signups

JavaScript
3
star
51

resource-builder

UNRELEASED - simple UI for building Resourceful resources
JavaScript
3
star
52

SupremeJSONCompressor

The Supreme JSON Compressor™ is the world's best JSON Compressor / Decompressor.
JavaScript
3
star
53

buddypond-assets

2
star
54

marak.github.io

JavaScript
2
star
55

badjitsu

( used for testing ) an example of a node.js package.json which is missing required fields for nodejitsu deployment.
JavaScript
2
star
56

marak.com-legacy

website for marak.com
JavaScript
2
star