Update repo
This commit is contained in:
parent
c329f8fd71
commit
8e244c4504
2 changed files with 3 additions and 3 deletions
|
@ -1,11 +1,11 @@
|
|||
---
|
||||
# Default values for variables of the role
|
||||
# variable_name: value
|
||||
address: '192.168.2.1/24'
|
||||
wg_server_address: '192.168.2.1/24'
|
||||
listenport: '1928'
|
||||
privatekey: ''
|
||||
interface_name: wg0
|
||||
clients:
|
||||
- name: client1
|
||||
PublicKey: 'Som3thing='
|
||||
AllowedIPs: '192.168.2.2/32'
|
||||
AllowedIPs: '192.168.2.2/32'
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
[Interface]
|
||||
Address = {{ address }}
|
||||
Address = {{ wg_server_address }}
|
||||
PrivateKey = {{ privatekey }}
|
||||
ListenPort = {{ listenport }}
|
||||
PostUp = iptables -t nat -A POSTROUTING -o {{ public_interface }} -j MASQUERADE; ip6tables -t nat -A POSTROUTING -o {{ public_interface }} -j MASQUERADE
|
||||
|
|
Loading…
Reference in a new issue