Quantcast
Channel: Azure Networking (DNS, Traffic Manager, VPN, VNET) forum
Viewing all articles
Browse latest Browse all 6513

How to ping VM after Setting up VPN

$
0
0

I'm running Windows 8 on my desktop. My azure site has a couple of Virtual Machines.

I have set up an VPN using the Azure web site. It is a point-to-site VPN that does not require a VPN device.

I see the icon on the azure web site that says the VPN was successful.

I started the network (VPN) on my desktop computer (that was last night). This morning I had a dialog box asking me if I wanted to connected to the VPN. I clicked "connect" and it did not give me any errors.

I used remote desktop (RDP) and opened up the firewall for ICMP/ping/echo using the netsh command (see below for the exact command). I verified that it was successful using the Windows Firewall GUI in the Control Panel.

Using an elevated cmd.exe, I do ipconfig/all on my desktop computer.

I see my VPN at 10.0.0.3 (it was 10.0.0.2 last night -- strange) on my desktop in the ipconfig display. This is confusing because I told the Azure VPN setup program to use a different address space (I think it was 172.*.* or maybe 192.168.*.*)  because my desktop was already using the 10.124.151.40. Oh well. Should I be concerned?

Using RDP, I try to ping my desktop machine (where I have opened up the firewall for ICMP/echo/ping). No luck -- it times out. Here are the commands I used on both the Azure VM and my desktop:

netsh advfirewall firewall add rule name="ICMP Allow incoming V4 echo request" protocol=icmpv4:8,any dir=in action=allow

I used this command on the Azure VM to allow Visual Studio Test Manager to connect:

netsh advfirewall firewall add rule name="MicrosoftTest" action=allow protocol=TCP localport=6901

I try to ping my VM on Azure and that does not work either: that times out. I use the internal address of course 100.70.38.11). No luck, this times out too.

I try the "Manage Test Controller" dialog on visual studio and specify 100.70.38.11 and that fails to connect too.

Why cannot I make ping work?

When I do an ipconfig/all on the VM after establishing the VPN, should I see any new addresses (like I do on my desktop machine)? What address should I use when trying to ping the VM from my desktop machine? Can I do it with IPV4? I hope so. I tried using the IPV6 addresses and that did not work either.

Should I be concerned about the fact that the VPN selected 10.0.0.3 because this is conflicting with 10.124.151.40?

Thanks

Siegfried


siegfried heintze




Viewing all articles
Browse latest Browse all 6513

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>