Use sysctl to enable p2p comms
This commit is contained in:
parent
f6214f1495
commit
095c8c4562
1 changed files with 9 additions and 0 deletions
|
@ -35,3 +35,12 @@
|
|||
loop: "{{ wireguard.clients|dict2items }}"
|
||||
loop_control:
|
||||
label: "{{ item.key }}"
|
||||
|
||||
- name: Enable p2p communication
|
||||
sysctl:
|
||||
name: net.ipv4.ip_forward
|
||||
value: '1'
|
||||
sysctl_set: yes
|
||||
state: present
|
||||
reload: yes
|
||||
become: true
|
||||
|
|
Loading…
Reference in a new issue