apiVersion: v1alpha1
kind: WireguardConfig
name: wg.int
privateKey: GA1E1VB+g41Dl0+UH2TMW9C5953y+moVg6JIIqkJbmw= # private key of this machine
listenPort: 5042 # optional
peers:
- publicKey: 735jkJdcVDninU5PzLJ/S+bfN6Q3QOk6svWrVLMJQAk= # public key of another machine
allowedIPs:
- 10.0.0.2/32 # overlay address of another machine
endpoint: 192.168.1.2:5042 # endpoint to connect to, only one of the peers needs to specify this
- publicKey: uvdlJNva1X8/OCOZM+0gGT4Yu9x20odd3AWbbQUF7nM= # public key of yet another machine
allowedIPs:
- 10.0.0.3/32 # overlay address of yet another machine
up: true
addresses:
- address: 10.0.0.1/32 # overlay address of this machine