Skip to content

Commit d3c3abc

Browse files
committed
Update openvpn-azure-ad-client.md
Added FAQs
1 parent 9a62004 commit d3c3abc

File tree

1 file changed

+36
-1
lines changed

1 file changed

+36
-1
lines changed

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

Lines changed: 36 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -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>\</destionation>\</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)