Join GitHub today

GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.

Sign up

Powershell script to setup windows port forwarding using native netsh client

Powershell script to setup windows port forwarding using native netsh client

Install:

git clone https://github.com/deepzec/Win-PortFwd.git

Usage:

.\win-portfwd.ps1

or

powershell.exe -noprofile -executionpolicy bypass -file .\win-portfwd.ps1

alt text

Example :

alt text

Note: This script require admin privileges to run, it will automatically try to elevate the privilges if you are running this script under normal user privileges.

Author : Deepu TV ; Feel free to contact me @twitter.com/DeepZec