This commit is contained in:
Nils Cant
2020-06-23 14:06:12 +02:00
parent 0249fac42b
commit aeb2cf7233
11 changed files with 189 additions and 0 deletions

11
tasks/sysctl.yml Normal file
View File

@@ -0,0 +1,11 @@
- sysctl:
name: net.ipv4.ip_forward
value: "1"
sysctl_set: yes
when: wireguard_ipv4_forward
- sysctl:
name: net.ipv6.conf.all.forwarding
value: "1"
sysctl_set: yes
when: wireguard_ipv6_forward