You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

27 lines
336 B

#! /sbin/nft -f
table inet firewall {
# Définition de la DMZ
set z_dmz {
type ipv4_addr;
flags interval
elements = {
# Si l'on souhaite ajouter des ranges d'ip c'est ici
193.48.225.1-193.48.225.9,
}
}
chain to_dmz {
# DMZ, tout le monde entre
accept;
}
chain from_dmz {
# DMZ, tout le monde sort
}
}