Install and provision wireguard client on ingress server
This commit is contained in:
10
ansible/roles/ingress/files/wireguard.conf
Normal file
10
ansible/roles/ingress/files/wireguard.conf
Normal file
@ -0,0 +1,10 @@
|
||||
[Interface]
|
||||
Address = {{ ingress_wireguard.ip }}
|
||||
PrivateKey = {{ ingress_wireguard.private_key }}
|
||||
|
||||
[Peer]
|
||||
PublicKey = {{ wireguard.server.public_key }}
|
||||
Endpoint = {{ wireguard.public_ip }}:{{ wireguard.port }}
|
||||
AllowedIPs = {{ wireguard.cidr }}
|
||||
|
||||
PersistentKeepalive = 25
|
Reference in New Issue
Block a user