Nft-2: Unterschied zwischen den Versionen

Aus Xinux Wiki
Zur Navigation springen Zur Suche springen
(Die Seite wurde neu angelegt: „<pre> table ip filter { chain INPUT { type filter hook input priority filter; policy drop; ct state established,related counter packets 9 bytes 636 accept…“)
 
(kein Unterschied)

Aktuelle Version vom 13. September 2022, 17:11 Uhr

table ip filter {
	chain INPUT {
		type filter hook input priority filter; policy drop;
		ct state established,related counter packets 9 bytes 636 accept
		iifname "lo" ct state new counter packets 0 bytes 0 accept
		tcp dport 22 ct state new counter packets 0 bytes 0 accept
		counter packets 0 bytes 0 log prefix "--iptables-drop-in--"
	}

	chain FORWARD {
		type filter hook forward priority filter; policy drop;
		ct state established,related counter packets 0 bytes 0 accept
		counter packets 0 bytes 0 log prefix "--iptables-drop-for--"
	}

	chain OUTPUT {
		type filter hook output priority filter; policy drop;
		ct state established,related counter packets 5 bytes 688 accept
		ct state new counter packets 0 bytes 0 accept
		counter packets 0 bytes 0 log prefix "--iptables-drop-out--"
	}
}