Share VPN connection and normal internet with mobile device over WIFI











up vote
3
down vote

favorite












I have a PC and Mac that I have running on a VPN for work. The VPN is only required for traffic to a sepecific set of servers (not all my internet traffic is routed over the VPN). The vpn is made (on both devices) through the ethernet connection. I have some iOS and Android devices that I want to share this connection with.



I've tried setting the VPN connections up on them directly, but it seems that I can never get the setup working correctly - either they attempt to route all traffic through the VPN (and I can't access the internet in general, just the 'VPN secured' servers) or the internet works fine but the servers behind the VPN are unreachable (even though I'm connected). I'm working on software that needs access to both the internet in general and the VPN-secured servers at the same time.



I was wondering if there was some way for me to basically setup something on my PC (either my mac or Windows7 PC) and have the mobile device connect to that and basically share my connection verbatim from that device (e.g. have the PC/Mac act as the man in the middle to forward all the traffic to the appropriate place, as if a program on the computer was making the request). I've tried setting up internet sharing from my Mac (sharing the VPN connection) and then having the mobile devices connect through that but it seems to be sending ALL traffic through the VPN.



I've also tried setting up the VPN connection on my router (which as DD-WRT installed), but wasn't able to get it to connect to the workplace VPN correctly.



I'm a VPN beginner, so please bear with me.










share|improve this question




























    up vote
    3
    down vote

    favorite












    I have a PC and Mac that I have running on a VPN for work. The VPN is only required for traffic to a sepecific set of servers (not all my internet traffic is routed over the VPN). The vpn is made (on both devices) through the ethernet connection. I have some iOS and Android devices that I want to share this connection with.



    I've tried setting the VPN connections up on them directly, but it seems that I can never get the setup working correctly - either they attempt to route all traffic through the VPN (and I can't access the internet in general, just the 'VPN secured' servers) or the internet works fine but the servers behind the VPN are unreachable (even though I'm connected). I'm working on software that needs access to both the internet in general and the VPN-secured servers at the same time.



    I was wondering if there was some way for me to basically setup something on my PC (either my mac or Windows7 PC) and have the mobile device connect to that and basically share my connection verbatim from that device (e.g. have the PC/Mac act as the man in the middle to forward all the traffic to the appropriate place, as if a program on the computer was making the request). I've tried setting up internet sharing from my Mac (sharing the VPN connection) and then having the mobile devices connect through that but it seems to be sending ALL traffic through the VPN.



    I've also tried setting up the VPN connection on my router (which as DD-WRT installed), but wasn't able to get it to connect to the workplace VPN correctly.



    I'm a VPN beginner, so please bear with me.










    share|improve this question


























      up vote
      3
      down vote

      favorite









      up vote
      3
      down vote

      favorite











      I have a PC and Mac that I have running on a VPN for work. The VPN is only required for traffic to a sepecific set of servers (not all my internet traffic is routed over the VPN). The vpn is made (on both devices) through the ethernet connection. I have some iOS and Android devices that I want to share this connection with.



      I've tried setting the VPN connections up on them directly, but it seems that I can never get the setup working correctly - either they attempt to route all traffic through the VPN (and I can't access the internet in general, just the 'VPN secured' servers) or the internet works fine but the servers behind the VPN are unreachable (even though I'm connected). I'm working on software that needs access to both the internet in general and the VPN-secured servers at the same time.



      I was wondering if there was some way for me to basically setup something on my PC (either my mac or Windows7 PC) and have the mobile device connect to that and basically share my connection verbatim from that device (e.g. have the PC/Mac act as the man in the middle to forward all the traffic to the appropriate place, as if a program on the computer was making the request). I've tried setting up internet sharing from my Mac (sharing the VPN connection) and then having the mobile devices connect through that but it seems to be sending ALL traffic through the VPN.



      I've also tried setting up the VPN connection on my router (which as DD-WRT installed), but wasn't able to get it to connect to the workplace VPN correctly.



      I'm a VPN beginner, so please bear with me.










      share|improve this question















      I have a PC and Mac that I have running on a VPN for work. The VPN is only required for traffic to a sepecific set of servers (not all my internet traffic is routed over the VPN). The vpn is made (on both devices) through the ethernet connection. I have some iOS and Android devices that I want to share this connection with.



      I've tried setting the VPN connections up on them directly, but it seems that I can never get the setup working correctly - either they attempt to route all traffic through the VPN (and I can't access the internet in general, just the 'VPN secured' servers) or the internet works fine but the servers behind the VPN are unreachable (even though I'm connected). I'm working on software that needs access to both the internet in general and the VPN-secured servers at the same time.



      I was wondering if there was some way for me to basically setup something on my PC (either my mac or Windows7 PC) and have the mobile device connect to that and basically share my connection verbatim from that device (e.g. have the PC/Mac act as the man in the middle to forward all the traffic to the appropriate place, as if a program on the computer was making the request). I've tried setting up internet sharing from my Mac (sharing the VPN connection) and then having the mobile devices connect through that but it seems to be sending ALL traffic through the VPN.



      I've also tried setting up the VPN connection on my router (which as DD-WRT installed), but wasn't able to get it to connect to the workplace VPN correctly.



      I'm a VPN beginner, so please bear with me.







      networking vpn routing mobile-phone






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited Nov 19 at 1:24









      fixer1234

      17.3k144280




      17.3k144280










      asked Dec 11 '13 at 20:07









      Anton

      1163




      1163



























          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%2f687084%2fshare-vpn-connection-and-normal-internet-with-mobile-device-over-wifi%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%2f687084%2fshare-vpn-connection-and-normal-internet-with-mobile-device-over-wifi%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

          QoS: MAC-Priority for clients behind a repeater

          Ивакино (Тотемский район)

          Can't locate Autom4te/ChannelDefs.pm in @INC (when it definitely is there)