Azure VPN Ping doesn't reach

tuioku 11 Reputation points
2022-08-26T09:44:09.137+00:00

I have created an azure vpn gateway and my mac and ubuntu 18.04 have a p2s connection.
However, both machines do not receive packat when pinging each other.
How can I get them to arrive?

Do I need to configure root forwarding?

■ azure vnet subnet

  • FrontEnd
  • 10.1.0.0/24
  • GatewaySubnet
    • 10.1.255.0/27
  • address space
    • 10.0.0.0/16
    • 10.1.0.0/16

■ azure vnet gateway

  • address pool
  • 172.16.201.0/24
  • tunnel type
    • openVPN

■ mac

  • wifi ssid
  • A
  • private ip address network interface
    • eth0
      • 10.2.59.83
    • utun3(vpn)
      • inet 172.16.201.4 --> 172.16.201.4
  • netstat -rn
    172.16/24 utun3 USc utun3
    172.16.201/24 link#17 UCS utun3
    172.16.201.4 172.16.201.4 UH utun3
    192.168.0/23 utun3 USc utun3

■ ubuntu 18.04

  • wifi ssid
  • B
  • private ip address network interface
    • wlan0
      • 192.168.100.208
    • tun0(vpn)
      • 172.16.201.3/24
  • route
    Kernel IP routing table
    Destination Gateway Genmask Flags Metric Ref Use Iface
    default _gateway 0.0.0.0 UG 20600 0 0 wlan0
    default _gateway 0.0.0.0 UG 32766 0 0 l4tbr0
    10.0.0.0 _gateway 255.255.0.0 UG 50 0 0 tun0
    10.1.0.0 _gateway 255.255.0.0 UG 50 0 0 tun0
    link-local 0.0.0.0 255.255.0.0 U 1000 0 0 l4tbr0
    172.16.201.0 0.0.0.0 255.255.0.0 U 50 0 0 tun0
    172.17.0.0 0.0.0.0 255.255.0.0 U 0 0 0 docker0
    192.168.55.0 0.0.0.0 255.255.255.0 U 0 0 0 l4tbr0
    192.168.100.0 0.0.0.0 255.255.255.0 U 600 0 0 wlan0
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,795 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Jackson Martins 10,606 Reputation points MVP Volunteer Moderator
    2022-08-26T10:45:38.253+00:00

    Hi @tuioku

    I think the same issue is being addressed in this thread.

    Are trying to ping 172.16.201.3 <-> 172.16.201.4 ?
    Did you check the internal firewall from the machines?
    On any VM on Azure, can you ping the client?

    You don't need any additional configuration for this communication to work

    Best


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.