Windows: 7/Vista/XP/2K tcp tunneling

PHOTO EMBED

Sun Aug 28 2022 01:44:59 GMT+0000 (Coordinated Universal Time)

Saved by @marcopinero #bash

netsh routing ip nat add portmapping "<lan name>" tcp <caller ip> <listening port> <target ip> <target port>
content_copyCOPY

Short command line to redirect tcp received traffic. *lan name: is the windows lan's name for connection *caller ip: origin ip address (0.0.0.0 for any) *listening port: is the local tcp port number to open for listening * target ip: is the target ip address where traffic will be redirected to * target port: is the target tcp port number of target ip