if (gatewayDevice != null) {
gatewayDevice.deletePortMapping(this.externalPortTCP, "TCP");
gatewayDevice.deletePortMapping(this.externalPortUDP, "UDP");
}
GatewayDiscover discover = new GatewayDiscover();
discover.discover();
gatewayDevice = discover.getValidGateway();
if (gatewayDevice == null) {
LOGGER.info("no UPNP device found");
return false;
}