How To Mount File Share As Network Drive Using Point to Site (P2S) VPN

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

Azure Files offers fully managed file shares in the cloud using the SMB protocol. Azure file shares can be mounted concurrently by cloud or on-premises deployments of Windows, Linux, and macOS. Additionally, Azure file shares can be cached on Windows Servers with Azure File Sync for fast access near where the data is being used.
You can use a Point-to-Site (P2S) VPN connection to mount your Azure file shares over SMB from outside of Azure, without opening up port 445. For this, you can configure a Point-to-Site (P2S) VPN for use with Azure Files. A Point-to-Site VPN connection is a VPN connection between Azure and an individual client.
Azure Virtual Network: Part 03 - Creating Point to Site VPN - • Azure Virtual Network:...

Пікірлер: 108

  • @rhuffstedtler
    @rhuffstedtler2 жыл бұрын

    Super helpful and straightforward tutorial. Much clearer than some of the others I've seen.

  • @AzureTrainingSeries

    @AzureTrainingSeries

    2 жыл бұрын

    Glad it was helpful!

  • @michaelh.2763
    @michaelh.2763 Жыл бұрын

    You are a life saver. I was missing the private endpoint portion to connect to the shares. Thank you for this.

  • @AzureTrainingSeries

    @AzureTrainingSeries

    Жыл бұрын

    Glad it was helpful!

  • @bjhastings4681
    @bjhastings46813 жыл бұрын

    What a wonderfully simple explaination of this complicated process. 5 Stars!

  • @AzureTrainingSeries

    @AzureTrainingSeries

    3 жыл бұрын

    Thank you so much. Glad it helped.

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

    This video is a life-saver. We've been trying to do this for days and were finally able to after your tutorial. Thank you!

  • @AzureTrainingSeries

    @AzureTrainingSeries

    Жыл бұрын

    Glad it helped! Thanks

  • @jesuss1037
    @jesuss10374 жыл бұрын

    I have to personally thank you as well. Thank you Aquila! This exactly what I needed to roll out.

  • @AzureTrainingSeries

    @AzureTrainingSeries

    4 жыл бұрын

    Thank you so much for watching the video and appreciating my efforts. Those kind words of appreciation motivates me to create more such contents. Thank you again!!

  • @BurnetteTech
    @BurnetteTech2 ай бұрын

    This was amazing, keep up the great work!

  • @fareerforsuk6609
    @fareerforsuk66099 ай бұрын

    Fantastic presentation. A million thanks.

  • @beezytrey4642
    @beezytrey46424 жыл бұрын

    Awesome!!! Worked perfectly! Major kudos!

  • @AzureTrainingSeries

    @AzureTrainingSeries

    4 жыл бұрын

    Glad it helped!!! Thank you so much for watching and especially trying it out.

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

    This is the best and simple way of learning.

  • @NeoZod19
    @NeoZod193 жыл бұрын

    thank you, well explained and it helped me solving the client vpn connection

  • @AzureTrainingSeries

    @AzureTrainingSeries

    3 жыл бұрын

    You're welcome! Glad to hear that it helped

  • @r.f.4230
    @r.f.42304 жыл бұрын

    You're my personal hero. Thank you so much :-) Greetings vom Bavaria.

  • @AzureTrainingSeries

    @AzureTrainingSeries

    4 жыл бұрын

    Wow, thank you so much! So glad to hear those kind words of appreciation.

  • @TheTucanico
    @TheTucanico3 жыл бұрын

    excellent video. Great job. Thank you very much. Very proffesional !

  • @AzureTrainingSeries

    @AzureTrainingSeries

    3 жыл бұрын

    Thank you very much! Glad you liked it! Those kind words of appreciation motivates me a lot.

  • @hirosgr
    @hirosgr3 жыл бұрын

    Helped me a lot! Thank you very much!!

  • @AzureTrainingSeries

    @AzureTrainingSeries

    3 жыл бұрын

    You're welcome! Glad it helped

  • @onesimusaz
    @onesimusaz4 жыл бұрын

    Excellent video. Works great. Thank you.

  • @AzureTrainingSeries

    @AzureTrainingSeries

    4 жыл бұрын

    Great to hear! Thank you so much.

  • @jorgegrimany236
    @jorgegrimany2362 жыл бұрын

    Thank you so much this video helped me a lot!

  • @AzureTrainingSeries

    @AzureTrainingSeries

    2 жыл бұрын

    Glad it helped!

  • @leonardoavalos1
    @leonardoavalos12 жыл бұрын

    Oh, you are a life saver. Thanks for this video!

  • @AzureTrainingSeries

    @AzureTrainingSeries

    2 жыл бұрын

    Glad to hear it helped!

  • @Jerryemcse
    @Jerryemcse3 жыл бұрын

    great video!

  • @prashantk1428
    @prashantk14282 жыл бұрын

    Thanks for making this video.

  • @AzureTrainingSeries

    @AzureTrainingSeries

    2 жыл бұрын

    Glad it was helpful!

  • @alejan3san
    @alejan3san3 жыл бұрын

    Thanks a lot, worked perfectly

  • @AzureTrainingSeries

    @AzureTrainingSeries

    3 жыл бұрын

    Great to hear! Thanks

  • @rafaelveloso6531
    @rafaelveloso65314 жыл бұрын

    Saved my life many thanks!

  • @AzureTrainingSeries

    @AzureTrainingSeries

    4 жыл бұрын

    Glad it helped! Thank you for watching.

  • @ML-lg3hv
    @ML-lg3hv2 жыл бұрын

    Amazing video! Just a precision. Now in order to be detected the subnet created in the virtual network must be named "GatewaySubnet" without the 'W' being capitalized

  • @AzureTrainingSeries

    @AzureTrainingSeries

    2 жыл бұрын

    Thank you so much, Marc. You are right. It must be 'GatewaySubnet'. Not sure where in the video I made that mistake. Can you point to the timeline where you see that problem? else I will have to go through the complete video :)

  • @ML-lg3hv

    @ML-lg3hv

    2 жыл бұрын

    @@AzureTrainingSeries at 10:50! It’s not a mistake of yours. It’s Microsoft which changed it!

  • @AzureTrainingSeries

    @AzureTrainingSeries

    2 жыл бұрын

    Got It! But even I should have written 'W' in small instead of Capital, as writing 'W' in the middle of the word does not make sense. Thank you again. It will help the viewers.

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

    Thank you sir !

  • @AzureTrainingSeries

    @AzureTrainingSeries

    Жыл бұрын

    Most welcome!

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

    Thanks for this video man. It was really helpful. Do you have any content on how to set up this for use with Active Directory??? I am struggling with that part....MS docs are confusing and most guys on YT videos are not very thorough.

  • @AzureTrainingSeries

    @AzureTrainingSeries

    Жыл бұрын

    I apologize as I really do not have any content that is readymade for this, but what actually is your use case and how do you intend to use it?

  • @sgmmaffe
    @sgmmaffe4 ай бұрын

    The option 'Private endpoint' is no longer in the same location as shown in your video. You can search for it via Home and then create it, etc. But I can't get it to work as you demonstrated.

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

    excellent video, congratulations and thanks for this. I have a question, why use 3 vlans, I understand that all the services could live in one vlan. Maybe security policies?

  • @AzureTrainingSeries

    @AzureTrainingSeries

    Жыл бұрын

    Hi SkoTy, First please accept my apologies. I was on a long vacation and was away from work. I hope you are asking about the three subnets? In case your response is yes, then the response is that one subnet is dedicatedly needed for virtual network gateway (VNG), so we need at least 2 subnets. For clarity I have create 3 subnets. Hope this is now clear.

  • @jorgegrimany236
    @jorgegrimany2362 жыл бұрын

    i would love one made with Active Directory ntergration for the VPN gateway and the file share

  • @AzureTrainingSeries

    @AzureTrainingSeries

    2 жыл бұрын

    Thanks a lot, Jorge for the idea. I will definitely make that one

  • @evtalk5453
    @evtalk54532 жыл бұрын

    hi sir, excellent i'm able to connect. can we apply folder based access like Read & Write permissions to O365 users

  • @AzureTrainingSeries

    @AzureTrainingSeries

    2 жыл бұрын

    Hi Shyam, Its an excellent question. I have not tried that personally, but I guess if you have a hybrid scenario, where you have the Azure AD Sync with on-premises AD, you should be able to achieve this provided that you might need to assign permissions to the users in the Azure Storage under IAM. Please try once and let me know.

  • @AnkitSingh-sk7hs
    @AnkitSingh-sk7hs Жыл бұрын

    Superb Content! However I have one question.. Can we mount the azure file share on a non domain joined machine through ADDS credentials through point to site VPN?

  • @AzureTrainingSeries

    @AzureTrainingSeries

    Жыл бұрын

    As far as I think, it is not possible.

  • @amankumar8282
    @amankumar82822 жыл бұрын

    Can anyone help me mount File share in VM ... My scenario is that I want to mount file share at the time of VM creation and make it persist(Sync if files deleted/updated/added from VM). The way I want is through Powershell DSC extension in the Azure VM portal or through UserData(but could not use powersheel in Vm to run the powershell command provided by fileshare).

  • @edbeaul
    @edbeaul4 жыл бұрын

    Thank you so much! How do we create the certificate?

  • @AzureTrainingSeries

    @AzureTrainingSeries

    4 жыл бұрын

    Hi Ed, I have created a separate video on how to create the P2S VPN Connection, where I have explained it. Below is the URL. kzread.info/dash/bejne/c5-cqsmLms_Fqbg.html I have mentioned the commands as well in the description of the above video for creating the self-signed certificates.

  • @AzureTrainingSeries

    @AzureTrainingSeries

    4 жыл бұрын

    Use the below commands with the MakeCert utility. Root Certificate $cert = New-SelfSignedCertificate -Type Custom -KeySpec Signature ` -Subject "CN=P2SRootCert" -KeyExportPolicy Exportable ` -HashAlgorithm sha256 -KeyLength 2048 ` -CertStoreLocation "Cert:\CurrentUser\My" -KeyUsageProperty Sign -KeyUsage CertSign Client Certificate New-SelfSignedCertificate -Type Custom -DnsName P2SChildCert -KeySpec Signature ` -Subject "CN=P2SChildCert" -KeyExportPolicy Exportable ` -HashAlgorithm sha256 -KeyLength 2048 ` -CertStoreLocation "Cert:\CurrentUser\My" ` -Signer $cert -TextExtension @("2.5.29.37={text}1.3.6.1.5.5.7.3.2")

  • @beans0308
    @beans03082 жыл бұрын

    excellent video, how come my connection string looks slightly different. your username in the demo is azure\atcslsstoragefs but mine says localhost rather than Azure?

  • @AzureTrainingSeries

    @AzureTrainingSeries

    2 жыл бұрын

    This is strange. What is the name of the storage account and file share in your configuration?

  • @rhuffstedtler
    @rhuffstedtler2 жыл бұрын

    At 12:36, it looks like the portal has added a new prompt requiring one to select the availability zone. I assume it doesn't really matter which one I go with unless I need it to be redundant, right?

  • @AzureTrainingSeries

    @AzureTrainingSeries

    2 жыл бұрын

    Absolutely! You are spot on....

  • @tallbrownie8109
    @tallbrownie81092 ай бұрын

    Where is video to create self signed certificate?

  • @kabookeo
    @kabookeo2 жыл бұрын

    Is there a way to use the fqdn of the storage account file share instead of using the private ip address?

  • @AzureTrainingSeries

    @AzureTrainingSeries

    2 жыл бұрын

    As per my understanding, I have not seen the FQDN working. Need to check if there has been changes since the time this video was made.

  • @daniellomartra5252
    @daniellomartra52523 жыл бұрын

    Is it possible to get the FQDN to resolve to the private IP address when accessed through the VPN? or am I stuck using the private IP?

  • @AzureTrainingSeries

    @AzureTrainingSeries

    3 жыл бұрын

    Yes, for that case, you might need to use a DNS Zone and map the FQDN to your private IP address

  • @MontyVeera
    @MontyVeera4 жыл бұрын

    Can you use the Azure Active Directory for authentication or are you required to use the storage account user/password?

  • @AzureTrainingSeries

    @AzureTrainingSeries

    4 жыл бұрын

    Hi Monty, thanks for watching. You need to use the storage account name as the user id (Azure\) and the key as the password. You cannot use the AAD account. Hope this helps.

  • @SandeepKumar-xh3cg
    @SandeepKumar-xh3cg2 жыл бұрын

    Is it normal for a VNGateway to take forever to be deployed? o.O Oh, and thank you very much for such unambigous tutorial!

  • @AzureTrainingSeries

    @AzureTrainingSeries

    2 жыл бұрын

    Not forever, but it does take a couple of minutes to get deployed. Actually it does not take much time, and by the way, thank you so much.

  • @Real4D33L
    @Real4D33L3 жыл бұрын

    Is it possible to use ADDS authentication for private endpoint?

  • @AzureTrainingSeries

    @AzureTrainingSeries

    3 жыл бұрын

    Yes, the authentication is possible for services/workloads using private endpoints

  • @fardeenqudsi9948
    @fardeenqudsi99483 жыл бұрын

    can we use basic gateway, Instead of Standard Azure Gateway

  • @AzureTrainingSeries

    @AzureTrainingSeries

    3 жыл бұрын

    Hi Fardeen, What basic gateway are you referring to?

  • @rukayatissa7175
    @rukayatissa71753 жыл бұрын

    I was able to connect successfully, but google drive seem faster to setup than file sharing Azure

  • @AzureTrainingSeries

    @AzureTrainingSeries

    3 жыл бұрын

    It all depends on your requirements as to what is needed for your deployment in a particular scenario.

  • @Tt-wm1ze
    @Tt-wm1ze3 жыл бұрын

    I am trying to connect the virtual network gateway to my virtual network but is says it is in use? How can I tackle that?

  • @AzureTrainingSeries

    @AzureTrainingSeries

    3 жыл бұрын

    Are you using the Gateway subnet to create the VNG? On which step does it say "it is in use"?

  • @ryanarnold6782
    @ryanarnold67824 жыл бұрын

    Once connected to the VPN via MacOS Catalina, how do I connect to the server/network drive?

  • @AzureTrainingSeries

    @AzureTrainingSeries

    4 жыл бұрын

    Hello Ryan, have you already configured the private endpoint? In case no, then that is the first thing to be done. Please let me know the step until where you have already completed. There are two links that I found relevant to your questions. osxdaily.com/2010/09/20/map-a-network-drive-on-a-mac/ setapp.com/how-to/map-a-network-drive-on-mac

  • @ryanarnold6782

    @ryanarnold6782

    4 жыл бұрын

    @@AzureTrainingSeries Do i need a separate private endpoint for the Mac connection as well as my previous windows 10 connection? I have already connected my windows PC to this network drive using VPN and Map Network Drive

  • @AzureTrainingSeries

    @AzureTrainingSeries

    4 жыл бұрын

    No, you do not need an additional private endpoint. The previous end point will work. Did the link I shared with you not work? The problem is that I do not have the Mac OS to try and test that, but I can definitely guide you in case you can share the screen shots.I am in meetings throughout the day and screen share will not be possible, but I can definitely respond to your queries.

  • @AzureTrainingSeries

    @AzureTrainingSeries

    4 жыл бұрын

    Hi Ryan, It seems that you are connecting to the URI instead of the IP address. Nothing else seems to be incorrect. Assuming that 10.0.0.4 is the private endpoint address, you should connect to \\10.0.0.4\fwdmotionsync.

  • @AzureTrainingSeries

    @AzureTrainingSeries

    4 жыл бұрын

    Also, choose guest and not registered user because that is not a registered user in AD or in the subscription.

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

    If you have enabled public access what is the point of using P2S VPN ? 😅

  • @AzureTrainingSeries

    @AzureTrainingSeries

    Жыл бұрын

    There can be multiple different usages or practical scenarios for having such a configuration.

  • @MarkHense-hh1kp
    @MarkHense-hh1kp Жыл бұрын

    Anyone having issues with explorer crashing when not connected to azure vpn and then trying to open explorer to do other work?

  • @AzureTrainingSeries

    @AzureTrainingSeries

    Жыл бұрын

    Hi Mark, This issue has never been reported earlier and even I have not faced such issue.

  • @MarkHense-hh1kp

    @MarkHense-hh1kp

    Жыл бұрын

    @@AzureTrainingSeries I setup the file share, setup the s2s, setup the p2s, mapped the drive to a laptop, installed azure vpn, then mapped the drive. worked great. Take pc home and dont join azure vpn and cannot use explorer at all. Working with windows and azure support

  • @anmac6910
    @anmac69102 жыл бұрын

    im gettting an error 83 with azure vpn client

  • @AzureTrainingSeries

    @AzureTrainingSeries

    2 жыл бұрын

    Can you please copy-paste the complete error and the time in the video where you are getting error.

  • @Brendan2Alexander
    @Brendan2Alexander10 ай бұрын

    Very helpful video. If you are trying to connect to the vpn from a mac pay very close to what happens at: kzread.info/dash/bejne/aZ6m1MamkpOykrg.html You MUST select "IKEv2 and SSTP." The mac vpn config will expect that you are using IKEv2. Beat my head against the wall for a few days, thinking I had effed up the certs, when I really had not set the tunnel type config correctly.

  • @madhumatha7020
    @madhumatha70204 жыл бұрын

    Hi I am not able to connect to fileshare

  • @AzureTrainingSeries

    @AzureTrainingSeries

    4 жыл бұрын

    Hello Madhu, What is the issue you are facing? Can you please elaborate?

  • @madhumatha7020

    @madhumatha7020

    4 жыл бұрын

    @@AzureTrainingSeries Hi I have installed vpn and connected to it successfully. But problem is when I am trying to acces fileshare with private ip it is saying "Windows cannot acces \\10.0.1.6\hotfolder"

  • @AzureTrainingSeries

    @AzureTrainingSeries

    4 жыл бұрын

    @@madhumatha7020 Can you please let me know if the private endpoint was created to correctly point to the files within the storage account? Also, please confirm that while mounting, you are using the fileshare name and not the storage account name. Additionally, I hope you have a VPN connection via SSTP.

  • @madhumatha7020

    @madhumatha7020

    4 жыл бұрын

    @@AzureTrainingSeries Yes I have created private end point to the Storage account and Vpn connection via SSTP and mounting with private ip followed by fileshare name... And later user name I given as Azure/storage ame and key1 as password

  • @AzureTrainingSeries

    @AzureTrainingSeries

    4 жыл бұрын

    I guess the problem is that you are giving the username as Azure/storage name. It should be a backward slash "\", and it should be followed by the file share name and not the storage account name. Can you share their individual names (Storage and Fileshare)

  • @yanqing8122
    @yanqing81229 ай бұрын

    I unable to map network drive at 23:48 timeline and i got the error of "the folder could not be found". 🥲I noticed that when I copied the script from file share (after click "Connect" button), the username is showing as "localhost\". Is this changes will effect anything?

Келесі