Exclude a route from Azure VPN Client

Joe Saad 20 Reputation points
2024-11-26T00:45:04.2933333+00:00

Hello,

I have azure network gateway that has a point to site client VPN with OpenVPN protocol and it has couple of IPsec site to site VPN tunnel, everytime I connect to the client point to site VPN, it let me access the peer private network for the site to site tunnel and it shows; for example if the local private network for one of the site to site VPN tunnel is 192.168.3.0/X, and the peer private network is 172.16.2.0/X, the route 172.16.2.0/X show in the list of the point to site client VPN, I need a way to exclude it with minimum effort.

Thanks,
Joe

Azure VPN Gateway
Azure VPN Gateway
An Azure service that enables the connection of on-premises networks to Azure through site-to-site virtual private networks.
1,647 questions
0 comments No comments
{count} votes

Accepted answer
  1. KapilAnanth-MSFT 48,741 Reputation points Microsoft Employee
    2024-11-26T04:56:15.6066667+00:00

    @Joe Saad ,

    Welcome to the Microsoft Q&A Platform. Thank you for reaching out & I hope you are doing well.

    I understand that you would like to excludes routes from P2S client.

    Please refer to : Azure VPN Client - Optional DNS and routing settings | Block (exclude) routes

    Kindly modify the XML configuration as above and let me know if that helps.

    Thanks,

    Kapil


    Please Accept an answer if correct.

    Original posters help the community find answers faster by identifying the correct answer.

    1 person found this answer helpful.

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.