diff --git a/storage/nat.nim b/storage/nat.nim index 07c56b2d..3ddccd27 100644 --- a/storage/nat.nim +++ b/storage/nat.nim @@ -161,6 +161,8 @@ method handleNatStatus*( if dialBackAddr.isNone: warn "Got empty dialback address in AutoNat when node is NotReachable" + if m.tcpMappingId.isSome and m.udpMappingId.isSome: + m.close() elif m.tcpMappingId.isSome and m.udpMappingId.isSome: warn "Not Reachable with active port mapping. The port mapping will be deleted and relay will start."