This solution is incorrect, but the notebook does not detect a correct/incorrect solution from it. The notebook prints "an error occurred". Update the solution so that it will match for this edge case.
umdclassqidu@server:~$ sudo iptables -S
-P INPUT ACCEPT
-P FORWARD ACCEPT
-P OUTPUT ACCEPT
-A INPUT -d 10.0.1.2/32 -i eth1 -p tcp -m tcp --sport 3306 -j DROP
This solution is incorrect, but the notebook does not detect a correct/incorrect solution from it. The notebook prints "an error occurred". Update the solution so that it will match for this edge case.