Networking & Configuration

The Firewall Lockout

250 pts
0 solves
medium hands-on
A backend web service should be reachable at http://localhost:8080, but a software firewall (a Python gateway process on port 8080) is blocking requests based on rules in /opt/firewall/rules.json. The actual backend runs on port 9090, and the gateway on port 8080 is configured to proxy traffic to it -- but only if port 8080 is listed as "allow" in the rules file. Currently the rules DROP traffic to port 8080. Fix the rules file so port 8080 is allowed. The gateway reloads its config every 5 seconds automatically. Hint: check /opt/firewall/README.txt and /opt/firewall/rules.json.

Ready to solve this?

Create a free account to launch containers, submit answers, and track your progress.