Scenario 3: Block SSH (Port 22) Access to a Remote Machine

Objective: Block SSH (port 22) access to a remote machine.

Steps:

    Linux Command: iptables -A INPUT -p tcp -d 193.226.19.42 --dport 22 -j REJECT

Verification: Try to establish an SSH connection using a client like PuTTY or PowerShell to the remote machine on port 22 (ssh user@193.226.19.42). The connection should be blocked.