question

Error401-7025 avatar image
0 Votes"
Error401-7025 asked Error401-7025 published

VPN Server Creation in Azure VM

Hi,
I want to create a VPN Server in Azure VM (Windows Server 2016) which I can connect from my local machine.
How do I achieve this.

Please provide the steps so I can follow up.

Thanks

azure-vpn-gateway
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Sumarigo-MSFT avatar image
0 Votes"
Sumarigo-MSFT answered Sumarigo-MSFT edited

@Error401-7025 Thanks for raising this question! Firstly, apologies for the delay in responding here and any inconvenience this issue may have caused.

You can use Azure Point to site or Site to Site VPN

There are few third party article, which may provide complete details on your scenario

If you still have any questions or the above suggestion doesn't helps or you need further assistance on this issue please let us know the complete scenario and what exactly are you trying to accomplish!

Looking forward for your reply

Hope this helps!



Please do not forget to "Accept the answer” and “up-vote” wherever the information provided helps you, this can be beneficial to other community members.



Disclaimer: This response contains a reference to a third-party World Wide Web site. Microsoft is providing this information as a convenience to you. Microsoft does not control these sites and has not tested any software or information found on these sites; therefore, Microsoft cannot make any representations regarding the quality, safety, or suitability of any software or information found there.
There are inherent dangers in the use of any software found on the Internet, and Microsoft cautions you to make sure that you completely understand the risk before retrieving any software from the Internet.



5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Error401-7025 avatar image
0 Votes"
Error401-7025 answered Error401-7025 published

Hi thank you for your reply,

I already configured this in my environment, but I'm having problem while connecting to my android system -
It is working fine on Windows Device.
I'm getting this following error as collecting from the log of openVPN connect app-

 15:48:00.997 -- ----- OpenVPN Start -----
    
 15:48:00.998 -- EVENT: CORE_THREAD_ACTIVE
    
 15:48:01.000 -- OpenVPN core 3.git:released:662eae9a:Release android arm64 64-bit PT_PROXY
    
 15:48:01.001 -- Frame=512/2048/512 mssfix-ctrl=1250
    
 15:48:01.002 -- UNUSED OPTIONS
 2 [verify-x509-name] ['8511006a-1c05-4e33-b615-1ca24c89a51a.vpn.azure.com'] [name] 
 6 [resolv-retry] [infinite] 
 7 [nobind] 
 10 [persist-key] 
 11 [persist-tun] 
 15 [log] [openvpn.log] 
 16 [verb] [3] 
    
 15:48:01.003 -- EVENT: RESOLVE
    
 15:48:01.494 -- Contacting 52.172.137.57:443 via TCPv4
    
 15:48:01.495 -- EVENT: WAIT
    
 15:48:01.601 -- Connecting to [azuregateway-8511006a-1c05-4e33-b615-1ca24c89a51a-f228cbc68ab7.vpn.azure.com]:443 (52.172.137.57) via TCPv4
    
 15:48:01.670 -- EVENT: CONNECTING
    
 15:48:01.678 -- Tunnel Options:V4,dev-type tun,link-mtu 1523,tun-mtu 1500,proto TCPv4_CLIENT,keydir 1,cipher AES-256-GCM,auth [null-digest],keysize 256,tls-auth,key-method 2,tls-client
    
 15:48:01.681 -- Creds: UsernameEmpty/PasswordEmpty
    
 15:48:01.683 -- Peer Info:
 IV_VER=3.git:released:662eae9a:Release
 IV_PLAT=android
 IV_NCP=2
 IV_TCPNL=1
 IV_PROTO=2
 IV_AUTO_SESS=1
 IV_GUI_VER=net.openvpn.connect.android_3.2.4-5891
 IV_SSO=openurl
    
    
 15:48:01.922 -- VERIFY FAIL: depth=1, /C=US/O=DigiCert Inc/CN=DigiCert SHA2 Secure Server CA [unable to get local issuer certificate]
    
 15:48:01.925 -- Transport Error: OpenSSLContext::SSL::read_cleartext: BIO_read failed, cap=2576 status=-1: error:1416F086:SSL routines:tls_process_server_certificate:certificate verify failed
    
 15:48:01.931 -- EVENT: CERT_VERIFY_FAIL info='OpenSSLContext::SSL::read_cleartext: BIO_read failed, cap=2576 status=-1: error:1416F086:SSL routines:tls_process_server_certificate:certificate verify failed'
    
 15:48:01.942 -- EVENT: DISCONNECTED
    
 15:48:01.943 -- Tunnel bytes per CPU second: 0
    
 15:48:01.944 -- ----- OpenVPN Stop -----


NOTE - I installed the client.pfx certificate on android device and configured the .ovpn file with Root Certificate, Client Certificate and Private key,
Still I'm getting this error.

Thanks

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.