Security
A web server has the rule "ufw allow 443/tcp" as rule number 1 of its ruleset. The administrator then runs "sudo ufw deny from 203.0.113.50 to any port 443 proto tcp", but that host can still reach HTTPS. Which action BEST blocks that host while leaving access open to everyone else?
Show the answer
Correct answerC. Run sudo ufw insert 1 deny from 203.0.113.50 to any port 443 proto tcp
ufw evaluates rules in order and the first match wins, so the deny added at the end never takes effect behind the general allow. Inserting it at position 1 places it first. Setting default deny incoming does not help, because an explicit allow rule already overrides the default policy.