Azure Point-to-Site VPN with Azure AD Authentication and MFA

Ғылым және технология

This video goes over how to deploy an Azure VNet Gateway on an existing VNet and enable Point-to-Site (P2S) VPN connections using Azure AD to authenticate the client. A P2S connection allows clients to connect securely to an Azure Gateway and access resources on the private VNet. The video goes on to demonstrate how enable Multi-Factor Authentication with a Conditional Access policy or enforcing MFA per-user.
Links:
Azure P2S VPN with Certificate Authentication:
• Azure Point-to-Site VP...
Link to Grant Admin Consent:
login.microsoftonline.com/com...
Azure AD User AD Configuration Settings Links:
Tenant:
login.microsoftonline.com/Ten...
Audience:
41b23e61-6c1e-4545-b367-cd054e0ed4b4
Issuer:
sts.windows.net/Tenant_ID/
Source Link (Step 9)
docs.microsoft.com/en-us/azur...

Пікірлер: 103

  • @hfacejumior
    @hfacejumior3 жыл бұрын

    Great content. I loved the fact that you go directly to the central point of the video and still is able to deliver the details necessary to get the job done.

  • @brandonjueschke851
    @brandonjueschke8512 жыл бұрын

    This video was a huge help! Great content, thanks for posting!

  • @SeemonRajS
    @SeemonRajS2 жыл бұрын

    Job done in just a 15 min video. Thank you very much

  • @rentamobtv
    @rentamobtv2 жыл бұрын

    This is really informative and easy to understand. Thanks!

  • @Minerva___
    @Minerva___2 жыл бұрын

    If it hasn't already been pointed out, at 5:39 it says to select User VPN configuration. The wording has changed in the portal to Point-to-site configuration.

  • @chelhernandez
    @chelhernandez4 жыл бұрын

    This is an awesome video! thank you so much.

  • @rayc723
    @rayc7233 жыл бұрын

    Fabulous video, got me thru the process - very appreciative of your professional delivery too, clear and quick, covers all the bases without meandering. But can you help with one more question - what now? I can connect my user to the Azure gateway over VPN , but how do I get them to see their remote application on the VM? Thanks again.

  • @walterwood44
    @walterwood444 жыл бұрын

    Enjoy your videos Travis and learning a lot. One question my boss is asking is if the speed, latency and connection, is any different between regular RDP or using the VM? Thanks.

  • @ronaldbuys2181
    @ronaldbuys21813 жыл бұрын

    Very helpfull, I was missing the part of information for Azure AD URLs in the Microsoft docs. I managed to configure this with your help, thanks.

  • @Ciraltos

    @Ciraltos

    3 жыл бұрын

    Glad it helped!

  • @slobokrsmanovic5913
    @slobokrsmanovic59133 жыл бұрын

    Great video. Thank you so much!!!

  • @UnderworldGrim
    @UnderworldGrim3 жыл бұрын

    Thank you for this! No where in Microsoft documentation (that I could find) explained what the audience and issuer values needed to be so I was sitting here pulling my hair out until I found your video. Thank you!

  • @slobokrsmanovic5913

    @slobokrsmanovic5913

    3 жыл бұрын

    That's so true.

  • @bubba1984

    @bubba1984

    2 жыл бұрын

    Did you find out where audience comes from and is it just some magical value identical to everyone (unlikely) or specific value to the tenant or AAD and if yes where do we lift that off of?

  • @shaileshchaskar6093

    @shaileshchaskar6093

    Жыл бұрын

    Absolutely valuable information - highly appreciated

  • @nishasharma6370
    @nishasharma63703 жыл бұрын

    Thanks for another great video

  • @userhelen1
    @userhelen16 ай бұрын

    Amazing video! Thank you!

  • @edgarsanchezprado8879
    @edgarsanchezprado88792 жыл бұрын

    Hello Travis, awesome videos. I have a question, is there any option instead to use Local administrator permissions to connect? Most of my users are configured as Standard users.

  • @CyberPolice911
    @CyberPolice91110 ай бұрын

    Awesome, thanks for the video

  • @n0mzee
    @n0mzee Жыл бұрын

    Hi Travis. Thanks for this video. Supper helpful and easy to understand. Can the give admin consent step and restrict vpn to group step don via terraform?

  • @kevinnebroski6657
    @kevinnebroski66574 жыл бұрын

    Hi Travis, another great video. I do have a question, I couldn't get this to work. I currently have the VPN set to certificate based based on one of your other videos. I removed that then followed this tutorial so that login would be user based. At the point where you install the VPN client and import the xml file and test the VPN connection (before enabling MFA) my client fails with the following error "Server did not respond properly to VPN Control Packets. Session State: Key Material sent", any ideas? Did I not release the cert version before creating this one?

  • @sau002
    @sau0023 жыл бұрын

    Excellent video

  • @peghbal2606
    @peghbal26062 жыл бұрын

    Thanks for this fabulous content. Can I add P2S as described here to an existing VNET that is already connected in a site-to-site VPN setting?

  • @Ankitsharma-zd3wb
    @Ankitsharma-zd3wb2 жыл бұрын

    Very informative.. The content of the video is very good.. Thanks :)

  • @Ciraltos

    @Ciraltos

    2 жыл бұрын

    Most welcome 😊

  • @stormlight1553
    @stormlight15532 жыл бұрын

    Thank you! If i already have a site to site vpn can i go into that and enable the point to site? Or do you need to create a new VPN just for the point to site? Awesome info

  • @quocdunginfo.tiengiang
    @quocdunginfo.tiengiang Жыл бұрын

    It’s clear and good

  • @contigo.
    @contigo.2 жыл бұрын

    Hi Travis. Great Content. Love the delivery. I just have one question. Can I use the same GW as a Site to Site active VPN for my Azure to Site VPN or is it a must that I create a new GW?

  • @anishpjohn8372

    @anishpjohn8372

    2 жыл бұрын

    You can use the same GW. Both S2S and P2S are included with the service

  • @pavankumars9313
    @pavankumars9313 Жыл бұрын

    Great video and Great learning thanks . With this vpn connection can we access SQL server with private end point ?

  • @michaelwaterman3553
    @michaelwaterman35534 жыл бұрын

    That’s so cool! Almost to easy. I’m wondering if the azure app config can be deployed with Endpoint manager? The app wouldn’t be the problem, just wondering on the config.

  • @Southpaw07

    @Southpaw07

    3 жыл бұрын

    great idea, .. and I'm also interested in a similar deployment for my remote users

  • @umaodihirin5879
    @umaodihirin58793 жыл бұрын

    Hi, Thanks so much for the video! I have a question, would you say it's best practice to set up a separate VNG with your Azure resources your VNG used for your VPN? Or does it not make a difference. I hope my question makes sense.

  • @jimcunliffe6998

    @jimcunliffe6998

    Жыл бұрын

    Old question but I agree. A "VPN DMZ" vnet which then uses VNET peering to connect to other vnets (using NSGs).

  • @mannyramirezls
    @mannyramirezls3 жыл бұрын

    Great video! 👍

  • @Ciraltos

    @Ciraltos

    3 жыл бұрын

    Glad you liked it!

  • @ToddTaylorTX
    @ToddTaylorTX2 жыл бұрын

    Thank you, this video was instrumental in helping me configure and install a Client - Virtual Server App. I followed the video regarding the IP / Subnet Addresses and got it to work but any suggestions to better understand the logic behind this without having to become a network engineer?

  • @latchfordbob
    @latchfordbob2 жыл бұрын

    I have a number of different virtual networks in my Azure, all with servers behind them. Currently the ports to remote desktop to the servers are locked to my home IP address but I need other people to also have access. Thanks to this video I have successfully setup VPN connections but how do I configure each networks file to allow access on some ports to VPN users?

  • @ruffinruffin989
    @ruffinruffin989Ай бұрын

    Thanks for this amazing post. Is there a way to force MFA for all VPN connections (as opposed to the just the original connection)? Ideally, when i remove a user from the group, I don't want them to still be able to connect to the VPN. Currently, when i remove a user from the group, that user can still connect to the VPN. Is there a way to force MFA for all VPN connections? Currently, theres a cookie on the client machine that will allow them to connect even after the user is removed from the group. I want to enforce for all VPN connections MFA (and not only during the initial connection). Also, I followed this youtube video setup for context

  • @manibirdi9320
    @manibirdi93203 жыл бұрын

    Great video, Can this be connected to multiple regions? what are the costs?

  • @04chavez
    @04chavez3 жыл бұрын

    Thanks for this greatb Vid

  • @Ciraltos

    @Ciraltos

    3 жыл бұрын

    Glad you enjoyed it!

  • @TS-xr4eu
    @TS-xr4eu3 жыл бұрын

    Azure VPN for P2S with MFA is ridiculously expensive at $6/user a month. Not sure if I can justify spending $10k/year for MFA. Might just end up not implementing MFA, even though we currently use MFA for onprem. (Edit: It looks like as of 5/14/2021 MFA is free for Azure VPN and no P1 license for users are needed)

  • @rstra3
    @rstra33 жыл бұрын

    I have a VNET peered to my AADDS VNET and i specify custom DNS servers. When I connect to the Azure VPN client, I lose name resolution on my laptop. Any recommendations on this issue?

  • @dienle2204
    @dienle22043 жыл бұрын

    Is it required to use IKEv2 with certificates on Mac OS? I couldn't find the Azure VPN client application for Mac OS.

  • @github2463
    @github2463 Жыл бұрын

    Anyone help out. I have done this in the past with no issue following this video, now a separate instance and It will not connect after setting up VPN client. always fails to connect with "server did not respond properly to VPN control packets" key material sent.. Time on my PC is 100% I triple checked my settings, all seem fine?

  • @theultimate7258
    @theultimate72582 жыл бұрын

    Great video. Can you assist with getting this deployed using Intune. Much appreciated

  • @jigneshvyas3105
    @jigneshvyas3105 Жыл бұрын

    Thank you for this content. However, I am disconnected from internet while I am connected to vpn- gateway through azure vpn client. How to solve this? I can't use Azurevpn p2s with AzureAD if I cant use internet at the same time. Thanks in advance.

  • @malleeswarrajan4911
    @malleeswarrajan49113 жыл бұрын

    Great Video, thanks..I tried implementing the same and everything works, however post connecting to the vpn I am unable to browse to the internet.

  • @joepiskapoo

    @joepiskapoo

    3 жыл бұрын

    This is a DNS problem on Azure..had the same problem. Change your DNS to google or a local DNS with the virtual network and you will get internet.

  • @gaurav-agrawal
    @gaurav-agrawal3 жыл бұрын

    This is a great video guide. I was able to setup a P2S vpn easily just by following the steps from this video. Could you please help me with connecting to another vnet which has a gateway and is used to connect to on premise network. The other vnet has VMs in it. I want the P2S vpn users to access the resources available in that other vnet. Both resource groups are in the same region and under same subscription.

  • @MSKTim

    @MSKTim

    3 жыл бұрын

    you should use vnet peering for this

  • @bindudarshini4664
    @bindudarshini46644 жыл бұрын

    Hi Travis your Videos are Amazing!!! I wanted to know how can i copy data from Oracle On-prem to Blob storage in Virtual network with out using integration runtime. Can it be possible?

  • @Ciraltos

    @Ciraltos

    4 жыл бұрын

    Not sure about Oracle specifically, but have you checked out AZCopy?

  • @jack4553
    @jack4553 Жыл бұрын

    What do you think is better cert based with IKEv2 or OpenVPN AAD?

  • @allenbythesea
    @allenbythesea6 ай бұрын

    This is great to get this stuff configured but doing these exact steps doesn't wire up dns to your vnet. I've done all of the steps and I can connect but I can't resolve any dns names in the vnet.

  • @dilgamr.sharifov6652
    @dilgamr.sharifov66523 жыл бұрын

    Hi, thanks for this video. I am getting error "Vpn client configuration AAD Audience is not valid for gateway. AAD Audience must be a Guid.". But i double checked, audience code is correct. It is same with yours also i can copy it from my Azure VPN as well. But i am getting this error, any idea? Thank you!

  • @sachintanwar2896
    @sachintanwar28963 жыл бұрын

    This VPN did not change my public IP address. Is there any way to use this VPN (or any other VPN which can be used to connect azure VNet) to change my public IP address?

  • @MohamedRoushdy
    @MohamedRoushdy Жыл бұрын

    Thanks a million, helpled me a lot, however, I have a question about authentication. I've removed the user from the group to see if he could still login or not, but the user could still establish a connection, I've tested with another user that was never a member of the allowed group, and it couldn't access, which means that my setup on the Azure VPN app is correct. Though, I've even disabled that test account, so it was unable to loginto the Azure portal, however, it's still able to VPN!!!! how to fix this please, other wise I can't have this feature in production, unsafe. Thank you!

  • @ruffinruffin989

    @ruffinruffin989

    Ай бұрын

    Did you ever figure out a solution? I have the same question/concern.

  • @ekanshsingh9040
    @ekanshsingh90404 жыл бұрын

    Hi , your channel is really useful. I have one question....after log in with some user say test1 when I disconnect and connect again it does not require MFA. Is there any way I can force vpn client to ask for MFA everytime I hit connect , like when we use Connect-AzAccount it does not save token and ask for MFA each time.

  • @jesuspenaranda585

    @jesuspenaranda585

    4 жыл бұрын

    Hi Ekansh, seems like MFA has an 1 hour minimum token, that means that user doesn’t need to re enter MFA until that time is reached.

  • @ekanshsingh9040

    @ekanshsingh9040

    4 жыл бұрын

    @@jesuspenaranda585 yes jesus, I saw that in conditional access. But is there any other way via which I can reduce this time or change configuration to not save token values after disconnecting vpn.

  • @Southpaw07
    @Southpaw073 жыл бұрын

    This is an awesome demo and got me thinking perhaps a solution for updating remote users cached credentials on their PC after remote user reset their password via SSPR.. :)

  • @Ciraltos

    @Ciraltos

    3 жыл бұрын

    Glad to help

  • @kevinreilly659
    @kevinreilly6592 жыл бұрын

    does this work if the user does not have Local Admin rights to the client machine?

  • @MohammadSameerA
    @MohammadSameerA Жыл бұрын

    May I ask you if it's possible to use AD CS with P2S?

  • @pigrebanto
    @pigrebanto9 ай бұрын

    thanks. Does it work with OpenVPN client too?

  • @brandonpaul6186
    @brandonpaul61863 жыл бұрын

    Travis, what if we already have a VNet gateway for our site-to-site conneciton? Can we use the site-to-site gateway or do we need a new gateway?

  • @Ciraltos

    @Ciraltos

    3 жыл бұрын

    One gateway can do both. Here is a link to the limits per SKU. docs.microsoft.com/en-us/azure/vpn-gateway/vpn-gateway-about-vpngateways#benchmark

  • @Roshkun
    @Roshkun3 жыл бұрын

    Just cant download configuration file. Azure portal just give me a message "fail to download file. cant get uri"

  • @sashtikumarb1314
    @sashtikumarb1314 Жыл бұрын

    Will this work for Linux client machines? if no? any other possibilities to use azure ad MFA for Linux client machines for azure p2s vpn?

  • @lejoshona
    @lejoshona4 жыл бұрын

    Hello Travis, Thank you for all your videos :) While connecting to VPN the device throws error "Connecting to VPN server failed with exception: No such host is known." however the diagnostics doesnt show any error. Do you happen to know about the issue?

  • @rstra3

    @rstra3

    3 жыл бұрын

    If you are on a corporate issued PC you might have an issue with cisco or another security tool. Just put the IP and URL in your hosts file.

  • @jigneshvyas3105

    @jigneshvyas3105

    Жыл бұрын

    Just flush your dns cache with following commands in cmd. ipconfig /flushdns ipconfig/renew and reboot your pc.

  • @elvisfaria2823
    @elvisfaria28232 жыл бұрын

    Very good, thank you, do you know if Azure VPN works with start before login like Cisco SBL?

  • @Ciraltos

    @Ciraltos

    2 жыл бұрын

    Thanks. Azure VPN does not support that.

  • @Jay4kingdom
    @Jay4kingdom10 ай бұрын

    Ok but you didn't go over how to VPN to the server after setting up Azure VPN Client. it still prompts me for a server username and password when mapping the drive.

  • @troller4jesus
    @troller4jesus3 жыл бұрын

    Will Azure AD work with Hybrid AD? Will this allow always-on VPN so the computer can talk to a Domain Controller in the VNET?

  • @Ciraltos

    @Ciraltos

    3 жыл бұрын

    It will work with hybrid identities sourced from Windows AD. It will not provide always on connectivity like Always On VPN.

  • @AdvaitSakhalkar
    @AdvaitSakhalkar2 жыл бұрын

    Thanks

  • @Ciraltos

    @Ciraltos

    2 жыл бұрын

    Thank you!

  • @chelhernandez
    @chelhernandez4 жыл бұрын

    If that VPN Gateway has an S2S connection with an On-Premise site, would P2S users be able to connect to the On-Prem network too?

  • @04chavez

    @04chavez

    3 жыл бұрын

    Yes, it can. All you have to do is to add the address pool of the point to site in the on-premise firewall device and add the address space in the PC, once added, you have to disconnect the point to site and connect and you will be able to reach Azure and Onpremise.

  • @joepiskapoo

    @joepiskapoo

    3 жыл бұрын

    @@04chavez it works sick but I have an issue with the client deployment. Can't seem to find an easy way (without intune) to deploy this.

  • @vishalsaxena5081
    @vishalsaxena50812 жыл бұрын

    i am facing this error code CAA2000B and please show each step for this lab

  • @yogeshshinde2047
    @yogeshshinde20474 жыл бұрын

    I receive the following error : Status = Server did not respond properly to VPN Control Packets. Session State: Key Material sent.

  • @UnderworldGrim

    @UnderworldGrim

    3 жыл бұрын

    I'm getting the same error as well. Any luck?

  • @UnderworldGrim

    @UnderworldGrim

    3 жыл бұрын

    Just figured this out. It's likely your issuer is incorrect. Make sure it's the right ID and has a / at the end of it. This fixed it for me.

  • @Hodgkinsonsean
    @Hodgkinsonsean3 жыл бұрын

    Absolutely fantastic .. why does it take a non-Microsoft person to explain the concept so clearly . the Microsoft guides are garbage

  • @yogeshshinde2047
    @yogeshshinde20474 жыл бұрын

    Need help :-(

  • @Ciraltos

    @Ciraltos

    4 жыл бұрын

    Have you seen the link below? The Directory ID needs the "/" at the end. github.com/MicrosoftDocs/azure-docs/issues/45598

  • @lukeno4143
    @lukeno41432 жыл бұрын

    it doesnt work "Keyset does not exist ", this is fucked up because googling "Azure VPN Client" "keyset does not exist" results in zero results!!!

  • @jimcunliffe6998

    @jimcunliffe6998

    Жыл бұрын

    it does now 😁

  • @floid33556
    @floid335563 жыл бұрын

    Here comes the old Microsoft again...Active Directory configuration only supports a Windows only client. Useless for everyone except the smallest Microsoft only shops.

  • @joepiskapoo

    @joepiskapoo

    3 жыл бұрын

    if you use Azure Active Directory authentication is supports windows, mac and linux

  • @floid33556

    @floid33556

    3 жыл бұрын

    @@joepiskapoo sorry, but you are wrong. The VPN client only supports Windows.

  • @joepiskapoo

    @joepiskapoo

    3 жыл бұрын

    @@floid33556 the client yes, but you can use open vpn for linux to connect to the P2S

  • @karnatimanideep369
    @karnatimanideep3693 жыл бұрын

    I have a free Azure AAD and I don't see azure VPN in the enterprise applications, what could be the reason? Is it because of the free subscription?

Келесі