Skip to content

A lightweight port mapping/forwarding/relaying utility written in Go

Notifications You must be signed in to change notification settings

Xusser/PortMapper-Go

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 

Repository files navigation

PortMapper-Go

A lightweight port mapping/forwarding/relaying utility written in Go

Features

  • Support domain as target address
  • Small size, single executable
  • Support traffic limit(max speed/ burst speed/ data caps)

Running

# TCP Only
./portmapper -l 0.0.0.0:3389 -r example.com:3389 -t

# both TCP and UDP
./portmapper -l 0.0.0.0:3389 -r 192.168.1.2:3389 -t -u

# both TCP and UDP, maxmium speed 10Mbps, burst speed 20Mbps, data cap 1GB
./portmapper -l 0.0.0.0:3389 -r 192.168.1.2:3389 -t -u -rate 10 -burst 20 -cap 1GB

About

A lightweight port mapping/forwarding/relaying utility written in Go

Topics

Resources

Stars

Watchers

Forks