Giter Club home page Giter Club logo

porttunnel's Introduction

PortTunnel

NOTE: This is only intended for use on Windows and targets .NET Framework 4.0

A simple port forwarding/tunnelling utility (think Chisel but simpler, if all you want to do is reverse port tunnelling).

This lets you forward TCP connections from your own machine on to a remote machine, but sends the data over a separate "tunnel" that was created by the remote machine (bypassing inbound firewall rules on the remote machine, and allowing you to remotely access ports that are only listening for local connections). Full video explanation of port tunnelling concept here: https://www.youtube.com/watch?v=JDUrT3IEzLI

Still needs more testing and optimisation, but does the job for now.

Full documentation of usage here: https://vbscrub.com/tools/porttunnel-pt-exe

Example

To allow remote access to the powershell remoting port (5985) on a machine that is only listening locally or has firewall blocking it:

On your own machine that has an IP of 192.168.0.10:

PT.exe -p 5985

On the remote machine:

PT.exe -s 192.168.0.10 -p 5985

Now when you connect with powershell to your own local machine like so, it will actually connect to the remote machine:

Enter-PsSession localhost

porttunnel's People

Contributors

vbscrub 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.