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 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

View File

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