feat: added ipforwarding to router and tcpdump to basic softwares
Signed-off-by: Louis Vallat <louis@louis-vallat.xyz>
This commit is contained in:
parent
a86eac38f0
commit
b365ca5a02
8
roles/ip_forward/tasks/main.yaml
Normal file
8
roles/ip_forward/tasks/main.yaml
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
---
|
||||||
|
- name: Enable IPv4 forwarding
|
||||||
|
ansible.posix.sysctl:
|
||||||
|
name: net.ipv4.ip_forward
|
||||||
|
value: '1'
|
||||||
|
sysctl_set: true
|
||||||
|
state: present
|
||||||
|
reload: true
|
@ -17,6 +17,12 @@
|
|||||||
state: latest
|
state: latest
|
||||||
update_cache: true
|
update_cache: true
|
||||||
|
|
||||||
|
- name: Install tcpdump
|
||||||
|
ansible.builtin.apt:
|
||||||
|
name: tcpdump
|
||||||
|
state: latest
|
||||||
|
update_cache: true
|
||||||
|
|
||||||
- name: Install jnettop
|
- name: Install jnettop
|
||||||
ansible.builtin.apt:
|
ansible.builtin.apt:
|
||||||
name: jnettop
|
name: jnettop
|
||||||
|
@ -5,6 +5,7 @@
|
|||||||
- system
|
- system
|
||||||
- softwares
|
- softwares
|
||||||
- bpytop
|
- bpytop
|
||||||
|
- ip_forward
|
||||||
- dnsmasq
|
- dnsmasq
|
||||||
- nftables
|
- nftables
|
||||||
- clean
|
- clean
|
||||||
|
Loading…
Reference in New Issue
Block a user