Sign inSign up

juzheng/portmap-simple

By juzheng

•Updated over 9 years ago

A simple portmap client.

Image
0

289

juzheng/portmap-simple repository overview

⁠portmap-simple

A very simple portmap client.

Usage:

./portmap -m method [-h1 host1] -p1 port1 [-h2 host2] -p2 port2 [-v] [-log filename]

-v: version

-h1: host1

-h2: host2

-p1: port1

-p2: port2

-log: log the data

-m: the action method for this tool

1: listen on PORT1 and connect to HOST2:PORT2

2: listen on PORT1 and PORT2

3: connect to HOST1:PORT1 and HOST2:PORT2

Example:

./portmap -m 2 -p1 6666 -h2 0.0.0.0 -p2 7777 #port 6666(input)->7777(output)

./portmap -m 3 -h1 127.0.0.1 -p1 22 -h2 1.1.1.1 -p2 6666 #port 22(local)->6666(another server which is running portmap)

Tag summary

Content type

Image

Digest

Size

141.6 MB

Last updated

over 9 years ago

docker pull juzheng/portmap-simple