Enhance the "AllowedIPs"

Aaron Jones me at aaronmdjones.net
Mon Mar 15 14:57:38 UTC 2021


On 15/03/2021 13:31, Lonnie Abelbeck wrote:
> For giggles, I though this might be a clever solution:
> --
> [Peer]
> PublicKey = <remote PublicKey>
> Endpoint = remote-vpn:51820
> AllowedIPs = 0.0.0.0/0, ::/0
> 
> [Peer]
> PublicKey = <local PublicKey>
> Endpoint = 127.0.0.1:51820
> AllowedIPs = 192.168.0.0/16
> --
> 
> I tested, but wg silently ignores peers to itself.
> Lonnie

Indeed; but nothing prevents you from terminating it with a different
local WireGuard interface with a different private key.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_signature
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <http://lists.zx2c4.com/pipermail/wireguard/attachments/20210315/1a4d97f2/attachment.sig>


More information about the WireGuard mailing list