mirror of
https://github.com/logos-storage/logos-storage-nim.git
synced 2026-07-01 23:09:30 +00:00
Add comment for double nat
This commit is contained in:
parent
4457c4856d
commit
f68dd0b037
@ -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:
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user