Skip to content

Commit 9a62004

Browse files
committed
Update openvpn-azure-ad-client.md
Custom Routes
1 parent 0cadb16 commit 9a62004

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

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

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -164,6 +164,24 @@ You can modify the downloaded profile XML file and add the **\<dnssuffixes>\<dns
164164
</azvpnprofile>
165165
```
166166

167+
### How do I add custom routes to the VPN client?
168+
169+
You can modify the downloaded profile XML file and add the **\<route>\<includeroutes>\<destination>\<mask> \</route>\</includeroutes>\</destionation>\</mask>** tags
170+
171+
```
172+
<azvpnprofile>
173+
<clientconfig>
174+
175+
<includeroutes>
176+
<route>
177+
<destination>x.x.x.x</destination><mask>24</mask>
178+
</route>
179+
</includeroutes>
180+
181+
</clientconfig>
182+
</azvpnprofile>
183+
```
184+
167185
## Next steps
168186

169187
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)