Forum Discussion

Mainul4000's avatar
Mainul4000
Copper Contributor
May 06, 2020

How can I access my local serial over IP device from Azure win10 vm?

Hi,

I have windows10 pc at home. which is connected with home router. so my win10 pc has 1 public IP and 1 private IP from that router subnet. I have one serial over IP device that is connected with the home router with in the same private IP subnet. I can access that device from my home win10 pc.

I have created a Azure cloud VM that is also win10. which has a public IP and private IP. Now I want to access that local serial over IP device of my home from that azure win10 VM.

 

If I create a point to site VPN between my local win10 and azure win10 VM then will I be able to access my home serial over IP device from azure VM?

Please advice.

4 Replies

  • Hello, Mainul4000 ,

     

    You will not be able to access your local serial to IP device from the Azure windows 10 even though you have established a point to site VPN between your local windows 10 machine and your Azure Virtual Network.

    The reason for this is that a point to site VPN will not route your local network to your Azure network, which in your case is required in order for the local serial device to be accessible.

     

    In your case a site to site VPN from your local router is required in order to to route traffic properly between the Azure Vnet and your local network.

     

    now your challenge is to get the site to site VPN up and running on your home router.

    check the steps in the following article for setup details.

    https://docs.microsoft.com/en-us/azure/vpn-gateway/vpn-gateway-howto-site-to-site-resource-manager-portal

     

    Regards,

    Charbel Hanna

    • Mainul4000's avatar
      Mainul4000
      Copper Contributor

      Charbelhanna 

      Thanks for the reply.

      I have a basic Netgear home router. Is it possible to create a S2S VPN between my local win10 pc and azure win10 VM?

      it seems complicated now. the document link you have shared has a prerequisite of VPN device which i dont have.

      please suggest.

      Thanks.

      Mainul

      • Charbelhanna's avatar
        Charbelhanna
        MCT

        Mainul4000 

        Hello Mainul,

        I afraid that you cannot use your windows 10 machine for S2S VPN and you are right the article that I have provide you discuss a VPN device, however I should note that a windows server machine with RRAS role installed can be used as a supported VPN device for S2S VPN connectivity.

         

        However, I believe that in your case it will be complicated to put this configuration in place taking into consideration the configuration requirements despite that you can install RRAS windows server machine as a VM on the windows 10 machine :

        - 2 Networks on the windows 10 and RRAS machine

        - NAT traffic configuration on the netgear router

        - Dedicated Subnet for the serial to IP device.

         

        for your reference check the following article for S2S VPN with RRAS configuration details

        https://scomandothergeekystuff.com/2016/09/19/creating-a-site-to-site-vpn-with-azure-resource-manager-arm-and-windows-2012r2/

         

        Regards,

        Charbel Hanna

         

         

Resources