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
Copy file name to clipboardExpand all lines: articles/vpn-gateway/openvpn-azure-ad-client.md
+37-2Lines changed: 37 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -6,7 +6,7 @@ author: anzaman
6
6
7
7
ms.service: vpn-gateway
8
8
ms.topic: conceptual
9
-
ms.date: 02/10/2020
9
+
ms.date: 02/28/2020
10
10
ms.author: alzam
11
11
12
12
---
@@ -164,9 +164,26 @@ You can modify the downloaded profile XML file and add the **\<dnssuffixes>\<dns
164
164
</azvpnprofile>
165
165
```
166
166
167
+
### How do I add custom DNS servers to the VPN client?
168
+
169
+
You can modify the downloaded profile XML file and add the **\<dnsservers>\<dnsserver> \</dnsserver>\</dnsservers>** tags
170
+
171
+
```
172
+
<azvpnprofile>
173
+
<clientconfig>
174
+
175
+
<dnsservers>
176
+
<dnsserver>x.x.x.x</dnsserver>
177
+
<dnsserver>y.y.y.y</dnsserver>
178
+
</dnsservers>
179
+
180
+
</clientconfig>
181
+
</azvpnprofile>
182
+
```
183
+
167
184
### How do I add custom routes to the VPN client?
168
185
169
-
You can modify the downloaded profile XML file and add the **\<route>\<includeroutes>\<destination>\<mask> \</route>\</includeroutes>\</destination>\</mask>** tags
186
+
You can modify the downloaded profile XML file and add the **\<includeroutes>\<route>\<destination>\<mask> \</destination>\</mask>\</route>\</includeroutes>** tags
170
187
171
188
```
172
189
<azvpnprofile>
@@ -182,6 +199,24 @@ You can modify the downloaded profile XML file and add the **\<route>\<includero
182
199
</azvpnprofile>
183
200
```
184
201
202
+
### How do I block (exclude) routes from the VPN client?
203
+
204
+
You can modify the downloaded profile XML file and add the **\<excluderoutes>\<route>\<destination>\<mask> \</destination>\</mask>\</route>\</excluderoutes>** tags
205
+
206
+
```
207
+
<azvpnprofile>
208
+
<clientconfig>
209
+
210
+
<excluderoutes>
211
+
<route>
212
+
<destination>x.x.x.x</destination><mask>24</mask>
213
+
</route>
214
+
</excluderoutes>
215
+
216
+
</clientconfig>
217
+
</azvpnprofile>
218
+
```
219
+
185
220
## Next steps
186
221
187
222
For more information, see [Create an Azure Active Directory tenant for P2S Open VPN connections that use Azure AD authentication](openvpn-azure-ad-tenant.md).
0 commit comments