Skip to content

Prabesh01/portmap

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Prerequisites

  • python 3.6 or above

Installation

Install portmap from PIP

pip install git+https://github.com/Prabesh01/portmap.git

Usage

$ portmap 5000
Any requests to 91.208.197.189:3456 will me mapped to port 5000 on this computer.

If you get command not found error, download portmapc.py, and run it:

$ python portmapc.py <port>

Self-hhost:

In server, install netmask and run this python script:

from netmask.server.main import NetmaskServer

server = NetmaskServer('0', False).start('<server_public_ip>', '-',1024)

in client, fork this repo -> replace your server ip in portmapc.py -> pip install that repo.

About

Ready-to-use TCP network tunneling solution | free ngrok alternative

Topics

Resources

License

Stars

Watchers

Forks

Languages

  • Python 100.0%