mirror of
https://github.com/trailofbits/algo.git
synced 2025-06-07 15:43:54 +02:00
IPv6 forwarding fixes (#1256)
This commit is contained in:
parent
a6cd89564d
commit
955a986c21
3 changed files with 3 additions and 2 deletions
|
@ -21,7 +21,7 @@
|
||||||
sysctl:
|
sysctl:
|
||||||
- item: net.inet.ip.forwarding
|
- item: net.inet.ip.forwarding
|
||||||
value: 1
|
value: 1
|
||||||
- item: net.inet6.ip6.forwarding
|
- item: "{{ 'net.inet6.ip6.forwarding' if ipv6_support else none }}"
|
||||||
value: 1
|
value: 1
|
||||||
tags:
|
tags:
|
||||||
- always
|
- always
|
||||||
|
|
|
@ -15,6 +15,7 @@
|
||||||
|
|
||||||
- name: Sysctl tuning
|
- name: Sysctl tuning
|
||||||
sysctl: name="{{ item.item }}" value="{{ item.value }}"
|
sysctl: name="{{ item.item }}" value="{{ item.value }}"
|
||||||
|
when: item.item != ""
|
||||||
with_items:
|
with_items:
|
||||||
- "{{ sysctl|default([]) }}"
|
- "{{ sysctl|default([]) }}"
|
||||||
tags:
|
tags:
|
||||||
|
|
|
@ -114,7 +114,7 @@
|
||||||
value: 1
|
value: 1
|
||||||
- item: net.ipv4.conf.all.forwarding
|
- item: net.ipv4.conf.all.forwarding
|
||||||
value: 1
|
value: 1
|
||||||
- item: net.ipv6.conf.all.forwarding
|
- item: "{{ 'net.ipv6.conf.all.forwarding' if ipv6_support else none }}"
|
||||||
value: 1
|
value: 1
|
||||||
tags:
|
tags:
|
||||||
- always
|
- always
|
||||||
|
|
Loading…
Add table
Reference in a new issue