Site-to-site VPN connetivity bidirectional ssh

Pasha780 1 Reputation point
2020-08-12T10:51:23.033+00:00

I have created a VPN site to Site between Azure Vnet and On-prem VM Windows12 R2 with RRAS, I have the tunnel established and connected.
I am able to connect Azure Linux VM from On-prem Linux VM with private IP.But unable to connect On-prem Linux VM from Azure Linux VM
I understood that the Site to site Azure communicate bidirectional but I am not sure,do I require any setting further at Azure side or My onprem side to connect ssh bidirectional.Please suggest.

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,524 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. TravisCragg-MSFT 5,681 Reputation points Microsoft Employee
    2020-08-14T01:19:59.017+00:00

    Typically a lack of bi-directional connectivity is due to either a block in a firewall / NSG, or an issue with the VPN configuration. We know that traffic can flow because you can establish a TCP connection one way, so I would start with checking Firewalls or NSGs.

    I would start by making sure your on-premise firewalls and Azure NSGs are not blocking the traffic. NSGs can sit on both the NIC of the VM, as well as the subnet that the NIC is in. You can view the effective rules by going to the 'networking' tab of the VM in the Portal. Make sure that traffic is allowed outbound on port 22 to your on-premise IP Range. Also check any on-premise firewalls that could be blocking the traffic on port 22 inbound.

    Here is a good TSG on VPN Gateways. Not every step is applicable to your situation, but it will be worth it to go through and double check your configuration.

    0 comments No comments

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.