Added WG config for docker-int
This commit is contained in:
parent
c0ff6196b1
commit
9815713717
21
ansible/assets/docker-int/wg0.conf.j2
Normal file
21
ansible/assets/docker-int/wg0.conf.j2
Normal file
@ -0,0 +1,21 @@
|
|||||||
|
[Interface]
|
||||||
|
PrivateKey = {{ docker_int_wg_private_key }}
|
||||||
|
#pub V7kI33VgyxtJXRGWH0yTnbUXPqE4ZK8wQGPilVUXlWo=
|
||||||
|
Address = 10.11.19.1/24
|
||||||
|
ListenPort = 51820
|
||||||
|
#PostUp = iptables -t nat -A POSTROUTING -o {{ ansible_default_ipv4.interface }} -j MASQUERADE
|
||||||
|
#PostDown = iptables -D POSTROUTING -o {{ ansible_default_ipv4.interface }} -j MASQUERADE -t nat
|
||||||
|
|
||||||
|
#MacBook
|
||||||
|
[Peer]
|
||||||
|
PublicKey = /A0WduzRrt/LwKmGm6lq/+TS/1gBekU86FSdhvUo82M=
|
||||||
|
AllowedIPs = 10.11.19.4
|
||||||
|
|
||||||
|
[Peer]
|
||||||
|
PublicKey = eEHA7CSOR5nha9w4SCB+tOXcuCxgkxIXtNU3xB7wZn4=
|
||||||
|
AllowedIPs = 10.11.19.5/32
|
||||||
|
|
||||||
|
#Phone
|
||||||
|
[Peer]
|
||||||
|
PublicKey = QJmTVggRFs6Df/snbb3Fx3PeFFeaOqy3eUruV0eIXyE=
|
||||||
|
AllowedIPs = 10.11.19.6/32
|
||||||
Loading…
x
Reference in New Issue
Block a user