Fix s2s connection

Taylor, Kevin 20 Reputation points
2024-08-12T21:16:40.6366667+00:00

My vpn gateway has one connection to my local network. When I try to connect with the Azure default settings, the connection never happens. When the vpn gateway is setup as responder, I get a connection. I want to correct the configuration of my local network gateway, but I have questions about that. It seems the LNG is sending all of the routes listed in the route table, plus all of the vnets that peer with the vnet the vpn gateway is connected to. Does that seem accurate? Because the LNG doesn't seem to accurately represent the networks I have on my on-prem network.

Hopefully that makes sense.

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,543 questions
{count} votes

Accepted answer
  1. KapilAnanth-MSFT 46,016 Reputation points Microsoft Employee
    2024-08-13T05:42:03.7133333+00:00

    @Taylor, Kevin ,

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

    I understand that your S2S Connection gets established only when you set the Gateway as Responder only.

    LNG is a virtual representation of your OnPremise Network.

    • This means, this should ideally contain the on prem network address range
    • To address your query, "LNG is sending all of the routes listed in the route table, plus all of the vnets that peer with the vnet the vpn gateway is connected to"
      • This is incorrect
      • VPN Gateway would send the address range of VNET where it is deployed, and the VNETs peered to this VNET to OnPrem
      • LNG would not send anything, the actual OnPrem device is the one that would send the configuration settings.

    NOTE : A VPN gateway accepts any traffic selectors proposed by a remote gateway (on-premises VPN device). This behavior is consistent among all connection modes (Default, InitiatorOnly, and ResponderOnly).

    If you use your own Custom IPsec/IKE policy with Azure VPN, you must make sure whatever policy you define is supported in the OnPrem device as well.

    If you find that in this case, the connection is not getting established,

    Cheers,

    Kapil


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.