wg-bond
wg-bond copied to clipboard
Specify subnet for peers
by @devhell, apparently
It would be great to be able to define subnets for peers, so something like this is generated:
[Interface]
Address = 10.0.0.7/32 <<- this here
PrivateKey = 8ONdwmjqfHOObQBcxWgHPNtNAzcmT3CRHqhID9mRwVY=
DNS = 10.0.0.1
[Peer]
PublicKey = Fk7JOZIZAtggbCcHMyD+99PtJTvjAEuu4bbQv6vqYkI=
PresharedKey = sY+hDUQMF+O252ee2lLRi1O5DwgacQx7k0/Pos2mTPg=
AllowedIPs = 10.0.0.0/16 <<- and this here
Endpoint = xxx.xxx.xxx.xxx:51820
PersistentKeepalive = 21
orig: https://gitlab.com/cab404/wg-bond/-/issues/35