Wireguard docker environment variables - set 'Allowed IP' for specific peer

Hi All,

Loving how amazingly easy this was to setup!

The only thing I’ve not figured out is if it is possible to specify ALLOWED IP for a specific peer. Similar to how can be done with the site2site guide.

Current example:


Desired variable example:


No, because you can always edit the peer conf before (or after) importing into the client.

The server one has a var, because the server’s conf is only partially editable via the template

Normally you just do this client side, assuming you’re telling your laptop peer what it accesses over the tunnel