Azure Fundamentals - #24 - Azure-P2S OpenVPN

Поделиться
HTML-код
  • Опубликовано: 25 ноя 2024

Комментарии • 109

  • @cloudpachehra1113
    @cloudpachehra1113 5 лет назад +1

    You rock !!! awesome video and great explnation

  • @christianibiri
    @christianibiri 2 года назад +1

    Great video! your channel is on my favorites list!

    • @AzureAcademy
      @AzureAcademy  2 года назад +1

      Thanks, please share the channel with others, goal to reach 100K subscribers this year!

  • @someguynj
    @someguynj 5 лет назад +4

    Absolutely on the Virtual WAN topic - would love a video on that. Maybe include some thoughts on ExpressRoute Global Reach as well? Thanks! Your videos are excellent!

    • @AzureAcademy
      @AzureAcademy  5 лет назад +2

      Thanks for the feedback!
      I will start working on Virtual WAN.
      Great idea on Global Reach...I need to figure out how to do this without an ExpressRoute in my environment...
      :-)

  • @cosmicdreams7739
    @cosmicdreams7739 4 года назад +1

    great insider info on Azure! thank you Dean! great video also btw. as always!

  • @justdrive5678
    @justdrive5678 2 года назад +1

    In 2022, Still You're awesome.

  • @lnrkothapalli4106
    @lnrkothapalli4106 3 года назад +1

    Super explanation

    • @AzureAcademy
      @AzureAcademy  3 года назад +1

      Thanks! Let me know what other videos I can make for you ☺️

  • @gopiyadavgs681
    @gopiyadavgs681 2 года назад +1

    Hi Dean, for azure open VPN the client should be domain joined? When you took rdp for DC I believe it was cuz already the client was domain joined

    • @AzureAcademy
      @AzureAcademy  2 года назад +1

      Domain joining is not required for the open vpn client solution to work. My home computer is not Domain Joined at all

  • @boedilllard5952
    @boedilllard5952 Год назад +1

    Thanks for the video. I know how to add my online DNS server in the azure VPN config file. Is it the same enry in the openvpn config file or different?

    • @AzureAcademy
      @AzureAcademy  Год назад +2

      Technically it’s different. The Azure DNS entries will come down to the VPN client when you connect, additional DNS entries can be manually added in your OpenVPN config…but technically not needed

  • @ChippyHo85
    @ChippyHo85 4 года назад +1

    I saw that you also did not get a Gateway IP assigned. How can you configure the P2S VPN to route all internet network traffic through the VPN as there is no way to modify the server conf?

    • @AzureAcademy
      @AzureAcademy  4 года назад +1

      first of all this was an update video...I already had a VPN gateway - ruclips.net/video/OTAjPrfKS5U/видео.html
      At 3:27 in the video you can see my gateway resources, and the one call AA-vnet-GW-PIP is my public IP for the gateway. So you do need a public IP for your gateway...if you didn't get one, then create one and associate it to the gateway.
      the gateway won't do routing for you...for that you need a router. In Azure we route traffic with the User Defined Route (UDR) on prem you should have physical or software routers.

  • @luistheitguy
    @luistheitguy 3 года назад +1

    Hi Dean, I currently need a VPN Solution for WAH agents to log in from their personal computers to VPN and be able to access our ON PREM network and be able to RDP to the Desktops on site. Would this be the solution? Thank you before hand.

    • @AzureAcademy
      @AzureAcademy  3 года назад +1

      YES openVPN can help you do all that. ☺️

  • @TheAromanovskaya
    @TheAromanovskaya 3 года назад +1

    Hey Dean, could it be possible to set this OpenVPN for device-based tunnels?

    • @AzureAcademy
      @AzureAcademy  3 года назад +1

      You mean for site to site VPN…sure, but you need OpenVPN Server on the on prem side or the VPN appliance you have needs to support it

  • @nanunamu7630
    @nanunamu7630 3 года назад +1

    Which transport protocol the openvpn uses in this type of configuration?, is it the UDP or TCP?,

  • @jadhav44
    @jadhav44 5 лет назад +1

    Very nice video Dean!! As always love the way you deliver the content and in very simple language. Would love to see guidance around Virtual WAN and if you could record a video around authenticating via AD while connecting to P2S instead certs
    Thank You
    ~Ganesh

    • @AzureAcademy
      @AzureAcademy  5 лет назад +1

      Thanks Ganesh!
      Interesting idea on the P2S with AD Auth.
      Is there a reason you prefer that over certificate auth? I originally chose it because it is a seamless user experience.
      I will start working on Virtual WAN...stay tuned

    • @jadhav44
      @jadhav44 5 лет назад +2

      Azure Academy I feel AD authentication would be much secure as it will have to be authenticated via some DC in your infrastructure. What flaw I see in certificate is if someone try’s to grab my cert which is not protected with private key and installs it in his machine can get access to my network subject to if he has the vpn package of mine

    • @ChippyHo85
      @ChippyHo85 4 года назад +1

      @@jadhav44 Also interested in that as the native Azure AD support in Azure VPN GW requires the Azure VPN App for Win 10 what unfortunately excludes Non-Windows OS from connecting to the network

    • @AzureAcademy
      @AzureAcademy  Год назад +1

      I would not say more secure...but differently secure. AD and The method I showed BOTH use certificates...just differently

    • @AzureAcademy
      @AzureAcademy  Год назад +1

      correct...you need a windows client to use the AD VPN right now

  • @nimesis124
    @nimesis124 2 года назад +1

    I have a Ad running in azure and I need to integrate azure AD in openvpn which is running in OCI. I am getting SSL error while verfrying the authorization checks from openvpn server to azure ad.

    • @AzureAcademy
      @AzureAcademy  2 года назад +1

      where did you get the cert?

    • @nimesis124
      @nimesis124 2 года назад +1

      @@AzureAcademy I have created from my local PC and uploaded on azure ad to enable secure ldap

    • @AzureAcademy
      @AzureAcademy  2 года назад +1

      @@nimesis124 it may not be the right type of certificate. Not sure what Azure AD secure ldap requires

    • @nimesis124
      @nimesis124 2 года назад +1

      @@AzureAcademy Yup I also don't know But I followed the OpenVPN official documented procedure to create the cert and uploaded it with sure LDAP in Azure.

    • @AzureAcademy
      @AzureAcademy  2 года назад +1

      Hm…not sure about that one…I haven’t read that doc in a while, and secure ldap wasn’t there as far as I know when I did read it.
      My suggestion is to create a cert exactly like I did in the video…if that works then we KNOW something is not right in your ldap cert

  • @pacmanh22
    @pacmanh22 4 года назад +1

    so i have my vnet and my v-gw created under the same resource group. why is that i cant ping any vms tied into my vnet? vpn shows connected

    • @AzureAcademy
      @AzureAcademy  4 года назад +1

      Depends on how you are trying to ping.
      Ping isn’t a protocol that Azure generally controls. The VMs May have the windows firewall blocking ping.

  • @vovaljain4341
    @vovaljain4341 4 года назад +1

    Good Explanation!

  • @naveenwil
    @naveenwil 4 года назад +1

    Hi,
    Great video.One question
    Native azure vpn client need local admin privilages to connect vpn this will not be possible in enterprice domain environment. So can we use this open vpn as an alternative to this one

    • @AzureAcademy
      @AzureAcademy  4 года назад +1

      I run it on my local computer and my account is a standard user...so from my experience, YES

    • @naveenwil
      @naveenwil 4 года назад +1

      @@AzureAcademy ok thanks for your reply. So we can create a openvpn profile and share it to n number of domain users .am i right?

    • @AzureAcademy
      @AzureAcademy  4 года назад +1

      If you build it like I did...as cert based...YES, if you use Password auth...then that is specific to each user.

  • @ainsalleh
    @ainsalleh 4 года назад +1

    this is cool

  • @omarchavez9790
    @omarchavez9790 5 лет назад +1

    Thank you very much for the video!! Very illustrative.
    I do have a question: I'm trying to skip the charges of the VpnGws that are currently bleeding out my budget, is it possible to have OpenVPN server in a VM that acts as a gateway between the vnet and the vpn clients?

    • @AzureAcademy
      @AzureAcademy  5 лет назад +1

      Yes, there is an OpenVPN server in the Azure Market place you can deploy.
      Additionally you can create your own VM and install Open VPN server on it

    • @omarchavez9790
      @omarchavez9790 5 лет назад

      @@AzureAcademy splendid!! Cheers mate!

    • @rc2000123
      @rc2000123 4 года назад +1

      @@AzureAcademy that sounds like a great idea, do you mind elaborating more on that?

    • @AzureAcademy
      @AzureAcademy  Год назад +1

      I can...but can you tell me on what exactly I should elaborate?

  • @moussa_ndiaye
    @moussa_ndiaye Год назад +1

    Hello It's a awesome video but can i use the file openvpn in a Android or IOS?

    • @AzureAcademy
      @AzureAcademy  Год назад +1

      Great question, I know openVPN works on mobile devices, but I never tried using my windows config file on my phone. I don’t think it works, but give it a try and let me know! 🤔

  • @CB_C
    @CB_C 4 года назад +1

    Hi Dean, great tutorial! Once the vpnconfig.ovpn file has been edited and saved. Can I share it amongst all the users that need to connect, or do we need to run the script on a per user basis? Regards Brendan.

    • @AzureAcademy
      @AzureAcademy  4 года назад +1

      Yes, you need the certs and the .ovpn config file on the client devices before you can connect

    • @CB_C
      @CB_C 4 года назад +1

      @@AzureAcademy Hi Dean, so I only run the script on one PC, then just distribute the files in the VPN folder to all the other endusers?

    • @AzureAcademy
      @AzureAcademy  4 года назад +1

      yes, you create the OpenVPN Config on one system then you can copy the cert and config files to the other clients
      docs.microsoft.com/en-us/azure/vpn-gateway/vpn-gateway-howto-openvpn-clients

  • @OldBanHammer
    @OldBanHammer 3 года назад +1

    I am currently trying to set up a P2S VPN in a virtual HUB using open VPN with Radius Authentication. So fare, I am failing miserably. A video to do this would help a lot.

    • @AzureAcademy
      @AzureAcademy  3 года назад +1

      I will see what I can do…why do you want to use Radius?

    • @OldBanHammer
      @OldBanHammer 3 года назад +1

      @@AzureAcademy It is the only way to use the P2S for Mobile Devices. I am a Fan of the Azure VPN Client App. its on Mac OS and Windows. I have yet to see it on iOS. I am not a Android user at the moment so I don't know if its available for Them.

    • @AzureAcademy
      @AzureAcademy  3 года назад +1

      Got it…I haven’t set up my VPN for mobile yet…so good to know

  • @damienduffy6755
    @damienduffy6755 4 года назад +1

    when i run this script i dont get this file called profileinfo.txt ?

  • @anandbabu7137
    @anandbabu7137 4 года назад +1

    I am intrested in knowing more about Virtual WAN in hub and spoke model please.. and this video is a very good explanatory thanks.

    • @AzureAcademy
      @AzureAcademy  4 года назад +1

      I am working on a virtual WAN video. Is there anything specific you are looking for?
      You also mention hub and spoke, can you provide more details on that?

    • @anandbabu7137
      @anandbabu7137 4 года назад +1

      @@AzureAcademy E.g. By enabling S2S VPN, On-prem traffic goes to Azure Virtual Wan (hub) from Virtual Wan to production VNet (spokeA) from production VNet to Devlopment VNet (spokeB). Here how to define routes for Vnet(Spokes) ? In this case Virtual Wan shouldn't peer directly to Spokes(A&B)

    • @AzureAcademy
      @AzureAcademy  4 года назад +2

      Perfect...I will get to work on that...stay tuned

  • @jonathanmendivel5241
    @jonathanmendivel5241 4 года назад +2

    hi, exist vpn site to site in openvpn??

    • @AzureAcademy
      @AzureAcademy  4 года назад +2

      Not that I know of, but maybe if you deploy the OpenVPN from the Azure marketplace...it is a full open VPN Server. It might have a site to site in there

  • @cosmicdreams7739
    @cosmicdreams7739 4 года назад +1

    YES on VWAN Virutal Wan

    • @AzureAcademy
      @AzureAcademy  4 года назад +1

      Working on Virtual WAN...stay tuned!

  • @rc2000123
    @rc2000123 4 года назад +1

    Great Tutorial! But is there a way to make the assigned IP static?

    • @AzureAcademy
      @AzureAcademy  4 года назад +2

      Hey Da Great AND powerful Ryan! great question. Not that I know of...what would the purpose be, What problem are you trying to solve with a Point to Site VPN where a device should always have the same IP?
      Generally in the cloud we don't get concerned with the specific names of devices or ip addresses because we treat them as disposable...if we don't need them, delete them.
      rather then pets, were we care about them, maintain them, give them names etc.
      So I am interested in WHY you want this...if it is a great reason I can talk to the Product group about adding the feature!
      Thanks!

    • @rc2000123
      @rc2000123 4 года назад +1

      @@AzureAcademy I'm trying to install a Directory Server for my Company where it requires a Network Interface Controller (NIC) that locks on to a single IP, since I'm trying to install it on the VPN, there might be issues since the IP's issued are dynamic. I DM'd you on facebook, if we could talk more that would really be super, thanks for the quick reply!

    • @AzureAcademy
      @AzureAcademy  4 года назад +1

      by directory server I assume you mean an Active Directory Domain Controller.
      This is NOT something you would want to setup on a Point to Site or client based VPN.
      They do not have the bandwidth that is generally needed to have multiple servers and clients talking to it at once. You WOULD want to use a Site to Site VPN for this, or host the DC in
      Azure. Here is my video on Site to Site VPNs...and you can do it with your DC - ruclips.net/video/9CCZ6I3DRqM/видео.html

  • @sachintanwar2896
    @sachintanwar2896 3 года назад +1

    It did not change my public IP address as other VPNs do.
    Is it possible?

    • @AzureAcademy
      @AzureAcademy  3 года назад +1

      If this is at your home
      Your client computer has a local IP address
      And your router will also have a public IP address
      Then when you use the VPN client you will get a new IP Address that will connect you to Azure.
      Does that help?

    • @sachintanwar2896
      @sachintanwar2896 3 года назад +1

      @@AzureAcademy I want that when i connect with "Azure VPN client" on my local machine, it should change my public IP address as well. Is it possible?

    • @AzureAcademy
      @AzureAcademy  3 года назад +1

      No it won’t change your public IP, but it will open a VPN tunnel which will give you a new IP on the VPN network

  • @shannonedias
    @shannonedias 2 года назад +1

    Can you do a video where we can create a function to start the server when its in use and automatically shut down when not in use?
    Is this even possible?

    • @AzureAcademy
      @AzureAcademy  2 года назад +1

      for Open VPN server running in Azure, you can use the Dev Test Labs function to stop the VM automatically.
      It powers down the VM at the same time every day.
      no functions needed.

  • @andyschluter6840
    @andyschluter6840 5 лет назад +1

    Great!!

  • @MACHADOPPO
    @MACHADOPPO 3 года назад +1

    Access Internet through Azure Point to site VPN?

    • @AzureAcademy
      @AzureAcademy  3 года назад +2

      Do you mean CAN you get to the internet through a VPN...yes, kinda...but generally NO, because you need internet access to get to your VPN, but what you can do is force DNS settings over VPN
      to control what they can get to on the internet...does that make sense?

    • @MACHADOPPO
      @MACHADOPPO 3 года назад +1

      @@AzureAcademy I need the user who is on HomeOffice to connect to Azure and use an Azure internet, for example, to access a web page released by public IP, because users have dynamic IP in their homes.

    • @AzureAcademy
      @AzureAcademy  3 года назад +2

      @@MACHADOPPO In order for them to get to Azure, they need internet access...VPN doesn't work without internet.
      If you need them to get to a public web page but you ONLY allow access from specific IP Addresses, then I would change the Allowed addresses to include your entire VPN subnet...for example 172.18.0.0/21
      So ANYONE who is on the VPN can get to the web page, but no one else...then you don't need to know the specific IP of each person.

    • @MACHADOPPO
      @MACHADOPPO 3 года назад +1

      @@AzureAcademy Yes, I know that to access the VPN he needs internet .... What I want him to do when he is connected to the P2S VPN is to use the Public IP to access a WEB page with routing through the Virtual Network gateway, All HomeOffice users have a single Azure Public IP to reach the Web page released by the Azure public IP. Sorry if my English is not very explanatory, I am Brazilian and I have little fluency in the language. Thk very Much :)

    • @AzureAcademy
      @AzureAcademy  3 года назад +1

      no worries @@MACHADOPPO You are better than I am...I only speak english. 😉
      The web page already has a public ip address...and customers all over the internet who go to your page would be routed to that IP address because of global DNS.
      This has nothing to do with a P2S VPN
      The P2S VPN purpose is to get the external user onto your internal network.
      but when they browse the internet they would still use their own Gateway.
      What you MIGHT be able to do is use a proxy.
      if you included a proxy pac in your P2S VPN then while they are connected to the VPN the internet traffic would go through the proxy
      but look into that and see if a proxy is right for you.

  • @Riya-nz4xq
    @Riya-nz4xq 3 года назад +1

    I got error message while iam connecting with vpn as request has been cancelled by end user. Why?

    • @AzureAcademy
      @AzureAcademy  3 года назад +1

      no idea...what is the exact error message?

    • @Riya-nz4xq
      @Riya-nz4xq 3 года назад +1

      @@AzureAcademy "Dialing VPN Connection xxxxxx. Status = The operation was canceled by the user."

    • @AzureAcademy
      @AzureAcademy  3 года назад +1

      ​@@Riya-nz4xq have you validated your certificate?

    • @Riya-nz4xq
      @Riya-nz4xq 3 года назад +1

      @@AzureAcademy yes

    • @AzureAcademy
      @AzureAcademy  3 года назад +1

      The only time I have seen that is when the client wasn’t configured with the cert and it didn’t know where to connect to.
      Did you configure the OpenVPN client with each step as I showed in the video?

  • @grahambrown5874
    @grahambrown5874 4 года назад +1

    You have made this very complicated. Where did the profileinfo.txt suddenly come from? You mention chocolatery and you said it's an installer, but I didn't see it install anything or its relationship to openVPN, if that's what it installed. It's not clear why you created a temp root. I though all you need to do is create a rootcert.cer for Azure (that's straight forward) and clientcert.pfx like you do for the Azure SSTP(SSL) VPN client, or .cer if you what to extract and put into the .ovpn. What is the openssl.cnf needed for?

    • @AzureAcademy
      @AzureAcademy  4 года назад +1

      It was used to edit the open VPN files so they can be configured correctly.
      The profile info.txt file is part of the open VPN package.

  • @hansygiron2735
    @hansygiron2735 3 года назад +1

    can you install directly to my router ....

    • @AzureAcademy
      @AzureAcademy  3 года назад +1

      On some...yes but it depends on your router
      😊

  • @ravi1985king
    @ravi1985king 5 лет назад +1

    This is awesome. Pls create virtual wan. azure native and also how it can integrate with third party solution like SDWAN < Citrix or Velocloud >

    • @AzureAcademy
      @AzureAcademy  5 лет назад +1

      Thanks for the feedback!
      I am working on Virtual WAN, but not sure how many or if I will be able to cover 3rd party solutions.
      You normally need those solutions, and I just have an Azure subscription...so we will see