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