How do these VPNs achieve per-app tunneling?











up vote
1
down vote

favorite












I want to redirect traffic to specific network interfaces by application on Windows. This is commonly known as "split-tunneling" and a lot of people often do this to selectively send traffic, for example, through a VPN.



There are a few answers in SuperUser which suggest:



1) "SOCKSifying" apps without SOCKS support using software such as Proxifier



2) Using software such as ForceBindIP to force applications to use a specific interface



3) Employing some restrictions based on the destination ip or domain



4) Using a VM



5) Using network interface metrics



6) Blocking app traffic with firewall



You can find most of these suggestions by looking at answers in these questions: 1, 2, 3.



All of these approaches either are too hacky (e.g. ForceBindIP injects information in DLLs) or do not achieve the goal of per-app tunneling (e.g. filtering by destination ip is not useful).



In general, there doesn't seem to be an official way to achieve this functionality.



Nonetheless, I've noticed that certain VPN vendors offer this feature (usually they call it white/black listing applications). How do they achieve this? Do they use something like their own implementation of ForceBindIP?



Some VPNs that allow per-app split-tunneling on Windows: ProtonVPN and PureVPN. Furthermore, it seems that ProtonVPN does create a new network adapter for the VPN, so they must have a way to routing app-specific traffic through that interface.



Finally, if it's of any help (or further confusion), Windows documentation illustrate a way to achieve this but it's through the usage of VPN profiles and MDM (docs).










share|improve this question


























    up vote
    1
    down vote

    favorite












    I want to redirect traffic to specific network interfaces by application on Windows. This is commonly known as "split-tunneling" and a lot of people often do this to selectively send traffic, for example, through a VPN.



    There are a few answers in SuperUser which suggest:



    1) "SOCKSifying" apps without SOCKS support using software such as Proxifier



    2) Using software such as ForceBindIP to force applications to use a specific interface



    3) Employing some restrictions based on the destination ip or domain



    4) Using a VM



    5) Using network interface metrics



    6) Blocking app traffic with firewall



    You can find most of these suggestions by looking at answers in these questions: 1, 2, 3.



    All of these approaches either are too hacky (e.g. ForceBindIP injects information in DLLs) or do not achieve the goal of per-app tunneling (e.g. filtering by destination ip is not useful).



    In general, there doesn't seem to be an official way to achieve this functionality.



    Nonetheless, I've noticed that certain VPN vendors offer this feature (usually they call it white/black listing applications). How do they achieve this? Do they use something like their own implementation of ForceBindIP?



    Some VPNs that allow per-app split-tunneling on Windows: ProtonVPN and PureVPN. Furthermore, it seems that ProtonVPN does create a new network adapter for the VPN, so they must have a way to routing app-specific traffic through that interface.



    Finally, if it's of any help (or further confusion), Windows documentation illustrate a way to achieve this but it's through the usage of VPN profiles and MDM (docs).










    share|improve this question
























      up vote
      1
      down vote

      favorite









      up vote
      1
      down vote

      favorite











      I want to redirect traffic to specific network interfaces by application on Windows. This is commonly known as "split-tunneling" and a lot of people often do this to selectively send traffic, for example, through a VPN.



      There are a few answers in SuperUser which suggest:



      1) "SOCKSifying" apps without SOCKS support using software such as Proxifier



      2) Using software such as ForceBindIP to force applications to use a specific interface



      3) Employing some restrictions based on the destination ip or domain



      4) Using a VM



      5) Using network interface metrics



      6) Blocking app traffic with firewall



      You can find most of these suggestions by looking at answers in these questions: 1, 2, 3.



      All of these approaches either are too hacky (e.g. ForceBindIP injects information in DLLs) or do not achieve the goal of per-app tunneling (e.g. filtering by destination ip is not useful).



      In general, there doesn't seem to be an official way to achieve this functionality.



      Nonetheless, I've noticed that certain VPN vendors offer this feature (usually they call it white/black listing applications). How do they achieve this? Do they use something like their own implementation of ForceBindIP?



      Some VPNs that allow per-app split-tunneling on Windows: ProtonVPN and PureVPN. Furthermore, it seems that ProtonVPN does create a new network adapter for the VPN, so they must have a way to routing app-specific traffic through that interface.



      Finally, if it's of any help (or further confusion), Windows documentation illustrate a way to achieve this but it's through the usage of VPN profiles and MDM (docs).










      share|improve this question













      I want to redirect traffic to specific network interfaces by application on Windows. This is commonly known as "split-tunneling" and a lot of people often do this to selectively send traffic, for example, through a VPN.



      There are a few answers in SuperUser which suggest:



      1) "SOCKSifying" apps without SOCKS support using software such as Proxifier



      2) Using software such as ForceBindIP to force applications to use a specific interface



      3) Employing some restrictions based on the destination ip or domain



      4) Using a VM



      5) Using network interface metrics



      6) Blocking app traffic with firewall



      You can find most of these suggestions by looking at answers in these questions: 1, 2, 3.



      All of these approaches either are too hacky (e.g. ForceBindIP injects information in DLLs) or do not achieve the goal of per-app tunneling (e.g. filtering by destination ip is not useful).



      In general, there doesn't seem to be an official way to achieve this functionality.



      Nonetheless, I've noticed that certain VPN vendors offer this feature (usually they call it white/black listing applications). How do they achieve this? Do they use something like their own implementation of ForceBindIP?



      Some VPNs that allow per-app split-tunneling on Windows: ProtonVPN and PureVPN. Furthermore, it seems that ProtonVPN does create a new network adapter for the VPN, so they must have a way to routing app-specific traffic through that interface.



      Finally, if it's of any help (or further confusion), Windows documentation illustrate a way to achieve this but it's through the usage of VPN profiles and MDM (docs).







      windows networking vpn






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked Nov 15 at 23:37









      aedcv

      1062




      1062



























          active

          oldest

          votes











          Your Answer








          StackExchange.ready(function() {
          var channelOptions = {
          tags: "".split(" "),
          id: "3"
          };
          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',
          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%2fsuperuser.com%2fquestions%2f1375841%2fhow-do-these-vpns-achieve-per-app-tunneling%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown






























          active

          oldest

          votes













          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes
















           

          draft saved


          draft discarded



















































           


          draft saved


          draft discarded














          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1375841%2fhow-do-these-vpns-achieve-per-app-tunneling%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

          Сан-Квентин

          Алькесар

          Josef Freinademetz