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:

SERVER_ALLOWEDIPS_PEER_laptop="192.168.1.0/24,192.168.2.0/24"

Desired variable example:

ALLOWEDIPS_PEER_laptop=“192.168.1.0/24,192.168.2.0/24”

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