Disable ip_forward
All checks were successful
/ terraform (push) Successful in 1m4s
/ ansible (push) Successful in 2m20s

I don't need P2P comms for this, so disable this for extra security.

I should add a proper firewall at some point...
This commit is contained in:
Jake Howard 2023-09-01 19:52:36 +01:00
parent 81ccfeed30
commit 5a0df92a6a
Signed by: jake
GPG key ID: 57AFB45680EDD477

View file

@ -44,13 +44,3 @@
loop: "{{ wireguard.clients | dict2items }}" loop: "{{ wireguard.clients | dict2items }}"
loop_control: loop_control:
label: "{{ item.key }}" label: "{{ item.key }}"
- name: Enable p2p communication
sysctl:
name: net.ipv4.ip_forward
value: "1"
sysctl_set: true
state: present
reload: true
sysctl_file: /etc/sysctl.d/99-sysctl.conf
become: true