Git Product home page Git Product logo

portmapper's Introduction

portmapper

Intercept and remap TCP or UDP traffic over ports of your choosing.

Output from /?:

Port Mapper - Intercept & remap TCP or UDP traffic over ports of your choosing.

Version: 0.0.1

   /remap [tcp:#:# | udp:#:#]  [/debug]

      /remap [tcp:#:# | udp:#:#]    Specifies which TCP/UDP ports to remap. You
                                    may provide more than one set to remap.
                                    Format is protocol:currentport:newport

      /debug                        Print all packets before/after modification


Examples:
      portmapper.exe /remap tcp:80:8080
      portmapper.exe /remap udp:5000:6767 tcp:25:443 tcp:500:125 /debug

The binary was compiled with Visual Studio 2013, so you'll need the Visual C++ 2013 redistributables installed to run them as is. Of course, you can also compile source.cpp with the compiler of your choice as well.

I wrote this as I couldn't reach some key ports to use SMB and a few other services due to ISP port filtering. I remapped traffic from ports 137, 138, 139, and 500 over ports that weren't filtered and did the same in reverse with Endpoint Mapping on sever side. You can read a little bit more on this at https://blog.internals.io.

Big thanks to the WinDivert project for making this possible! Their awesome library does all the heavy lifting :)

portmapper's People

Contributors

dfct avatar

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.