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

%3CLINGO-SUB%20id%3D%22lingo-sub-1364408%22%20slang%3D%22en-US%22%3EHow%20can%20I%20access%20my%20local%20serial%20over%20IP%20device%20from%20Azure%20win10%20vm%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1364408%22%20slang%3D%22en-US%22%3E%3CP%3EHi%2C%3C%2FP%3E%3CP%3EI%20have%20windows10%20pc%20at%20home.%20which%20is%20connected%20with%20home%20router.%20so%20my%20win10%20pc%20has%201%20public%20IP%20and%201%20private%20IP%20from%20that%20router%20subnet.%20I%20have%20one%20serial%20over%20IP%20device%20that%20is%20connected%20with%20the%20home%20router%20with%20in%20the%20same%20private%20IP%20subnet.%20I%20can%20access%20that%20device%20from%20my%20home%20win10%20pc.%3C%2FP%3E%3CP%3EI%20have%20created%20a%20Azure%20cloud%20VM%20that%20is%20also%20win10.%20which%20has%20a%20public%20IP%20and%20private%20IP.%20Now%20I%20want%20to%20access%20that%20local%20serial%20over%20IP%20device%20of%20my%20home%20from%20that%20azure%20win10%20VM.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EIf%20I%20create%20a%20point%20to%20site%20VPN%20between%20my%20local%20win10%20and%20azure%20win10%20VM%20then%20will%20I%20be%20able%20to%20access%20my%20home%20serial%20over%20IP%20device%20from%20azure%20VM%3F%3C%2FP%3E%3CP%3EPlease%20advice.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-1364408%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EVirtual%20Network%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1365733%22%20slang%3D%22en-US%22%3ERe%3A%20How%20can%20I%20access%20my%20local%20serial%20over%20IP%20device%20from%20Azure%20win10%20vm%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1365733%22%20slang%3D%22en-US%22%3E%3CP%3EHello%2C%20%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F658172%22%20target%3D%22_blank%22%3E%40Mainul4000%3C%2FA%3E%20%2C%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EYou%20will%20not%20be%20able%20to%20access%20your%20local%20serial%20to%20IP%20device%20from%20the%20Azure%20windows%2010%20even%20though%20you%20have%20established%20a%20point%20to%20site%20VPN%20between%20your%20local%20windows%2010%20machine%20and%20your%20Azure%20Virtual%20Network.%3C%2FP%3E%3CP%3EThe%20reason%20for%20this%20is%20that%20a%20point%20to%20site%20VPN%20will%20not%20route%20your%20local%20network%20to%20your%20Azure%20network%2C%20which%20in%20your%20case%20is%20required%20in%20order%20for%20the%20local%20serial%20device%20to%20be%20accessible.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EIn%20your%20case%20a%20site%20to%20site%20VPN%20from%20your%20local%20router%20is%20required%20in%20order%20to%20to%20route%20traffic%20properly%20between%20the%20Azure%20Vnet%20and%20your%20local%20network.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3Enow%20your%20challenge%20is%20to%20get%20the%20site%20to%20site%20VPN%20up%20and%20running%20on%20your%20home%20router.%3C%2FP%3E%3CP%3Echeck%20the%20steps%20in%20the%20following%20article%20for%20setup%20details.%3C%2FP%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fazure%2Fvpn-gateway%2Fvpn-gateway-howto-site-to-site-resource-manager-portal%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3Ehttps%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fazure%2Fvpn-gateway%2Fvpn-gateway-howto-site-to-site-resource-manager-portal%3C%2FA%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ERegards%2C%3C%2FP%3E%3CP%3ECharbel%20Hanna%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1365753%22%20slang%3D%22en-US%22%3ERe%3A%20How%20can%20I%20access%20my%20local%20serial%20over%20IP%20device%20from%20Azure%20win10%20vm%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1365753%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F573584%22%20target%3D%22_blank%22%3E%40Charbelhanna%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThanks%20for%20the%20reply.%3C%2FP%3E%3CP%3EI%20have%20a%20basic%20Netgear%20home%20router.%20Is%20it%20possible%20to%20create%20a%20S2S%20VPN%20between%20my%20local%20win10%20pc%20and%20azure%20win10%20VM%3F%3C%2FP%3E%3CP%3Eit%20seems%20complicated%20now.%20the%20document%20link%20you%20have%20shared%20has%20a%20prerequisite%20of%20VPN%20device%20which%20i%20dont%20have.%3C%2FP%3E%3CP%3Eplease%20suggest.%3C%2FP%3E%3CP%3EThanks.%3C%2FP%3E%3CP%3EMainul%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1365809%22%20slang%3D%22en-US%22%3ERe%3A%20How%20can%20I%20access%20my%20local%20serial%20over%20IP%20device%20from%20Azure%20win10%20vm%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1365809%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F658172%22%20target%3D%22_blank%22%3E%40Mainul4000%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3EHello%20Mainul%2C%3C%2FP%3E%3CP%3EI%20afraid%20that%20you%20cannot%20use%20your%20windows%2010%20machine%20for%20S2S%20VPN%20and%20you%20are%20right%20the%20article%20that%20I%20have%20provide%20you%20discuss%20a%20VPN%20device%2C%20however%20I%20should%20note%20that%20a%20windows%20server%20machine%20with%20RRAS%20role%20installed%20can%20be%20used%20as%20a%20supported%20VPN%20device%20for%20S2S%20VPN%20connectivity.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EHowever%2C%20I%20believe%20that%20in%20your%20case%20it%20will%20be%20complicated%20to%20put%20this%20configuration%20in%20place%20taking%20into%20consideration%20the%20configuration%20requirements%20despite%20that%20you%20can%20install%20RRAS%20windows%20server%20machine%20as%20a%20VM%20on%20the%20windows%2010%20machine%20%3A%3C%2FP%3E%3CP%3E-%202%20Networks%20on%20the%20windows%2010%20and%20RRAS%20machine%3C%2FP%3E%3CP%3E-%20NAT%20traffic%20configuration%20on%20the%20netgear%20router%3C%2FP%3E%3CP%3E-%20Dedicated%20Subnet%20for%20the%20serial%20to%20IP%20device.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3Efor%20your%20reference%20check%20the%20following%20article%20for%20S2S%20VPN%20with%20RRAS%20configuration%20details%3C%2FP%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Fscomandothergeekystuff.com%2F2016%2F09%2F19%2Fcreating-a-site-to-site-vpn-with-azure-resource-manager-arm-and-windows-2012r2%2F%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fscomandothergeekystuff.com%2F2016%2F09%2F19%2Fcreating-a-site-to-site-vpn-with-azure-resource-manager-arm-and-windows-2012r2%2F%3C%2FA%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ERegards%2C%3C%2FP%3E%3CP%3ECharbel%20Hanna%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1372570%22%20slang%3D%22en-US%22%3ERe%3A%20How%20can%20I%20access%20my%20local%20serial%20over%20IP%20device%20from%20Azure%20win10%20vm%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1372570%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F573584%22%20target%3D%22_blank%22%3E%40Charbelhanna%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3EHi%2C%3C%2FP%3E%3CP%3EThanks%20for%20the%20reply.%3C%2FP%3E%3CP%3EI%20have%20tried%20to%20create%20a%20RRAS%20server.%3C%2FP%3E%3CP%3EI%20have%20installed%20virtualbox%20and%20created%20a%20windows2016%20VM%20in%20my%20win10%20pc.%20Installed%20RRAS%20role%20and%20configured%20it.%20My%20win10%20pc%2C%20RRAS%20server%20and%20serial%20over%20IP%20device%20all%20are%20getting%20IP%20from%20my%20home%20router.%3C%2FP%3E%3CP%3EAT%20Home%3A%3A%3A%3A%3A%3A%3A%3A%3A%3A%3A%3A%3A%3C%2FP%3E%3CP%3EHome%20router%20%26nbsp%3Bsubnet%3A%2010.0.0.0%2F24%3C%2FP%3E%3CP%3EMy%20win10%20pc%3A%2010.0.0.10%3C%2FP%3E%3CP%3ERRAS%20server%3A%2010.0.0.7%20(bridged%20adaptor%20from%20virtualbox)%3C%2FP%3E%3CP%3ESerial%20over%20IP%20device%3A%2010.0.0.20%3C%2FP%3E%3CP%3EAt%20Azure%20side%3A%3A%3A%3A%3A%3A%3A%3A%3A%3A%3A%3A%3A%3C%2FP%3E%3CP%3EAddress%20space%3A%2010.10.0.0%2F16%3C%2FP%3E%3CP%3ESubnet%3A%2010.10.1.0%2F24%3C%2FP%3E%3CP%3Egateway%20subnet%3A%2010.10.0.0%2F28%3C%2FP%3E%3CP%3EWin10%20VM%20private%20IP%3A%2010.10.1.6%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ENow%20I%20can%20see%20connected%20from%20RRAS%20and%20from%20Azure%20side.%3C%2FP%3E%3CP%3EI%20can%20ping%20and%20RDP%20from%20win2016(RRAS)%20server%20to%20win10%20azure%20VM%20with%20private%20IP(10.10.1.6).%20I%20can%20also%20ping%20from%20azure%20vo%20to%20RRAS%20win2016%20server(10.0.0.7)%3C%2FP%3E%3CP%3EBut%20I%20can%20not%20ping%20OR%20RDP%20from%20my%20host%20win10%20pc%20to%20azure%20VM%20private%20IP.%3C%2FP%3E%3CP%3EI%20can%20not%20ping%20from%20azure%20vo%20to%20serial%20over%20IP%20device.%26nbsp%3B%3C%2FP%3E%3CP%3EThe%20only%20communication%20(ping%20%2B%20RDP)%20happening%20between%20RRAS%20server%20and%20azure%20win10%20VM.%3C%2FP%3E%3CP%3EEven%20though%20my%20local%20host%20win10%20pc%20and%20the%20serial%20over%20IP%20device%20in%20the%20same%20subnet%2010.0.0.0%2F24%20they%20have%20NO%20communication%20with%20azure%20VM.%20But%20I%20need%20to%20access%20the%20serial%20over%20IP%20device%20from%20azure%20VM.%20seems%20like%20I%20am%20very%20close.%3C%2FP%3E%3CP%3EPlease%20help%20me%20with%20your%20valuable%20suggestion.%26nbsp%3B%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThank%20you.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E
New Contributor

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-p...

 

