Add wireguard server config
This commit is contained in:
9
ansible/roles/gateway/files/wireguard.conf
Normal file
9
ansible/roles/gateway/files/wireguard.conf
Normal file
@ -0,0 +1,9 @@
|
||||
[Interface]
|
||||
Address = {{ wireguard.server_ip }}
|
||||
PrivateKey = {{ wireguard.server_private_key }}
|
||||
ListenPort = {{ wireguard.server_port }}
|
||||
|
||||
[Peer]
|
||||
# intersect
|
||||
PublicKey = {{ wireguard.intersect_public_key }}
|
||||
AllowedIPs = {{ wireguard.intersect_ip }}/32
|
Reference in New Issue
Block a user