mirror of
https://github.com/logos-storage/logos-storage-nim.git
synced 2026-06-27 21:09:28 +00:00
Add comment for double nat
This commit is contained in:
parent
f68dd0b037
commit
ede9bb1bfe
@ -50,7 +50,9 @@ proc setFiltering*(r: NatRouter, filtering: FilteringBehavior) =
|
||||
proc allowInbound(r: NatRouter, remote: TransportAddress, localPort: Port): bool =
|
||||
case r.filtering
|
||||
of DoubleNat:
|
||||
return false # always blocks: simulates a scenario where inbound connections are never possible
|
||||
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