Update repo

This commit is contained in:
Antonio J. Delgado 2024-03-23 00:57:09 +02:00
parent c329f8fd71
commit 8e244c4504
2 changed files with 3 additions and 3 deletions

View file

@ -1,7 +1,7 @@
--- ---
# Default values for variables of the role # Default values for variables of the role
# variable_name: value # variable_name: value
address: '192.168.2.1/24' wg_server_address: '192.168.2.1/24'
listenport: '1928' listenport: '1928'
privatekey: '' privatekey: ''
interface_name: wg0 interface_name: wg0

View file

@ -1,5 +1,5 @@
[Interface] [Interface]
Address = {{ address }} Address = {{ wg_server_address }}
PrivateKey = {{ privatekey }} PrivateKey = {{ privatekey }}
ListenPort = {{ listenport }} ListenPort = {{ listenport }}
PostUp = iptables -t nat -A POSTROUTING -o {{ public_interface }} -j MASQUERADE; ip6tables -t nat -A POSTROUTING -o {{ public_interface }} -j MASQUERADE PostUp = iptables -t nat -A POSTROUTING -o {{ public_interface }} -j MASQUERADE; ip6tables -t nat -A POSTROUTING -o {{ public_interface }} -j MASQUERADE