Access SMB File Share From Azure FunctionUnable to browse SMB shares on Azure VMServer cannot connect Azure...

What is knowledge and vision?

Wrap all numerics in JSON with quotes

What is better: yes / no radio, or simple checkbox?

Borrowing Characters

Second-rate spelling

Manipulate scientific format without the "e"

Rationale to prefer local variables over instance variables?

Giving a talk in my old university, how prominently should I tell students my salary?

Six real numbers so that product of any five is the sixth one

Whom do I have to contact for a ticket refund in case of denied boarding (in the EU)?

Skis versus snow shoes - when to choose which for travelling the backcountry?

Where is the fallacy here?

Alameda and Belisario throwing a fair die.

Why do members of Congress in committee hearings ask witnesses the same question multiple times?

If nine coins are tossed, what is the probability that the number of heads is even?

How to kill a localhost:8080

Can I become debt free or should I file for bankruptcy? How do I manage my debt and finances?

chrony vs. systemd-timesyncd – What are the differences and use cases as NTP clients?

Traversing Africa: A Cryptic Journey

What do the pedals on grand pianos do?

A right or the right?

When was drinking water recognized as crucial in marathon running?

How would we write a misogynistic character without offending people?

What is the difference between ashamed and shamed?



Access SMB File Share From Azure Function


Unable to browse SMB shares on Azure VMServer cannot connect Azure share by SMBCan't access file share from different subnetEnable File Sharing over Point-to-site Azure VPNAzure File Sharing with domain permissions?Poor performance when mounting Azure File Share on Linux VMAzure File Share over VPNAzure Virtual Machine has no public IP yet can access the internetfileshare not working, windows 10Connecting from Java Azure function to managed Azure SQL instance













0















I have an Azure Function that needs to access an external SMB file share that is hosted on port 445. The Azure Web App sandbox that Functions run inside of explicitly blocks port 445. Assuming I have no control over the external SMB file server, what can I do to allow the Azure Function to access the SMB file share?



enter image description here



Some ideas... which ones are feasible?




  1. Setup an outgoing port-forward from a non-blocked port (say, port 555) to external port 445. Then have my Function app target the non-blocked port.

  2. Expose the file server via a "Virtual Network". According to the docs, the 445 port block rule is ignored if the target network interface belongs to the app. Can I add a 3rd party host as an interface on my app's virtual network? How?

  3. Is there a proxy service I can install and run in my Azure environment that can expose the file share on a different port?


How should I approach this problem?









share



























    0















    I have an Azure Function that needs to access an external SMB file share that is hosted on port 445. The Azure Web App sandbox that Functions run inside of explicitly blocks port 445. Assuming I have no control over the external SMB file server, what can I do to allow the Azure Function to access the SMB file share?



    enter image description here



    Some ideas... which ones are feasible?




    1. Setup an outgoing port-forward from a non-blocked port (say, port 555) to external port 445. Then have my Function app target the non-blocked port.

    2. Expose the file server via a "Virtual Network". According to the docs, the 445 port block rule is ignored if the target network interface belongs to the app. Can I add a 3rd party host as an interface on my app's virtual network? How?

    3. Is there a proxy service I can install and run in my Azure environment that can expose the file share on a different port?


    How should I approach this problem?









    share

























      0












      0








      0








      I have an Azure Function that needs to access an external SMB file share that is hosted on port 445. The Azure Web App sandbox that Functions run inside of explicitly blocks port 445. Assuming I have no control over the external SMB file server, what can I do to allow the Azure Function to access the SMB file share?



      enter image description here



      Some ideas... which ones are feasible?




      1. Setup an outgoing port-forward from a non-blocked port (say, port 555) to external port 445. Then have my Function app target the non-blocked port.

      2. Expose the file server via a "Virtual Network". According to the docs, the 445 port block rule is ignored if the target network interface belongs to the app. Can I add a 3rd party host as an interface on my app's virtual network? How?

      3. Is there a proxy service I can install and run in my Azure environment that can expose the file share on a different port?


      How should I approach this problem?









      share














      I have an Azure Function that needs to access an external SMB file share that is hosted on port 445. The Azure Web App sandbox that Functions run inside of explicitly blocks port 445. Assuming I have no control over the external SMB file server, what can I do to allow the Azure Function to access the SMB file share?



      enter image description here



      Some ideas... which ones are feasible?




      1. Setup an outgoing port-forward from a non-blocked port (say, port 555) to external port 445. Then have my Function app target the non-blocked port.

      2. Expose the file server via a "Virtual Network". According to the docs, the 445 port block rule is ignored if the target network interface belongs to the app. Can I add a 3rd party host as an interface on my app's virtual network? How?

      3. Is there a proxy service I can install and run in my Azure environment that can expose the file share on a different port?


      How should I approach this problem?







      azure network-share file-sharing azure-web-apps





      share












      share










      share



      share










      asked 6 mins ago









      user40650user40650

      1061




      1061






















          0






          active

          oldest

          votes











          Your Answer








          StackExchange.ready(function() {
          var channelOptions = {
          tags: "".split(" "),
          id: "2"
          };
          initTagRenderer("".split(" "), "".split(" "), channelOptions);

          StackExchange.using("externalEditor", function() {
          // Have to fire editor after snippets, if snippets enabled
          if (StackExchange.settings.snippets.snippetsEnabled) {
          StackExchange.using("snippets", function() {
          createEditor();
          });
          }
          else {
          createEditor();
          }
          });

          function createEditor() {
          StackExchange.prepareEditor({
          heartbeatType: 'answer',
          autoActivateHeartbeat: false,
          convertImagesToLinks: true,
          noModals: true,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: 10,
          bindNavPrevention: true,
          postfix: "",
          imageUploader: {
          brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
          contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
          allowUrls: true
          },
          onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          });


          }
          });














          draft saved

          draft discarded


















          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fserverfault.com%2fquestions%2f956854%2faccess-smb-file-share-from-azure-function%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown

























          0






          active

          oldest

          votes








          0






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes
















          draft saved

          draft discarded




















































          Thanks for contributing an answer to Server Fault!


          • Please be sure to answer the question. Provide details and share your research!

          But avoid



          • Asking for help, clarification, or responding to other answers.

          • Making statements based on opinion; back them up with references or personal experience.


          To learn more, see our tips on writing great answers.




          draft saved


          draft discarded














          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fserverfault.com%2fquestions%2f956854%2faccess-smb-file-share-from-azure-function%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown





















































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown

































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown







          Popular posts from this blog

          Фонтен-ла-Гаярд Зміст Демографія | Економіка | Посилання |...

          Список ссавців Італії Природоохоронні статуси | Список |...

          Маріан Котлеба Зміст Життєпис | Політичні погляди |...