Create Netsh Port Proxy via Commandline

Description

Runs netsh interface portproxy command to create a TCP redirector.

Overview

Creates a TCP redirector using netsh commands.

Arguments

Parameter Type Description
LHost string The listening interface IP on the current system.
LPort int The listening port on the current system.
RHost string The destination host to proxy connections to.
RPort int The destination port to proxy connections to.

Dependencies

  • None

Prerequisites

  • Requires a high integrity process.
Scroll to Top