Skip to content

Commit 2138c67

Browse files
committed
acrolinx and tested scripts
1 parent fbfa2e5 commit 2138c67

File tree

2 files changed

+10
-23
lines changed

2 files changed

+10
-23
lines changed

articles/networking/scripts/virtual-network-filter-network-traffic.md

Lines changed: 6 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,30 +1,24 @@
11
---
2-
title: Azure CLI script sample - Filter VM network traffic | Microsoft Docs
2+
title: Azure CLI script sample - Filter VM network traffic
33
description: Use an Azure CLI script to filter inbound and outbound virtual machine (VM) network traffic with front-end and back-end subnets.
4-
services: virtual-network
5-
documentationcenter: virtual-network
6-
author: mbender-ms
4+
author: asudbring
75
ms.service: virtual-network
8-
ms.devlang: azurecli
96
ms.topic: article
10-
ms.tgt_pltfrm:
11-
ms.workload: infrastructure
12-
ms.date: 07/07/2017
13-
ms.author: mbender
7+
ms.date: 03/23/2023
8+
ms.author: allensu
149

1510
---
1611

1712
# Use an Azure CLI script to filter inbound and outbound VM network traffic
1813

19-
This script sample creates a virtual network with front-end and back-end subnets. Inbound network traffic to the front-end subnet is limited to HTTP, HTTPS and SSH, while outbound traffic to the Internet from the back-end subnet is not permitted. After running the script, you will have one virtual machine with two NICs. Each NIC is connected to a different subnet.
14+
This script sample creates a virtual network with front-end and back-end subnets. Inbound network traffic to the front-end subnet is limited to HTTP, HTTPS and SSH, while outbound traffic to the Internet from the back-end subnet isn't permitted. After running the script, you'll have one virtual machine with two NICs. Each NIC is connected to a different subnet.
2015

2116
[!INCLUDE [sample-cli-install](../../../includes/sample-cli-install.md)]
2217

2318
[!INCLUDE [quickstarts-free-trial-note](../../../includes/quickstarts-free-trial-note.md)]
2419

2520
## Sample script
2621

27-
2822
[!code-azurecli-interactive[main](../../../cli_scripts/virtual-network/filter-network-traffic/filter-network-traffic.sh "Filter VM network traffic")]
2923

3024
## Clean up deployment
@@ -56,4 +50,4 @@ This script uses the following commands to create a resource group, virtual netw
5650

5751
For more information on the Azure CLI, see [Azure CLI documentation](/cli/azure).
5852

59-
Additional networking CLI script samples can be found in the [Azure Networking Overview documentation](../cli-samples.md)
53+
More networking CLI script samples can be found in the [Azure Networking Overview documentation](../cli-samples.md)

articles/networking/scripts/virtual-network-powershell-sample-route-traffic-through-nva.md

Lines changed: 4 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,12 @@
11
---
22
title: Azure PowerShell script sample - Route traffic through a network virtual appliance
33
description: Azure PowerShell script sample - Route traffic through a firewall network virtual appliance.
4-
services: virtual-network
5-
documentationcenter: virtual-network
6-
author: mbender-ms
7-
manager: kumudD
4+
author: asudbring
85
ms.service: virtual-network
9-
ms.devlang: powershell
106
ms.topic: article
11-
ms.tgt_pltfrm:
12-
ms.workload: infrastructure
13-
ms.date: 05/16/2017
14-
ms.author: mbender
7+
ms.date: 03/23/2023
8+
ms.author: allensu
159
ms.custom: devx-track-azurepowershell
16-
1710
---
1811

1912
# Route traffic through a network virtual appliance
@@ -60,4 +53,4 @@ This script uses the following commands to create a resource group, virtual netw
6053

6154
For more information on the Azure PowerShell, see [Azure PowerShell documentation](/powershell/azure/).
6255

63-
Additional networking PowerShell script samples can be found in the [Azure Networking Overview documentation](../powershell-samples.md?toc=%2fazure%2fnetworking%2ftoc.json).
56+
More networking PowerShell script samples can be found in the [Azure Networking Overview documentation](../powershell-samples.md?toc=%2fazure%2fnetworking%2ftoc.json).

0 commit comments

Comments
 (0)