You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
9 lines
458 B
9 lines
458 B
iptables-translate -A FORWARD -p TCP --dport 22 -j REJECT
|
|
nft add rule ip filter FORWARD tcp dport 22 counter reject
|
|
|
|
iptables-translate -A FORWARD -p TCP --dport 22 -j REJECT --reject-with icmp-net-unreachable
|
|
nft add rule ip filter FORWARD tcp dport 22 counter reject with icmp type net-unreachable
|
|
|
|
iptables-translate -A FORWARD -p TCP --dport 22 -j REJECT --reject-with tcp-reset
|
|
nft add rule ip filter FORWARD tcp dport 22 counter reject with tcp reset
|