From d3a1b4178ce5c31c0cccce79a238b64805357fb7 Mon Sep 17 00:00:00 2001 From: vincent Date: Sun, 16 Apr 2023 19:27:26 +0200 Subject: [PATCH] oscar is dead --- ansible/host_vars/bleys | 8 ++++---- ansible/host_vars/oscar | 4 ++-- ansible/production | 2 ++ 3 files changed, 8 insertions(+), 6 deletions(-) diff --git a/ansible/host_vars/bleys b/ansible/host_vars/bleys index c8f043d..9cda6fe 100644 --- a/ansible/host_vars/bleys +++ b/ansible/host_vars/bleys @@ -3,21 +3,21 @@ ansible_host: "192.168.1.42" ansible_python_interpreter: "/usr/bin/python3" wireguard_address: "10.0.0.7/24" wireguard_byhost_allowed_ips: - merlin: 10.0.0.7,192.168.1.42 - corwin: 10.0.0.7,192.168.1.42 + merlin: 10.0.0.7,192.168.1.42,192.168.1.0/24 + corwin: 10.0.0.7,192.168.1.42,192.168.1.0/24 perrsistent_keepalive: "20" wireguard_endpoint: "" wireguard_postup: - iptables -A FORWARD -i wg0 -j ACCEPT - iptables -A FORWARD -o wg0 -j ACCEPT - - iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE + - iptables -t nat -A POSTROUTING -o enp2s0 -j MASQUERADE - sysctl -w net.ipv4.ip_forward=1 wireguard_postdown: - iptables -D FORWARD -i wg0 -j ACCEPT - iptables -D FORWARD -o wg0 -j ACCEPT - - iptables -t nat -D POSTROUTING -o eth0 -j MASQUERADE + - iptables -t nat -D POSTROUTING -o enp2s0 -j MASQUERADE - sysctl -w net.ipv4.ip_forward=0 partition_table: diff --git a/ansible/host_vars/oscar b/ansible/host_vars/oscar index 9ce92a0..553c716 100644 --- a/ansible/host_vars/oscar +++ b/ansible/host_vars/oscar @@ -1,8 +1,8 @@ --- wireguard_address: "10.0.0.2/24" wireguard_byhost_allowed_ips: - merlin: 10.0.0.2,192.168.1.40,192.168.1.0/24 - corwin: 10.0.0.2,192.168.1.40,192.168.1.0/24 + merlin: 10.0.0.2,192.168.1.40 + corwin: 10.0.0.2,192.168.1.40 perrsistent_keepalive: "30" wireguard_endpoint: "" diff --git a/ansible/production b/ansible/production index 8e5f968..6133921 100644 --- a/ansible/production +++ b/ansible/production @@ -20,6 +20,8 @@ bleys [database] oscar +bleys [rsyncd] oscar +bleys