Registry key:
HKLM\SYSTEM\CurrentControlSet\Services\PortProxy\*
IPv4 endpoint to IPv4 endpoint: v4tov4\tcp subkey.
Overview
The PortProxy registry key stores the port forwards configured on the local
system using the netsh built-in utility.
Information of interest
The port forwards configured are stored in subkeys under PortProxy depending
on their parameters:
-
A first level subkey is based on the IP address source and destination versions (
IPv4orIPv6). The following values are supported bynetsh:v4tov4,v4tov6,v6tov4, andv6tov6. -
A second level subkey is based on the
transport layerprotocol of the port forward. OnlyTCPis currently supported by netsh.
Each port forward configuration is then stored as a value under the second level subkey, with the value’s name referencing the local endpoint and the value’s data storing the remote endpoint.
Example for a port forward that redirect connections received on localhost port
TCP 4444 to 10.2.3.4:1234:
PortProxy
v4tov4
tcp
Value name: 127.0.0.1/4444
Value data: 10.2.3.4/1234
References
View on GitHub