Autorise les bannis à voir la roulette
This commit is contained in:
parent
44ed75a4ad
commit
4705ca5e7b
1 changed files with 10 additions and 2 deletions
12
roulette.nft
12
roulette.nft
|
@ -19,9 +19,17 @@ table inet firewall {
|
||||||
set ip_roulette {
|
set ip_roulette {
|
||||||
type ipv4_addr
|
type ipv4_addr
|
||||||
}
|
}
|
||||||
|
set allowed_roulette {
|
||||||
|
type ipv4_addr
|
||||||
|
elements = {
|
||||||
|
10.7.0.4,
|
||||||
|
92.242.132.24
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
chain roulette {
|
chain roulette {
|
||||||
ip saddr @ip_roulette ip daddr != 92.242.132.24 drop
|
ip saddr @ip_roulette ip daddr != @allowed_roulette drop
|
||||||
ip daddr @ip_roulette ip saddr != 92.242.132.24 drop
|
ip daddr @ip_roulette ip saddr != @allowed_roulette drop
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue