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.
29 lines
408 B
29 lines
408 B
#! /sbin/nft -f
|
|
|
|
table inet firewall {
|
|
|
|
# Définition de la zone Supélec
|
|
|
|
# Interfaces depuis lesquelles on autorise la communication vers
|
|
# supelec
|
|
set allowed_to_supelec = {
|
|
type string;
|
|
elements = {
|
|
$if_adherent,
|
|
$if_admin,
|
|
$if_federez,
|
|
$if_aloes,
|
|
$if_prerezotage,
|
|
$if_dmz
|
|
}
|
|
}
|
|
|
|
chain to_supelec {
|
|
iifname allowed_to_supelec accept;
|
|
drop;
|
|
}
|
|
|
|
chain from_supelec {
|
|
}
|
|
|
|
}
|
|
|