# Pare-feu dysfonctionnel

**URL:** <https://www.debian-fr.org/t/pare-feu-dysfonctionnel/81236>\
**Category:** Support Debian\
**Created:** [Février 13, 2020, 1:45 UTC](https://www.debian-fr.org/t/pare-feu-dysfonctionnel/81236 "2020-02-13T13:45:05Z")\
**Posts on this page:** 1\
**Showing post:** 5

<div class="post-metadata">

**Author:** ![grandtoubab](https://www.debian-fr.org/user_avatar/www.debian-fr.org/grandtoubab/32/4505_2.png) [@grandtoubab](https://www.debian-fr.org/u/grandtoubab)\
**Post date:** [Février 14, 2020, 3:25 UTC](https://www.debian-fr.org/t/pare-feu-dysfonctionnel/81236/5 "2020-02-14T15:25:29Z")

</div>

Pour vérifier si nftables est en cours

```plaintext
sudo nft list ruleset 
      
table inet filter {
	chain input {
		type filter hook input priority filter; policy accept;
		iif "lo" accept
		ct state established,related accept
		tcp dport { 80, 443, 8200 } ct state new accept
		udp dport { 53, 67, 68 } ct state new accept
		counter packets 16618 bytes 7370061 drop
	}
}

```

je me suis contenté des règles par défaut avec quelques ports en plus

> **[Pare-feu: nftables](https://bidouilledebian.wordpress.com/2019/02/19/pare-feu-nftables/)**
>
> Comme nftables va devenir le pare-feu par défaut dans Debian, j’ai activé l’outil.

Dorénavant je n’ai plus de iptable

```plaintext
apt list --installed | grep iptable

WARNING: apt does not have a stable CLI interface. Use with caution in scripts.

 apt list --installed | grep nftable

WARNING: apt does not have a stable CLI interface. Use with caution in scripts.

libnftables1/testing,unstable,now 0.9.3-2 amd64 [installé, automatique]
nftables/testing,unstable,now 0.9.3-2 amd64 [installé]

```

NB Testing est très solide

```plaintext
lsb_release --all
No LSB modules are available.
Distributor ID:	Debian
Description:	Debian GNU/Linux bullseye/sid
Release:	testing
Codename:	bullseye

```

je lui mets le dernier kernel venant de sid

```plaintext
uname --all
Linux debian 5.4.0-4-amd64 #1 SMP Debian 5.4.19-1 (2020-02-13) x86_64 GNU/Linux

```

---

_[View the full topic](https://www.debian-fr.org/t/pare-feu-dysfonctionnel/81236)._
