| giolekva | 6b879db | 2020-06-10 21:00:39 +0400 | [diff] [blame] | 1 | [Interface] |
| 2 | # Assign you an IP (that's not in use) and add it to server configmap |
| 3 | Address = 10.0.0.2/24 |
| 4 | # generate private key using `wg genkey` |
| 5 | PrivateKey = WKWEjmmiOgZfhlS4LSmQpG0FEo5uvUc27i+ysTOqwmQ= |
| 6 | #PostUp = iptables -A FORWARD -o %i -j ACCEPT |
| 7 | #PostDown = iptables -D FORWARD -o %i -j ACCEPT |
| 8 | DNS = 8.8.8.8 |
| 9 | |
| 10 | |
| 11 | [Peer] |
| 12 | # Wireguard server public key |
| 13 | PublicKey = Wq2JWFJI4aU1Mhoy5+bKTTWN5Lm84rpj61dPGNsUWnw= |
| 14 | # LoadBalancer IP (replace with your LoadBalancer ip) |
| 15 | Endpoint = 192.168.0.111:51820 |
| 16 | AllowedIPs = 0.0.0.0/0 |
| 17 | PersistentKeepalive = 25 |