Skip to content

Commit

Permalink
Added IP forwarding to arm cli
Browse files Browse the repository at this point in the history
  • Loading branch information
telmosampaio committed Oct 7, 2015
1 parent b968be6 commit 936e458
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 1 deletion.
15 changes: 15 additions & 0 deletions articles/virtual-network/virtual-network-create-udr-classic-ps.md
Original file line number Diff line number Diff line change
Expand Up @@ -102,4 +102,19 @@ To create the route table and route needed for the back end subnet based on the
-SubnetName FrontEnd `
-RouteTableName UDR-FrontEnd
```
## Enable IP forwrding on the FW1 VM
To enable IP forwarding in the FW1 VM, follow the steps below.

1. Run the **`Get-AzureIPForwarding`** cmdlet to chec the status of IP forwarding

Get-AzureVM -Name FW1 -ServiceName TestRGFW `
| Get-AzureIPForwarding

Output:

Disabled

2. Run the **`Set-AzureIPForwarding`** command to enable IP forwarding for the *FW1* VM.

Get-AzureVM -Name FW1 -ServiceName TestRGFW `
| Set-AzureIPForwarding -Enable
2 changes: 1 addition & 1 deletion articles/virtual-network/virtual-networks-udr-how-to.md
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ Set-AzureIPForwarding -ServiceName DMZService `
To disable IP forwarding in a VM named *FWAppliance1*, run the following PowerShell command:

```powershell
Get-AzureVM -Name FWAppliance1 -ServiceName ProductionVMs `
Get-AzureVM -Name FWAppliance1 -ServiceName DMZService `
| Set-AzureIPForwarding -Disable
```

Expand Down

0 comments on commit 936e458

Please sign in to comment.