Search notes:

netsh interface

TODO

Dynamic port range

View the dynamic port range for TCP/IP:
PS C:\Users\Rene> netsh interface ipv4 show dynamicport tcp

Protocol tcp Dynamic Port Range
---------------------------------
Start Port      : 49152
Number of Ports : 16384
Setting the dynamic port range for TCP:
PS C:\Users\Rene> netsh int ipv4 set dynamicport tcp start=1024 num=30000

Forward IP traffic

Forward IP traffic connecting to the local port 80 address to the port 8080 on 192.168.1.222:
netsh interface portproxy add v4tov4 listenport=80 listenaddress=0.0.0.0 connectport=8080 connectaddress=192.168.1.222

Index