Network Fundamentals Lab 2.2: Firewall and Remote Desktop Protocol (RDP) Learning Objectives Overview the types and functions of firewall Create rule and configure the firewall to block or allow a specific protocol Remote administration using Remote Desktop (RDP)
Background This lab is divided into two parts, the first one about Firewall that protects the network resources, computers and sensitive information from offensive Web sites and potential hackers. Basically, a firewall is a barrier to keep destructive forces away from your property. In fact, that is why called a firewall. A firewall can either be software-based (ex: AVG - Zone Alert - ISA - TMG) or hardware-based (ex: Cisco - JUNIPER) and is used to help keep a network secure. Its primary objective is to control the incoming and outgoing network traffic by analyzing the data packets and determining whether it should be allowed through or not based on a predetermined rule set. The second part about remote desktop that is a program or an operating system feature that allows a user to connect to a computer in another location, see that computer's desktop and interact with it as if it were local. The remote desktop facilitates the access capabilities to do a variety of things, including the following: Access a workplace computer from home or when traveling Access a home computer from other locations Fix and hands on a computer problem Perform the server administrative tasks Demonstrate something, such as a process or a software application Remote desktop access software exists for most operating systems and platforms, including hand-held computing devices and smart phones. Microsoft and Apple each have a product called "Remote Desktop." Other remote desktop products include Citrix XenApp, Hamachi, LogmeIN, and Teamviewer). Page 1 of 6
Network Fundamentals
Lab 2.2: Firewall and Remote Desktop Protocol (RDP)
Task 1: Turn Windows Defender Firewall on or off Windows Defender Firewall should always run even if another firewall turned on. Turning off Windows Defender Firewall might make the device and whole network more vulnerable to unauthorized access.
To turn Windows Firewall on or off, select the Start select Settings
> Update & Security
button,
and
then
> Windows Security > Firewall
& network protection. Choose a network profile, and then under Windows Defender Firewall, switch the setting to On or Off.
1
2
Task 2: Create a new rule, which configures the firewall to block Ping 1- Start Control Panel System & Security Windows Firewall Advanced Settings on the right panel click on New Rule Rule Type: Custom Protocol & Ports protocol type: ICMPv4 Custom: Apply to All ICMPV4 Action: Block This Connection Name: Block ICMP 2- From the remote machine try to initiate a ping request and see the output
Page 2 of 6
Network Fundamentals
Lab 2.2: Firewall and Remote Desktop Protocol (RDP)
1 2
3
Now, it is your turn to create a rule that allow Remote Desktop (RDP) ____________________________________________________________________ ____________________________________________________________________ Note: RDP protocols are TCP port 3389 and UDP port 3389
Task 3: Remote Administration Using Remote Desktop Use Remote Desktop on your Windows 10 PC or on your Windows, Android, or iOS device to connect to a PC from afar. 1- Set up the PC you want to connect to so it allows remote connections: On the device you want to connect to, select Start
> Settings
>
System > Remote Desktop, and turn on Enable Remote Desktop Make note of the name of this PC under How to connect to this PC. You will need this later
Page 3 of 6
Network Fundamentals
OR Right Click on This PC
Lab 2.2: Firewall and Remote Desktop Protocol (RDP)
properties
Remote Settings
Remote Desktop
Under Remote Desktop: Choose an option, and then specify who can connect You have two options:
o Don’t allow connections to this computer o Allow remote connections to this computer Allow connections only from computers running Remote Desktop with Network level of authentication. N.B: Add the user to the remote desktop users group or should be Admin
Page 4 of 6
Network Fundamentals
Lab 2.2: Firewall and Remote Desktop Protocol (RDP)
2- Use Remote Desktop to connect to the PC you set up: On your local Windows 10 PC: In the search box on the taskbar, type Remote Desktop Connection or mstsc (MS Terminal Server Connection), and then select Remote Desktop Connection. In Remote Desktop Connection, type the IP or name of the PC you want to connect to (from Step 1), and then select Connect. Enter the credentials of remote user (User name and Password)
3- Get started with Remote Desktop on Android On Windows, Android, or iOS device: Open the Remote Desktop app (available free from Microsoft Store, Google Play, and the Mac App Store), and add the IP or name of the PC that you want to connect to (from Step 1)
Page 5 of 6
Network Fundamentals
Lab 2.2: Firewall and Remote Desktop Protocol (RDP)
Download the Remote Desktop client from Google Play https://play.google.com/store/apps/details?id=com.microsoft.rdc.android Set up your PC to accept remote connections (Step 1) Enter the following information for the computer you want to connect: PC name: the name of the computer. This can be a Windows computer name, an Internet domain name, or an IP address. You can also append port information to the PC name (for example, MyDesktop:3389 or 10.0.0.1:3389) User name: The user name to use to access the remote PC. You can use the following formats: user_name, domain\user_name, or
[email protected]. You can also specify whether to prompt for a user name and password. You can also set the following additional options: Friendly name: An easy-to-remember name for the PC you are connecting to. You can use any string, but if you do not specify a friendly name, the PC name is displayed. Gateway: The Remote Desktop gateway that you want to use to connect to virtual desktops, RemoteApp programs, and session-based desktops on an internal corporate network. Get the information about the gateway from your system administrator. Sound: Select the device to use for audio during your remote session. You can choose to play sound on the local devices, the remote device, or not at all. Customize display resolution: Set a custom resolution for a connection by enabling this setting. When off the resolution is applied which you have defined in the global settings of the app. Swap mouse buttons: Use this option to swap the left mouse button functions for the right mouse button. (This is especially useful if the remote PC is configured for a left-handed user but you use a righthanded mouse.) Connect to admin session: Use this option to connect to a console session to administrate a Windows server. Redirect to local storage: Mounts your local storage as a remote file system on the remote PC
Page 6 of 6