Add comment for double nat

This commit is contained in:
Arnaud 2026-05-25 12:06:55 +04:00
parent 4457c4856d
commit f68dd0b037
No known key found for this signature in database
GPG Key ID: A6C7C781817146FA

View File

@ -50,7 +50,7 @@ proc setFiltering*(r: NatRouter, filtering: FilteringBehavior) =
proc allowInbound(r: NatRouter, remote: TransportAddress, localPort: Port): bool =
case r.filtering
of DoubleNat:
return false
return false # always blocks: simulates a scenario where inbound connections are never possible
of EndpointIndependent:
return true
else: