Iptables --reject-with tcp-reset for non-TCP traffic
Yeah, it makes no sense. IPTABLES also errors when I attempt to issue this on the command line (tested on CentoOS 8). It can only work if -p tcp
is given which specifies that the rule is dealing with TCP traffic. Then it will work.