NFTables config z Neta
: 31 maja 2020, 23:43
Taki config z neta dla desktopa będzie dobry?
http://forums.debian.net/viewtopic.php? ... es#p717071
Kod: Zaznacz cały
# nano /etc/nftables.conf
Kod: Zaznacz cały
#!/usr/sbin/nft -f
flush ruleset
table inet filter {
chain input {
type filter hook input priority 0;
# accept any localhost traffic
iif lo accept
# accept traffic originated from us
ct state established,related accept
# activate the following line to accept common local services
#tcp dport { 22, 80, 443 } ct state new accept
# accept neighbour discovery otherwise IPv6 connectivity breaks.
ip6 nexthdr icmpv6 icmpv6 type { nd-neighbor-solicit, nd-router-advert, nd-neighbor-advert } accept
# count and drop any other traffic
counter drop
}
}