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:

    Using Windows Firewall GUI:
        Open Windows Defender Firewall from the Control Panel.
        Click Advanced settings to open the Windows Firewall with Advanced Security window.
        Select Outbound Rules on the left-hand side.
        Click New Rule on the right-hand side.
        Choose Port for the rule type and click Next.
        Select TCP and specify port 80.
        Set the Remote IP address to the target IP (193.226.19.42).
        Choose Block the connection and finish the rule.

    PowerShell Command: New-NetFirewallRule -DisplayName "SSI-Lab-Block HTTP to 193.226.19.42" -Direction Outbound -Protocol TCP -RemoteAddress "193.226.19.42" -RemotePort 80 -Action Block

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