babel-tester/firewall/restrict-http.conf
Yohann D'ANELLO 4389fb0e6f 🎉 First working proof of concept
Signed-off-by: Yohann D'ANELLO <ynerant@crans.org>
2021-05-31 11:14:16 +00:00

18 lines
306 B
Plaintext
Executable File

#!/usr/sbin/nft -f
flush ruleset
table inet filter {
chain input {
type filter hook input priority 0;
}
chain forward {
type filter hook forward priority 0; policy accept
tcp dport { 80 } reject;
accept
}
chain output {
type filter hook output priority 0;
}
}