about routing table configuration

Lary Kos 1 Reputation point

I have some questions about the default route table of Azure VPN gateway.
I have a Virtual network(,a ec2 host ( ,and a Virtual appliance(
I hope the client of VPN gateway to access the host MUST go through Virtual appliance(
The network traffic is then forwarded by Virtual appliance( to the host (

So I configured routing talbe for VPN gateway:
Address prefixes :
Next hop type: Virtual appliance
Next hop IP address:

Routing table is configured for the Virtual appliance:
Address prefixes :
Next hop type: Virtual network (

In theory, the route set by the user is higher than the default route of the system.
The actual situation is that when I disable all the access traffic of the client of VPN gateway in the Virtual appliance (,
the client of VPN gateway can still access the host (
How to set up routing table, so that vpn client's access to the Virtual network ( must pass through the Virtual appliance(


Azure Firewall Manager
Azure Firewall Manager
An Azure service that provides central network security policy and route management for globally distributed, software-defined perimeters.
87 questions
{count} votes

1 answer

Sort by: Most helpful
  1. JimmySalian-2011 41,961 Reputation points


    AFAIK, you will need to setup the VPN gateway type as Routebased and detailed information is over here so please go through the CLI and PS commands to set it up.vpn-gateway-about-vpn-gateway-settings

    Also check the GW configured on the client that should be the VPN GW.

    Hope this helps.

    Please "Accept the answer" if the information helped you. This will help us and others in the community as well.

    0 comments No comments