2 Commits

Author SHA1 Message Date
root
624756dec9 modif script 2022-02-09 08:41:34 +01:00
root
a4a4872a75 configuration wireguard 2022-02-08 08:44:19 +01:00
3 changed files with 24 additions and 2 deletions

View File

@@ -6,7 +6,7 @@
- name: Extraction archive
unarchive:
src: /tmp/dokuwiki-stable.tgz
dest: /var/www/html/
dest: /var/www/html
remote_src: yes
- name: stat rept
@@ -16,7 +16,7 @@
- name: Renommage de dokuwiki-stable
command: mv /var/www/html/dokuwiki-2020-07-29 /var/www/html/doku
when: not rept_stat.stat.exists
when: rept_stat.stat.exists
- name: Droit root recursive
file:

11
wireguard/wg0-b.conf Normal file
View File

@@ -0,0 +1,11 @@
# local settings for Endpoint B
[Interface]
PrivateKey = 0Nb+sT20LbiRTMk4Ll5FsASVSFTgdA+JyMpd8shxJFA=
Address = 10.0.0.2/32
ListenPort = 51820
# remote settings for Endpoint A
[Peer]
PublicKey = uKQUgVq/uud3tIV2Qibth/8YHzDL2Z0SmcsnC+LkAms=
Endpoint = 10.121.38.68:51820
AllowedIPs = 10.0.0.1/32

11
wireguard/wg0.conf Normal file
View File

@@ -0,0 +1,11 @@
# local settings for Endpoint A
[Interface]
PrivateKey = kBAtNXmiZU6jVUeAKKoooTd8q5rN7lXpJJLVlEgSlWQ=
Address = 10.0.0.1/32
ListenPort = 51820
# remote settings for Endpoint B
[Peer]
PublicKey = NEWioueQlPkKT4zOoIhmiQi30lV1aJ3gnG69m4T4Ezg=
#Endpoint = 192.168.1.82:51820
AllowedIPs = 10.0.0.2/32