Hi Kuba
Welcome to the Microsoft Q&A Platform. Thank you for reaching out & I hope you are doing well.
NOTE: At the moment, Azure VPN Gateway does not support BGP route filtering.
- When configuring BGP on your Azure VPN Gateway, ensure that you are aware of the routes being advertised. While Azure does not allow you to filter routes directly, you can manage the routes that you're on-premises network sends to Azure.
If you require more advanced routing capabilities, consider deploying a Network Virtual Appliance (NVA) in Azure. NVAs can provide more granular control over routing and can be configured to filter routes based on your requirements but it may involve additional costs and complexity.
If you wish you may upvote the feedback in the below forum requesting this feature. All the feedback you share in these forums will be monitored and reviewed by the Microsoft engineering teams responsible for building Azure.
Feedback forum: https://feedback.azure.com/d365community/idea/ef6fe1c6-8426-ec11-b6e6-000d3a4f0789
I hope this has been helpful!
If above is unclear and/or you are unsure about something add a comment below.
Your feedback is important so please take a moment to accept answers. If you still have questions, please let us know what is needed in the comments so the question can be answered. Thank you for helping to improve Microsoft Q&A!
Please accept an answer if correct. Original posters help the community find answers faster by identifying the correct answer. Here is how.