Maximum number of "excluderoutes" in XML file

Official client software for OpenVPN Access Server and OpenVPN Cloud.
Post Reply
gavinkim
OpenVpn Newbie
Posts: 1
Joined: Thu Jun 23, 2022 10:45 am

Maximum number of "excluderoutes" in XML file

Post by gavinkim » Thu Jun 23, 2022 10:50 am

This is regarding the limits for "excluderoutes" in openvpn xml profile.
Do we have any limit on the greatest allowed number of routes of "excluderoutes"?


VPN Gateway: VPN client for OpenVPN protocol P2S connections: Azure AD authentication | Microsoft Docs
https://docs.microsoft.com/en-us/azure/ ... vpn-client

How do I block (exclude) routes from the VPN client?
You can modify the downloaded profile XML file and add the <excluderoutes><route><destination><mask> </destination></mask></route></excluderoutes> tags.
<azvpnprofile>
<clientconfig>

<excluderoutes>
<route>
<destination>x.x.x.x</destination><mask>24</mask>
</route>
</excluderoutes>

</clientconfig>
</azvpnprofile>

Post Reply