Scenario 4: Block All HTTP (Port 80) Traffic to a Specific IP Address

Objective: Block all HTTP (port 80) traffic to a specific IP address (e.g., 193.226.19.42).

Steps:

    Linux Command: iptables -A OUTPUT -d 193.226.19.42 -p tcp --dport 80 -j DROP

Verification: Try accessing http://193.226.19.42 from your browser. The connection should be blocked.