← All tasks
🧮
Intermediate

Write a Default-Deny Firewall Rule

⏱ 3 min ⭐ 90 XP 🔁 3 attempts allowed

What you'll do

Write the iptables command that sets the default policy on the INPUT chain to drop all traffic.

Scenario

A server's firewall currently has no default policy, meaning unmatched traffic is implicitly allowed.

Ready to try it?

Create a free account and subscribe to take "Write a Default-Deny Firewall Rule". Earn 90 XP and track your internship progress.

Already have an account? Sign in