Azurenetworking: Difference between revisions

From Piszczynski
No edit summary
 
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
Install-RemoteAccess -VpnType RoutingOnly
Get-NetAdapter | Set-NetIPInterface -Forwarding Enabled
Get-NetAdapter | Set-NetIPInterface -Forwarding Enabled
</syntaxhighlight>


== Azure DNS for Files ==
== Azure DNS for Files ==

Latest revision as of 19: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