Regards,

Charbel Hanna

@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

@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-manage...

 

Regards,

Charbel Hanna

 

 

@Charbelhanna 

Hi,

Thanks for the reply.

I have tried to create a RRAS server.

I have installed virtualbox and created a windows2016 VM in my win10 pc. Installed RRAS role and configured it. My win10 pc, RRAS server and serial over IP device all are getting IP from my home router.

AT Home:::::::::::::

Home router  subnet: 10.0.0.0/24

My win10 pc: 10.0.0.10

RRAS server: 10.0.0.7 (bridged adaptor from virtualbox)

Serial over IP device: 10.0.0.20

At Azure side:::::::::::::

Address space: 10.10.0.0/16

Subnet: 10.10.1.0/24

gateway subnet: 10.10.0.0/28

Win10 VM private IP: 10.10.1.6

 

Now I can see connected from RRAS and from Azure side.

I can ping and RDP from win2016(RRAS) server to win10 azure VM with private IP(10.10.1.6). I can also ping from azure vo to RRAS win2016 server(10.0.0.7)

But I can not ping OR RDP from my host win10 pc to azure VM private IP.

I can not ping from azure vo to serial over IP device. 

The only communication (ping + RDP) happening between RRAS server and azure win10 VM.

Even though my local host win10 pc and the serial over IP device in the same subnet 10.0.0.0/24 they have NO communication with azure VM. But I need to access the serial over IP device from azure VM. seems like I am very close.

Please help me with your valuable suggestion.  

 

Thank you.