feat: added ipforwarding to router and tcpdump to basic softwares

Signed-off-by: Louis Vallat <louis@louis-vallat.xyz>
This commit is contained in:
Louis Vallat 2022-11-17 11:23:25 +01:00
parent a86eac38f0
commit b365ca5a02
No known key found for this signature in database
GPG Key ID: 0C87282F76E61283
3 changed files with 15 additions and 0 deletions

View 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

View File

@ -17,6 +17,12 @@
state: latest
update_cache: true
- name: Install tcpdump
ansible.builtin.apt:
name: tcpdump
state: latest
update_cache: true
- name: Install jnettop
ansible.builtin.apt:
name: jnettop

View File

@ -5,6 +5,7 @@
- system
- softwares
- bpytop
- ip_forward
- dnsmasq
- nftables
- clean