TCP Port Mapper 1.77

by Vitaly, Wednesday, December 9th, 2015

TCP Port Mapper 1.77 released.

New version supports options to connect via proxy:
ConnectProxyHost, ConnectProxyPort, ConnectProxyMode, ConnectProxyUser, ConnectProxyPass.

Example. Listen all SOCKS requests from a web browser or an application and forward the requests to Fiddler.

IE Internet Options->LAN Settings->Advanced->Proxy Settings:

ie-socks-configure-tn

portmapcfg.ini:

ListenPort=1080
ProxyMode=SOCKS4
ConnectProxyMode=CONNECT
ConnectProxyHost=127.0.0.1
ConnectProxyPort=8888
DNSHost=8.8.8.8
DNSPort=53
DNSHost2=8.8.4.4
DNSPort=53

More deatils: TCP Port Mapper Help.

Tags: , , ,


TCP Port Mapper in Proxy mode: how redirect all traffic to the specified host:port.

by Vitaly, Friday, July 31st, 2015

When TCP Port Mapper (tcpportmap) acts as a proxy (ProxyMode has one of the values: HTTP, CONNECT, SOCKS4 or SOCKS5), then MapToHost and MapToPort can be used to forward all traffic to the specifed host:port.

For example, let ProxyMode=CONNECT and TCP Port Mapper has received this command from the client:

CONNECT www.google.com:80 HTTP/1.1
  1. If MapToHost=127.0.0.1, MapToPort=8080 then TCP Port Mapper will establish connection to 127.0.0.1:8080.
  2. If MapToHost=127.0.0.1, MapToPort is not specified (or zero) then TCP Port Mapper will establish connection to 127.0.0.1:80.
  3. If MapToHost is not specified (or empty), MapToPort=8080 then TCP Port Mapper will establish connection to www.google.com:8080.
  4. If the both MapToHost and MapToPort are not specified then TCP Port Mapper will establish connection to www.google.com:80.

Tags: ,


IPv6 support for TCP Port Mapper

by Vitaly, Friday, June 26th, 2015

TCP Port Mapper 1.70 released.

Now IPv6 addresses can be used in all settings: ListenIP, MapToHost, MapArray, MapFromFile, MapFromUrl etc.

It is preferred to enter IPv6 addresses, enclosed in square brackets. That allows to extract the Port from the IPv6:Port.
Example of the IPv6 address: [2001:4860:4860::8888].

If the ListenIP setting is not specified (or ListenIP=ANY) you can set SrvIPv6=Yes.
That allows to force listening incoming IPv6 connections.

If the both IPv4 and IPv6 addresses are exist for the destination host, TCP Port Mapper will use IPv4 address. To force using IPv6 address you can set: CntIPv6=Yes.

Tags: ,