Nftables: differenze tra le versioni

m
Riga 48: Riga 48:
Esempio:
Esempio:
<pre>
<pre>
# iptables-translate -A INPUT -p tcp --dport 22 -m conntrack --ctstate NEW -j ACCEPT<br>
# iptables-translate -A INPUT -p tcp --dport 22 -m conntrack --ctstate NEW -j ACCEPT
nft add rule ip filter INPUT tcp dport 22 ct state new counter accept
nft add rule ip filter INPUT tcp dport 22 ct state new counter accept
</pre>
</pre>
3 155

contributi