Azurenetworking: Difference between revisions

From Piszczynski
m (1 revision imported)
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:


== Setup Routing ==
== Setup Routing ==
Run the following commands on server to enable routing role
Run the following commands on server to enable routing role<syntaxhighlight lang="powershell" line="1">
 
Install-WindowsFeature RemoteAccess -IncludeManagementTools
Install-WindowsFeature RemoteAccess -IncludeManagementTools
Install-WindowsFeature -Name Routing -IncludeManagementTools -IncludeAllSubFeature
Install-WindowsFeature -Name Routing -IncludeManagementTools -IncludeAllSubFeature
Install-WindowsFeature -Name "RSAT-RemoteAccess-Powershell"
Install-WindowsFeature -Name "RSAT-RemoteAccess-Powershell"
Install-RemoteAccess -VpnType RoutingOnly
Get-NetAdapter | Set-NetIPInterface -Forwarding Enabled
</syntaxhighlight>


Install-RemoteAccess -VpnType RoutingOnly
== Azure DNS for Files ==
For Azure file share you will need to enable DNS forwarding for the file share to be found:


Get-NetAdapter | Set-NetIPInterface -Forwarding Enabled
[https://learn.microsoft.com/en-us/azure/storage/files/storage-files-networking-dns Configure DNS forwarding for azure file shares]

Latest revision as of 18:07, 16 November 2023

Setup Routing

Run the following commands on server to enable routing role

Install-WindowsFeature RemoteAccess -IncludeManagementTools
Install-WindowsFeature -Name Routing -IncludeManagementTools -IncludeAllSubFeature
Install-WindowsFeature -Name "RSAT-RemoteAccess-Powershell"
Install-RemoteAccess -VpnType RoutingOnly
Get-NetAdapter | Set-NetIPInterface -Forwarding Enabled

Azure DNS for Files

For Azure file share you will need to enable DNS forwarding for the file share to be found:

Configure DNS forwarding for azure file shares