<hostname or IP address>:port=<new port>
192.168.0.1:80=443 192.168.*=443 *.somewhere.ru:20477=1055
If original destination port number is ommited then 80 (http) port will be used
Replacement will occur after the checking address for "direct". It means if address is direct then no replacement will be.