/**
* Register port mapping on the external interface to internal interface.
*
* @param proto target protocol
* @param maddr ip address of the external interface
* @param mport mapped port on the external interface, in host byte order.
* @param daddr destination ip address
* @param dport destination port, in host byte order.
*/
u8_t ICACHE_FLASH_ATTR
ip_portmap_add(u8_t proto, u32_t maddr, u16_t mport, u32_t daddr, u16_t dport);
However, this is not yet availabe on the console interface. Up to now this has to be added directly in the code.
Perhaps I will try to add this next weekend as my new project requires it anyway...