first commit
This commit is contained in:
21
README.md
Normal file
21
README.md
Normal file
@@ -0,0 +1,21 @@
|
||||
# WireGuard ansible role
|
||||
|
||||
Configure wireguard
|
||||
|
||||
## Usega
|
||||
|
||||
Configure the role
|
||||
|
||||
```yml
|
||||
wireguard_interfaces:
|
||||
wg01:
|
||||
interface:
|
||||
Address: 10.0.0.1
|
||||
ListenPort: 51820
|
||||
PrivateKey: "{{ wireguard_private_key }}"
|
||||
peers:
|
||||
- AllowedIPs: 10.0.0.0/24
|
||||
PublicKey: "{{ wireguard_public_key }}"
|
||||
Endpoint: 1.1.1.1:51820
|
||||
PersistentKeepalive: 25
|
||||
'''
|
||||
Reference in New Issue
Block a user