Skip to content

Commit 0e95e64

Browse files
authored
Merge pull request #98838 from EMaher/enewman/firewall-settings
firewall settings needed for azure lab services
2 parents 79d5140 + 8139adf commit 0e95e64

File tree

3 files changed

+34
-0
lines changed

3 files changed

+34
-0
lines changed

articles/lab-services/classroom-labs/TOC.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,8 @@
5656
href: how-to-attach-detach-shared-image-gallery.md
5757
- name: Add user as an owner to a classroom lab
5858
href: how-to-add-user-lab-owner.md
59+
- name: Firewall settings for Azure Lab Services
60+
href: how-to-configure-firewall-settings.md
5961
- name: Create and configure classroom labs (instructor)
6062
items:
6163
- name: Create and manage classroom labs
Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
---
2+
title: Firewall settings for Azure Lab Services
3+
description: Learn how to determine the public IP address and port number range of virtual machines in a lab so information can be added to firewall rules.
4+
author: emaher
5+
6+
ms.author: enewman
7+
ms.date: 12/12/2019
8+
ms.topic: article
9+
ms.service: lab-services
10+
---
11+
# Firewall settings for Azure Lab Services
12+
13+
Each organization or school will set up their own network in a way that best fits their needs. Sometimes that includes setting firewall rules that block Remote Desktop Protocol (rdp) or Secure Shell (ssh) connections to machines outside their own network. Because Azure Lab Services runs in the public cloud, some extra configuration maybe needed to allow students to access their VM when connecting from the campus network.
14+
15+
Each lab uses single public IP address and multiple ports. All VMs, both the template VM and student VMs, will use this public IP address. The public IP address will not change for the life of lab. However, each VM will have a different port number. The port numbers range from 49152 to 65535. The combination of public IP address and port number is used to connect instructor and students to the correct VM. This article will cover how to find the specific public IP address used by a lab. That information can be used to update inbound and outbound firewall rules so students can access their VMs.
16+
17+
>[!IMPORTANT]
18+
>Each lab will have a different public IP address.
19+
20+
## Find public IP for a lab
21+
22+
The public IP addresses for each lab are listed in the **All labs** blade of the Lab Services lab account. For directions how to find the **All labs** blade, see [how to manage labs in a lab account](how-to-manage-lab-accounts.md#view-and-manage-labs-in-the-lab-account).
23+
24+
> [!div class="mx-imgBorder"]
25+
> ![All labs blade](../media/how-to-configure-firewall-settings/all-labs-properties.png)
26+
27+
>[!NOTE]
28+
>You won’t see the public IP address if the template machine for your lab isn’t published yet.
29+
30+
## Conclusion
31+
32+
Now we know the public IP address for the lab. Inbound and outbound rules can be created for the organization's firewall for the public ip address and the port range 49152-65535. Once the rules are updated, students can access their VMs without the network firewall blocking access.
34.8 KB
Loading

0 commit comments

Comments
 (0)