3 ms·
Almost: It specifies which addresses or ranges the remote peer can send packets from. Basically, if a packet comes in on the interface with an address that's no
by StavrosK 8y ago
Almost: It specifies which addresses or ranges the remote peer can send packets from. Basically, if a packet comes in on the interface with an address that's not in AllowedIPs, it gets dropped. That's why for the "tunnel everything" example, the AllowedIPs are "0.0.0.0/0", i.e. a wildcard, so that packets from all addresses are allowed to come in from the remote server.
EDIT: I've updated the article with more information and a link to the official docs, which explain this better.
- codethief 8y agoAhh, that makes sense. Thanks a lot!