Premiere partie Filtrage

This commit is contained in:
2022-03-15 11:04:29 +01:00
parent e4df98a2cd
commit 703f169a05
6 changed files with 183 additions and 0 deletions

View File

@@ -0,0 +1,12 @@
#!/bin/bash
IFEXT=enp0s3
IFDMZ=enp0s8
IFINT=enp0s9
# ici instruction pour activer le routage
sysctl -w net.ipv4.ip_forward=1
# ici instructions pour definir les stratégies par defaut (etape 1)
# ici instructions pour remettre a zero les chaines filter et nat (etape 1)