Challenges

Focused, hands-on DevOps and server-side problems with hints, feedback, and automated solution checks.

Challenge

Fix a Firewall Blocking a Docker Container from Reaching the Host

A Docker container cannot reach a service running on the host because the firewall is blocking the connection. Learn how to troubleshoot container-to-host connectivity and allow the traffic without exposing the service to the network.

Challenge

Preserve Firewall Rules Across Server Reboots (iptables edition)

Firewall rules added with the iptables command disappear when the server reboots, and the ports they protect can become exposed again. Learn how to make iptables rules persistent so that they are restored every time the server boots.

Challenge

Preserve Firewall Rules Across Server Reboots (nftables edition)

Firewall rules added with the nft command disappear when the server reboots, and the ports they protect can become exposed again. Learn how to make nftables rules persistent so that they are restored every time the server boots.

Challenge

Restrict Access to a Docker-Published Port with Firewall Rules

A container port published on a server's internal IP is still reachable from the external network. Learn how to restrict access with firewall rules without disrupting legitimate connections.

Challenge

Block Unexpected Access to a Service on a Dual-Homed Linux Server

On a dual-homed Linux server, a service bound to one network's IP address may still be reachable from another network. Learn how to prevent this unexpected access without disrupting legitimate connections.