Install:
git clone https://github.com/deepzec/Win-PortFwd.git
Usage:
.win-portfwd.ps1
or
powershell.exe -noprofile -executionpolicy bypass -file .win-portfwd.ps1
Example :
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.