Allow specifying both internal and external port in portmapping API.
Turn on more debug.