Moved Wireguard server to wireguard container
This commit is contained in:
parent
9815713717
commit
a7948364cd
@ -11,6 +11,7 @@ ListenPort = 51820
|
||||
PublicKey = /A0WduzRrt/LwKmGm6lq/+TS/1gBekU86FSdhvUo82M=
|
||||
AllowedIPs = 10.11.19.4
|
||||
|
||||
#Work
|
||||
[Peer]
|
||||
PublicKey = eEHA7CSOR5nha9w4SCB+tOXcuCxgkxIXtNU3xB7wZn4=
|
||||
AllowedIPs = 10.11.19.5/32
|
||||
@ -107,8 +107,8 @@
|
||||
backup: true
|
||||
|
||||
|
||||
- name: Setup docker-int wireguard
|
||||
hosts: docker-int
|
||||
- name: Setup Wireguard wireguard
|
||||
hosts: wireguard
|
||||
vars:
|
||||
tags:
|
||||
- wireguard
|
||||
|
||||
@ -23,7 +23,7 @@ docker:
|
||||
|
||||
wireguard:
|
||||
hosts:
|
||||
docker-int:
|
||||
wireguard:
|
||||
|
||||
external_access:
|
||||
hosts:
|
||||
|
||||
@ -7,6 +7,7 @@
|
||||
ansible.builtin.package:
|
||||
name: wireguard
|
||||
state: present
|
||||
update_cache: true
|
||||
- name: Shutdown Wireguard (remove iptables rules)
|
||||
ansible.builtin.shell: wg-quick down wg0
|
||||
ignore_errors: true
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user