Question

Difficulty: MediumFirewalls and Access Control Lists (ACLs)

A network administrator is implementing firewall policies on a stateful security appliance that protects internal servers on the 10.100.10.0/2410.100.10.0/24 subnet. The administrator needs to allow remote management via SSH from a trusted management workstation (10.200.5.5010.200.5.50) to the internal servers while ensuring unapproved outbound connections from the servers to the Internet are blocked. Which of the following statements correctly describe how a stateful firewall processes traffic for this scenario? (Select TWO.)

  1. A single inbound rule permitting TCP port 2222 from 10.200.5.5010.200.5.50 to 10.100.10.0/2410.100.10.0/24 automatically allows outbound return packets for established sessions without needing a separate outbound rule.Answer
  2. B
    An explicit outbound rule must be configured to permit SSH return traffic on TCP port 2222 back to host 10.200.5.5010.200.5.50 because firewalls evaluate outbound traffic independently of connection state.
  3. A new outbound TCP connection initiated directly by an internal server to an external public IP address will be blocked if no explicit outbound permit rule exists.Answer
  4. D
    Inbound SSH administrative connections from 10.200.5.5010.200.5.50 require permitting UDP port 2222 because initial connection negotiation occurs over connectionless UDP.

Answer

Stateful firewalls automatically allow return traffic for established sessions using state table tracking, and they evaluate any newly initiated outbound connections against rule sets, blocking unmatched sessions via implicit deny.
Stateful firewalls maintain a state table to track established connections. When an inbound SSH connection from the management host is permitted, the firewall dynamically allows the corresponding return traffic from the server without requiring a separate reverse rule. Furthermore, any newly initiated session originated by an internal server requires a matching permit rule; otherwise, the firewall's default implicit deny policy blocks the outbound traffic.

Step-by-Step Solution

1
Analyze stateful connection tracking for inbound SSH connections.
Stateful firewalls record session entries in a state table during the TCP three-way handshake. Return traffic for an established session matching an existing state table entry is automatically permitted.
Eliminates the requirement for manual return rules typical of stateless router ACLs.
2
Evaluate new outbound session initiation from internal servers.
When an internal server initiates a brand-new connection outward, the firewall evaluates it as a new session against configured rules. Without a permit rule, the default implicit deny drops the packet.
Prevents unauthorized internal hosts from initiating connections to external hosts.
3
Verify protocol and port requirements for SSH management.
SSH operates over TCP port 2222, establishing a reliable stream.
Rules configured for UDP port 2222 will fail to match SSH traffic.

Key Concept

Stateful Inspection vs Stateless Filtering
Rate this question