You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# Configure an Azure VPN Client - Azure AD authentication - macOS
14
+
# Configure the Azure VPN Client - Azure AD authentication - macOS
15
15
16
16
This article helps you configure a VPN client for a computer running macOS 10.15 and later to connect to a virtual network using Point-to-Site VPN and Azure Active Directory authentication. Before you can connect and authenticate using Azure AD, you must first configure your Azure AD tenant. For more information, see [Configure an Azure AD tenant](openvpn-azure-ad-tenant.md). For more information about Point-to-Site connections, see [About Point-to-Site connections](point-to-site-about.md).
17
17
@@ -21,7 +21,7 @@ This article helps you configure a VPN client for a computer running macOS 10.15
21
21
>
22
22
23
23
For every computer that you want to connect to a VNet using a Point-to-Site VPN connection, you need to do the following:
24
-
24
+
25
25
* Download the Azure VPN Client to the computer.
26
26
* Configure a client profile that contains the VPN settings.
27
27
@@ -31,14 +31,18 @@ If you want to configure multiple computers, you can create a client profile on
31
31
32
32
Before you can connect and authenticate using Azure AD, you must first configure your Azure AD tenant. For more information, see [Configure an Azure AD tenant](openvpn-azure-ad-tenant.md).
33
33
34
-
## <aname="download"></a>To download the Azure VPN client
34
+
## Download the Azure VPN Client
35
35
36
36
1. Download the [Azure VPN Client](https://apps.apple.com/us/app/azure-vpn-client/id1553936137) from the Apple Store.
37
37
1. Install the client on your computer.
38
38
39
-
## <aname="import"></a>To import a connection profile
1. To generate the VPN client profile configuration package, see [Working with P2S VPN client profile files](about-vpn-profile-download.md).
42
+
1. Download and extract the VPN client profile configuration files.
43
+
44
+
## Import VPN client profile configuration files
40
45
41
-
1. Download and extract the profile files. For steps, see [Working with VPN client profile files](about-vpn-profile-download.md).
42
46
1. On the Azure VPN Client page, select **Import**.
43
47
44
48
:::image type="content" source="media/openvpn-azure-ad-client-mac/import-1.png" alt-text="Screenshot of Azure VPN Client import selection.":::
@@ -55,7 +59,7 @@ Before you can connect and authenticate using Azure AD, you must first configure
55
59
56
60
:::image type="content" source="media/openvpn-azure-ad-client-mac/import-5.png" alt-text="Screenshot of Azure VPN Client connected status and disconnect button.":::
57
61
58
-
## <aname="manual"></a>To create a connection manually
62
+
## To create a connection manually
59
63
60
64
1. Open the Azure VPN Client. Select **Add** to create a new connection.
61
65
@@ -87,9 +91,9 @@ Before you can connect and authenticate using Azure AD, you must first configure
87
91
88
92
:::image type="content" source="media/openvpn-azure-ad-client-mac/add-5.png" alt-text="Screenshot of Azure VPN Client connected and disconnect button.":::
89
93
90
-
## <aname="remove"></a>To remove a connection profile
94
+
## To remove a VPN connection profile
91
95
92
-
You can remove the VPN connection profile from your computer.
96
+
You can remove the VPN connection profile from your computer.
93
97
94
98
1. Navigate to the Azure VPN Client.
95
99
1. Select the VPN connection that you want to remove, click the dropdown, and select **Remove**.
@@ -98,118 +102,9 @@ You can remove the VPN connection profile from your computer.
98
102
1. On the **Remove VPN connection?** box, click **Remove**.
99
103
:::image type="content" source="media/openvpn-azure-ad-client-mac/remove-2.png" alt-text="Screenshot of removing.":::
100
104
101
-
## FAQ
102
-
103
-
### How do I add DNS suffixes to the VPN client?
104
-
105
-
You can modify the downloaded profile XML file and add the **\<dnssuffixes>\<dnssufix> \</dnssufix>\</dnssuffixes>** tags.
106
-
107
-
```
108
-
<azvpnprofile>
109
-
<clientconfig>
110
-
111
-
<dnssuffixes>
112
-
<dnssuffix>.mycorp.com</dnssuffix>
113
-
<dnssuffix>.xyz.com</dnssuffix>
114
-
<dnssuffix>.etc.net</dnssuffix>
115
-
</dnssuffixes>
116
-
117
-
</clientconfig>
118
-
</azvpnprofile>
119
-
```
120
-
121
-
### How do I add custom DNS servers to the VPN client?
122
-
123
-
You can modify the downloaded profile XML file and add the **\<dnsservers>\<dnsserver> \</dnsserver>\</dnsservers>** tags.
### <aname="split"></a>Can I configure split tunneling for the VPN client?
139
-
140
-
Split tunneling is configured by default for the VPN client.
141
-
142
-
### <aname="forced-tunnel"></a>How do I direct all traffic to the VPN tunnel (forced tunneling)?
143
-
144
-
You can configure forced tunneling using two different methods; either by advertising custom routes, or by modifying the profile XML file.
145
-
146
-
> [!NOTE]
147
-
> Internet connectivity is not provided through the VPN gateway. As a result, all traffic bound for the Internet is dropped.
148
-
>
149
-
150
-
***Advertise custom routes:** You can advertise custom routes 0.0.0.0/1 and 128.0.0.0/1. For more information, see [Advertise custom routes for P2S VPN clients](vpn-gateway-p2s-advertise-custom-routes.md).
151
-
152
-
***Profile XML:** You can modify the downloaded profile XML file to add the **\<includeroutes>\<route>\<destination>\<mask> \</destination>\</mask>\</route>\</includeroutes>** tags.
You can modify the downloaded profile XML file and add the **\<includeroutes>\<route>\<destination>\<mask> \</destination>\</mask>\</route>\</includeroutes>** tags.
176
-
177
-
```
178
-
<azvpnprofile>
179
-
<clientconfig>
180
-
181
-
<includeroutes>
182
-
<route>
183
-
<destination>x.x.x.x</destination><mask>24</mask>
184
-
</route>
185
-
</includeroutes>
186
-
187
-
</clientconfig>
188
-
</azvpnprofile>
189
-
```
190
-
191
-
### How do I block (exclude) routes from the VPN client?
192
-
193
-
You can modify the downloaded profile XML file and add the **\<excluderoutes>\<route>\<destination>\<mask> \</destination>\</mask>\</route>\</excluderoutes>** tags.
194
-
195
-
```
196
-
<azvpnprofile>
197
-
<clientconfig>
198
-
199
-
<excluderoutes>
200
-
<route>
201
-
<destination>x.x.x.x</destination><mask>24</mask>
202
-
</route>
203
-
</excluderoutes>
204
-
205
-
</clientconfig>
206
-
</azvpnprofile>
207
-
```
208
-
209
-
> [!NOTE]
210
-
> - The default status for clientconfig tag is <clientconfig i:nil="true" />, which can be modified based on the requirement.
211
-
> - Duplicate clientconfig tag is not supported on macOS, so make sure the clientconfig tag is not duplicated in the XML file.
212
-
>
107
+
You can configure the Azure VPN Client with optional configuration settings such as additional DNS servers, custom DNS, forced tunneling, custom routes, and other additional settings. For a description of the available optional settings and configuration steps, see [Azure VPN Client optional settings](azure-vpn-client-optional-configurations.md).
# Configure an Azure VPN Client - Azure AD authentication - Windows
12
+
# Configure the Azure VPN Client - Azure AD authentication - Windows
13
13
14
-
This article helps you configure the Azure VPN Client on a Windows computer to connect to a virtual network using a VPN Gateway point-to-site VPN and Azure Active Directory authentication. Before you can connect and authenticate using Azure AD, you must first configure your Azure AD tenant. For more information, see [Configure an Azure AD tenant](openvpn-azure-ad-tenant.md). For more information about point-to-site, see [About point-to-site VPN](point-to-site-about.md).
14
+
This article helps you configure the Azure VPN Client on a Windows computer to connect to a virtual network using a VPN Gateway point-to-site (P2S) VPN and Azure Active Directory authentication. Before you can connect and authenticate using Azure AD, you must first configure your Azure AD tenant. For more information, see [Configure an Azure AD tenant](openvpn-azure-ad-tenant.md). For more information about point-to-site, see [About point-to-site VPN](point-to-site-about.md). The Azure VPN Client supported with Windows FIPS mode with the [KB4577063](https://support.microsoft.com/help/4577063/windows-10-update-kb4577063) hotfix.
To generate the VPN client profile configuration package, see [Working with P2S VPN client profile files](about-vpn-profile-download.md). After you generate the package, follow the steps to extract the profile configuration files.
34
+
1. To generate the VPN client profile configuration package, see [Working with P2S VPN client profile files](about-vpn-profile-download.md).
35
+
1. Download and extract the VPN client profile configuration files.
For Azure AD authentication configurations, the **azurevpnconfig.xml** is used. The file is located in the **AzureVPN** folder of the VPN client profile configuration package.
40
40
@@ -132,131 +132,9 @@ Once you have a working profile and need to distribute it to other users, you ca
### Is the Azure VPN Client supported with Windows FIPS mode?
138
-
139
-
Yes, with the [KB4577063](https://support.microsoft.com/help/4577063/windows-10-update-kb4577063) hotfix.
140
-
141
-
### How do I add DNS suffixes to the VPN client?
142
-
143
-
You can modify the downloaded profile XML file and add the **\<dnssuffixes>\<dnssufix> \</dnssufix>\</dnssuffixes>** tags.
144
-
145
-
```
146
-
<azvpnprofile>
147
-
<clientconfig>
148
-
149
-
<dnssuffixes>
150
-
<dnssuffix>.mycorp.com</dnssuffix>
151
-
<dnssuffix>.xyz.com</dnssuffix>
152
-
<dnssuffix>.etc.net</dnssuffix>
153
-
</dnssuffixes>
154
-
155
-
</clientconfig>
156
-
</azvpnprofile>
157
-
```
158
-
159
-
### How do I add custom DNS servers to the VPN client?
160
-
161
-
You can modify the downloaded profile XML file and add the **\<dnsservers>\<dnsserver> \</dnsserver>\</dnsservers>** tags.
162
-
163
-
```
164
-
<azvpnprofile>
165
-
<clientconfig>
166
-
167
-
<dnsservers>
168
-
<dnsserver>x.x.x.x</dnsserver>
169
-
<dnsserver>y.y.y.y</dnsserver>
170
-
</dnsservers>
171
-
172
-
</clientconfig>
173
-
</azvpnprofile>
174
-
```
175
-
176
-
> [!NOTE]
177
-
> The OpenVPN Azure AD client utilizes DNS Name Resolution Policy Table (NRPT) entries, which means DNS servers will not be listed under the output of `ipconfig /all`. To confirm your in-use DNS settings, please consult [Get-DnsClientNrptPolicy](/powershell/module/dnsclient/get-dnsclientnrptpolicy) in PowerShell.
178
-
>
179
-
180
-
### <aname="split"></a>Can I configure split tunneling for the VPN client?
181
-
182
-
Split tunneling is configured by default for the VPN client.
183
-
184
-
### <aname="forced-tunnel"></a>How do I direct all traffic to the VPN tunnel (forced tunneling)?
185
-
186
-
You can configure forced tunneling using two different methods; either by advertising custom routes, or by modifying the profile XML file.
187
-
188
-
> [!NOTE]
189
-
> Internet connectivity is not provided through the VPN gateway. As a result, all traffic bound for the Internet is dropped.
190
-
>
191
-
192
-
***Advertise custom routes:** You can advertise custom routes 0.0.0.0/1 and 128.0.0.0/1. For more information, see [Advertise custom routes for P2S VPN clients](vpn-gateway-p2s-advertise-custom-routes.md).
193
-
194
-
***Profile XML:** You can modify the downloaded profile XML file to add the **\<includeroutes>\<route>\<destination>\<mask> \</destination>\</mask>\</route>\</includeroutes>** tags.
You can modify the downloaded profile XML file and add the **\<includeroutes>\<route>\<destination>\<mask> \</destination>\</mask>\</route>\</includeroutes>** tags.
218
-
219
-
```
220
-
<azvpnprofile>
221
-
<clientconfig>
222
-
223
-
<includeroutes>
224
-
<route>
225
-
<destination>x.x.x.x</destination><mask>24</mask>
226
-
</route>
227
-
</includeroutes>
228
-
229
-
</clientconfig>
230
-
</azvpnprofile>
231
-
```
232
-
233
-
### How do I block (exclude) routes from the VPN client?
234
-
235
-
You can modify the downloaded profile XML file and add the **\<excluderoutes>\<route>\<destination>\<mask> \</destination>\</mask>\</route>\</excluderoutes>** tags.
236
-
237
-
```
238
-
<azvpnprofile>
239
-
<clientconfig>
240
-
241
-
<excluderoutes>
242
-
<route>
243
-
<destination>x.x.x.x</destination><mask>24</mask>
244
-
</route>
245
-
</excluderoutes>
246
-
247
-
</clientconfig>
248
-
</azvpnprofile>
249
-
```
250
-
251
-
### Can I import the profile from a command-line prompt?
252
-
253
-
You can import the profile from a command-line prompt by placing the downloaded **azurevpnconfig.xml** file in the **%userprofile%\AppData\Local\Packages\Microsoft.AzureVpn_8wekyb3d8bbwe\LocalState** folder and running the following command:
You can configure the Azure VPN Client with optional configuration settings such as additional DNS servers, custom DNS, forced tunneling, custom routes, and other additional settings. For a description of the available optional settings and configuration steps, see [Azure VPN Client optional settings](azure-vpn-client-optional-configurations.md).
0 commit comments