mirror of
https://github.com/trailofbits/algo.git
synced 2025-06-06 23:24:01 +02:00
forwarding #61
This commit is contained in:
parent
2adf591394
commit
e6090b8245
2 changed files with 10 additions and 7 deletions
|
@ -71,3 +71,12 @@
|
|||
- restart loopback
|
||||
|
||||
- meta: flush_handlers
|
||||
|
||||
- name: Enable packet forwarding for IPv4
|
||||
sysctl: name="{{ item }}" value=1
|
||||
with_items:
|
||||
- net.ipv4.ip_forward
|
||||
- net.ipv4.conf.all.forwarding
|
||||
|
||||
- name: Enable packet forwarding for IPv6
|
||||
sysctl: name=net.ipv6.conf.all.forwarding value=1
|
||||
|
|
|
@ -90,12 +90,6 @@
|
|||
notify:
|
||||
- flush routing cache
|
||||
|
||||
- name: Enable packet forwarding for IPv4
|
||||
sysctl: name=net.ipv4.ip_forward value=1
|
||||
|
||||
- name: Enable packet forwarding for IPv6
|
||||
sysctl: name=net.ipv6.conf.all.forwarding value=1
|
||||
|
||||
- name: Do not send ICMP redirects (we are not a router)
|
||||
sysctl: name=net.ipv4.conf.all.send_redirects value=0
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue