Skip to content

Commit 7f63ba3

Browse files
authored
Merge pull request #106078 from anzaman/master
Update openvpn-azure-ad-client.md
2 parents 3224467 + 889953f commit 7f63ba3

File tree

1 file changed

+37
-2
lines changed

1 file changed

+37
-2
lines changed

articles/vpn-gateway/openvpn-azure-ad-client.md

Lines changed: 37 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ author: anzaman
66

77
ms.service: vpn-gateway
88
ms.topic: conceptual
9-
ms.date: 02/10/2020
9+
ms.date: 02/28/2020
1010
ms.author: alzam
1111

1212
---
@@ -164,9 +164,26 @@ You can modify the downloaded profile XML file and add the **\<dnssuffixes>\<dns
164164
</azvpnprofile>
165165
```
166166

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+
167184
### How do I add custom routes to the VPN client?
168185

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
170187

171188
```
172189
<azvpnprofile>
@@ -182,6 +199,24 @@ You can modify the downloaded profile XML file and add the **\<route>\<includero
182199
</azvpnprofile>
183200
```
184201

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+
185220
## Next steps
186221

187222
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

Comments
 (0)