Nftables: Unterschied zwischen den Versionen

Aus Xinux Wiki
Zur Navigation springen Zur Suche springen
 
(38 dazwischenliegende Versionen von 3 Benutzern werden nicht angezeigt)
Zeile 1: Zeile 1:
−
=Install=
+
[[Kategorie:Nftables]]
−
*apt-get install nftables
+
* [[Nftabels Grundlagen]]
−
=Create a basic IPv4 table=
+
* [[Grundlegendes zum Connection Tracking]]
−
*nft add table inet filter
+
* [[nftables console]]
−
=List that table=
+
* [[iptables zu nftables]]
−
*nft list table inet filter
+
* [[nftables Masquerade]]
−
table inet filter {
+
* [[nftables Host absichern]]
−
}
+
* [[nftables Netze absichern]]
−
=Create a chain for input traffic IPv4=
+
* [[nftables misc]]
−
*nft add chain inet filter input { type filter hook input priority 0\; }
+
* [[nftables Erweiterungen]]
−
=A rule to check that all is fine (IPv4)=
+
* [[nftables ipsec]]
−
*nft add rule inet filter input counter accept
+
* [[nftables Anpassung]]
−
=List that table=
+
* [[nftables Netmap]]
−
*nft list table inet filter
+
* [[nftables Webserver Beispiel]]
−
<pre>
+
* [[nftables Webserver Beispiel Ratelimit]]
−
table inet filter {
+
* [[nft monitor trace]]
−
chain input {
 
−
type filter hook input priority 0; policy accept;
 
−
counter packets 47 bytes 3100 accept
 
−
}
 
−
}
 
−
</pre>
 
−
=Flush rules in chain filter/input=
 
−
*nft flush chain inet filter input
 
−
=Delete the chain filter/input=
 
−
*nft delete chain inet filter input
 
−
=Delete the table filter=
 
−
*nft delete table inet filter
 

Aktuelle Version vom 16. August 2026, 19:33 Uhr