1
Task 1 of 5
Loading...
FIREWALL RULES DRILL
Scenario
An intrusion was detected on the perimeter firewall. Write iptables rules to lock down the server before the attacker pivots deeper into the network.
0 completed
0%
Solution Cheat Sheet
Task 1 — Allow SSH (port 22)
iptables -A INPUT -p tcp --dport 22 -j ACCEPT
Task 2 — Block attacker IP
iptables -A INPUT -s 10.13.37.99 -j DROP
Task 3 — Allow HTTP (port 80)
iptables -A INPUT -p tcp --dport 80 -j ACCEPT
Task 4 — Allow HTTPS (port 443)
iptables -A INPUT -p tcp --dport 443 -j ACCEPT
Task 5 — Set default deny policy
iptables -P INPUT DROP