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

netsh routing ip nat add portmapping "<lan name>" tcp <caller ip> <listening port> <target ip> <target port>
Short command line to redirect tcp received traffic.

*lan name: is the windows lan's name for connection
*caller ip: origin ip address ( 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

Be the first to comment

You can use [html][/html], [css][/css], [php][/php] and more to embed the code. Urls are automatically hyperlinked. Line breaks and paragraphs are automatically generated.