How to force a specific software to use proxy?












4















I want to use a Tor SOCKS proxy on some programs (e.g. Android Studio) but not all.



I'm a Windows 10 user. How can I do that?










share|improve this question

























  • TOR can never be truly effective when run from a box configured to only be partially private. With TOR its all or nothing. It is almost impossible to get all apps to honor proxy configuration (especially DNS queries) so the only alternative is to force ALL traffic through the tunnel.

    – Frank Thomas
    Jun 30 '16 at 5:20











  • If a program doesn't support it natively, you need something like socksify.

    – Daniel B
    Jun 30 '16 at 6:56
















4















I want to use a Tor SOCKS proxy on some programs (e.g. Android Studio) but not all.



I'm a Windows 10 user. How can I do that?










share|improve this question

























  • TOR can never be truly effective when run from a box configured to only be partially private. With TOR its all or nothing. It is almost impossible to get all apps to honor proxy configuration (especially DNS queries) so the only alternative is to force ALL traffic through the tunnel.

    – Frank Thomas
    Jun 30 '16 at 5:20











  • If a program doesn't support it natively, you need something like socksify.

    – Daniel B
    Jun 30 '16 at 6:56














4












4








4


1






I want to use a Tor SOCKS proxy on some programs (e.g. Android Studio) but not all.



I'm a Windows 10 user. How can I do that?










share|improve this question
















I want to use a Tor SOCKS proxy on some programs (e.g. Android Studio) but not all.



I'm a Windows 10 user. How can I do that?







networking windows-10 proxy






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Dec 7 '17 at 12:29









Twisty Impersonator

18.1k146596




18.1k146596










asked Jun 30 '16 at 4:37









Vesal75Vesal75

12413




12413













  • TOR can never be truly effective when run from a box configured to only be partially private. With TOR its all or nothing. It is almost impossible to get all apps to honor proxy configuration (especially DNS queries) so the only alternative is to force ALL traffic through the tunnel.

    – Frank Thomas
    Jun 30 '16 at 5:20











  • If a program doesn't support it natively, you need something like socksify.

    – Daniel B
    Jun 30 '16 at 6:56



















  • TOR can never be truly effective when run from a box configured to only be partially private. With TOR its all or nothing. It is almost impossible to get all apps to honor proxy configuration (especially DNS queries) so the only alternative is to force ALL traffic through the tunnel.

    – Frank Thomas
    Jun 30 '16 at 5:20











  • If a program doesn't support it natively, you need something like socksify.

    – Daniel B
    Jun 30 '16 at 6:56

















TOR can never be truly effective when run from a box configured to only be partially private. With TOR its all or nothing. It is almost impossible to get all apps to honor proxy configuration (especially DNS queries) so the only alternative is to force ALL traffic through the tunnel.

– Frank Thomas
Jun 30 '16 at 5:20





TOR can never be truly effective when run from a box configured to only be partially private. With TOR its all or nothing. It is almost impossible to get all apps to honor proxy configuration (especially DNS queries) so the only alternative is to force ALL traffic through the tunnel.

– Frank Thomas
Jun 30 '16 at 5:20













If a program doesn't support it natively, you need something like socksify.

– Daniel B
Jun 30 '16 at 6:56





If a program doesn't support it natively, you need something like socksify.

– Daniel B
Jun 30 '16 at 6:56










2 Answers
2






active

oldest

votes


















0














You'll need to run the software in a virtual machine. If your Windows 10 is a Pro version, it comes with Hyper-V, or you may use other vm-software.



For installing a virtual machine, look here:
https://msdn.microsoft.com/en-us/virtualization/hyperv_on_windows/quick_start/walkthrough_create_vm



However, note this: Unless you're running a volume-licensed version of Windows, you need a separate license for Windows running inside a virtual machine. The virtual machine's operating system is independent of the host operating system.



As Android Studio also runs on mac and Linux, you can just install Linux in the virtual machine.






share|improve this answer


























  • Please explain how that would achieve the desired behavior, step by step.

    – Daniel B
    Jun 30 '16 at 6:58











  • I updated my answer.

    – Lenne
    Jun 30 '16 at 7:07











  • That still doesn’t explain how the program’s traffic will end up in TOR.

    – Daniel B
    Jun 30 '16 at 7:15











  • You just set the entire traffic of the vm togo through TOR. I don't know much about the socks/proxy situation, but if you say you can make all or no traffic go through the proxy, I gave you the idea of running the software in a virtual machine, where all it's traffic is proxied. This is not a turn-key solution, just an idea to work on.

    – Lenne
    Jun 30 '16 at 7:22











  • @Lenne I already try that and it didn't help much. I have only 8GB ram and I use 3GB for VM. the time it take to load was very high. Is there any way to use virtual network card?

    – Vesal75
    Jun 30 '16 at 9:37



















0














You can use some software like Proxifier. This inserts itself into the Winsock 2 stack as a Layered Service Provider, and intercepts connections made by apps. You can set which apps are intercepted, and configure them to connect out via a variety (even chain) of proxies.






share|improve this answer























    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',
    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%2fsuperuser.com%2fquestions%2f1095210%2fhow-to-force-a-specific-software-to-use-proxy%23new-answer', 'question_page');
    }
    );

    Post as a guest















    Required, but never shown

























    2 Answers
    2






    active

    oldest

    votes








    2 Answers
    2






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes









    0














    You'll need to run the software in a virtual machine. If your Windows 10 is a Pro version, it comes with Hyper-V, or you may use other vm-software.



    For installing a virtual machine, look here:
    https://msdn.microsoft.com/en-us/virtualization/hyperv_on_windows/quick_start/walkthrough_create_vm



    However, note this: Unless you're running a volume-licensed version of Windows, you need a separate license for Windows running inside a virtual machine. The virtual machine's operating system is independent of the host operating system.



    As Android Studio also runs on mac and Linux, you can just install Linux in the virtual machine.






    share|improve this answer


























    • Please explain how that would achieve the desired behavior, step by step.

      – Daniel B
      Jun 30 '16 at 6:58











    • I updated my answer.

      – Lenne
      Jun 30 '16 at 7:07











    • That still doesn’t explain how the program’s traffic will end up in TOR.

      – Daniel B
      Jun 30 '16 at 7:15











    • You just set the entire traffic of the vm togo through TOR. I don't know much about the socks/proxy situation, but if you say you can make all or no traffic go through the proxy, I gave you the idea of running the software in a virtual machine, where all it's traffic is proxied. This is not a turn-key solution, just an idea to work on.

      – Lenne
      Jun 30 '16 at 7:22











    • @Lenne I already try that and it didn't help much. I have only 8GB ram and I use 3GB for VM. the time it take to load was very high. Is there any way to use virtual network card?

      – Vesal75
      Jun 30 '16 at 9:37
















    0














    You'll need to run the software in a virtual machine. If your Windows 10 is a Pro version, it comes with Hyper-V, or you may use other vm-software.



    For installing a virtual machine, look here:
    https://msdn.microsoft.com/en-us/virtualization/hyperv_on_windows/quick_start/walkthrough_create_vm



    However, note this: Unless you're running a volume-licensed version of Windows, you need a separate license for Windows running inside a virtual machine. The virtual machine's operating system is independent of the host operating system.



    As Android Studio also runs on mac and Linux, you can just install Linux in the virtual machine.






    share|improve this answer


























    • Please explain how that would achieve the desired behavior, step by step.

      – Daniel B
      Jun 30 '16 at 6:58











    • I updated my answer.

      – Lenne
      Jun 30 '16 at 7:07











    • That still doesn’t explain how the program’s traffic will end up in TOR.

      – Daniel B
      Jun 30 '16 at 7:15











    • You just set the entire traffic of the vm togo through TOR. I don't know much about the socks/proxy situation, but if you say you can make all or no traffic go through the proxy, I gave you the idea of running the software in a virtual machine, where all it's traffic is proxied. This is not a turn-key solution, just an idea to work on.

      – Lenne
      Jun 30 '16 at 7:22











    • @Lenne I already try that and it didn't help much. I have only 8GB ram and I use 3GB for VM. the time it take to load was very high. Is there any way to use virtual network card?

      – Vesal75
      Jun 30 '16 at 9:37














    0












    0








    0







    You'll need to run the software in a virtual machine. If your Windows 10 is a Pro version, it comes with Hyper-V, or you may use other vm-software.



    For installing a virtual machine, look here:
    https://msdn.microsoft.com/en-us/virtualization/hyperv_on_windows/quick_start/walkthrough_create_vm



    However, note this: Unless you're running a volume-licensed version of Windows, you need a separate license for Windows running inside a virtual machine. The virtual machine's operating system is independent of the host operating system.



    As Android Studio also runs on mac and Linux, you can just install Linux in the virtual machine.






    share|improve this answer















    You'll need to run the software in a virtual machine. If your Windows 10 is a Pro version, it comes with Hyper-V, or you may use other vm-software.



    For installing a virtual machine, look here:
    https://msdn.microsoft.com/en-us/virtualization/hyperv_on_windows/quick_start/walkthrough_create_vm



    However, note this: Unless you're running a volume-licensed version of Windows, you need a separate license for Windows running inside a virtual machine. The virtual machine's operating system is independent of the host operating system.



    As Android Studio also runs on mac and Linux, you can just install Linux in the virtual machine.







    share|improve this answer














    share|improve this answer



    share|improve this answer








    edited Jun 30 '16 at 7:06

























    answered Jun 30 '16 at 6:54









    LenneLenne

    1,103715




    1,103715













    • Please explain how that would achieve the desired behavior, step by step.

      – Daniel B
      Jun 30 '16 at 6:58











    • I updated my answer.

      – Lenne
      Jun 30 '16 at 7:07











    • That still doesn’t explain how the program’s traffic will end up in TOR.

      – Daniel B
      Jun 30 '16 at 7:15











    • You just set the entire traffic of the vm togo through TOR. I don't know much about the socks/proxy situation, but if you say you can make all or no traffic go through the proxy, I gave you the idea of running the software in a virtual machine, where all it's traffic is proxied. This is not a turn-key solution, just an idea to work on.

      – Lenne
      Jun 30 '16 at 7:22











    • @Lenne I already try that and it didn't help much. I have only 8GB ram and I use 3GB for VM. the time it take to load was very high. Is there any way to use virtual network card?

      – Vesal75
      Jun 30 '16 at 9:37



















    • Please explain how that would achieve the desired behavior, step by step.

      – Daniel B
      Jun 30 '16 at 6:58











    • I updated my answer.

      – Lenne
      Jun 30 '16 at 7:07











    • That still doesn’t explain how the program’s traffic will end up in TOR.

      – Daniel B
      Jun 30 '16 at 7:15











    • You just set the entire traffic of the vm togo through TOR. I don't know much about the socks/proxy situation, but if you say you can make all or no traffic go through the proxy, I gave you the idea of running the software in a virtual machine, where all it's traffic is proxied. This is not a turn-key solution, just an idea to work on.

      – Lenne
      Jun 30 '16 at 7:22











    • @Lenne I already try that and it didn't help much. I have only 8GB ram and I use 3GB for VM. the time it take to load was very high. Is there any way to use virtual network card?

      – Vesal75
      Jun 30 '16 at 9:37

















    Please explain how that would achieve the desired behavior, step by step.

    – Daniel B
    Jun 30 '16 at 6:58





    Please explain how that would achieve the desired behavior, step by step.

    – Daniel B
    Jun 30 '16 at 6:58













    I updated my answer.

    – Lenne
    Jun 30 '16 at 7:07





    I updated my answer.

    – Lenne
    Jun 30 '16 at 7:07













    That still doesn’t explain how the program’s traffic will end up in TOR.

    – Daniel B
    Jun 30 '16 at 7:15





    That still doesn’t explain how the program’s traffic will end up in TOR.

    – Daniel B
    Jun 30 '16 at 7:15













    You just set the entire traffic of the vm togo through TOR. I don't know much about the socks/proxy situation, but if you say you can make all or no traffic go through the proxy, I gave you the idea of running the software in a virtual machine, where all it's traffic is proxied. This is not a turn-key solution, just an idea to work on.

    – Lenne
    Jun 30 '16 at 7:22





    You just set the entire traffic of the vm togo through TOR. I don't know much about the socks/proxy situation, but if you say you can make all or no traffic go through the proxy, I gave you the idea of running the software in a virtual machine, where all it's traffic is proxied. This is not a turn-key solution, just an idea to work on.

    – Lenne
    Jun 30 '16 at 7:22













    @Lenne I already try that and it didn't help much. I have only 8GB ram and I use 3GB for VM. the time it take to load was very high. Is there any way to use virtual network card?

    – Vesal75
    Jun 30 '16 at 9:37





    @Lenne I already try that and it didn't help much. I have only 8GB ram and I use 3GB for VM. the time it take to load was very high. Is there any way to use virtual network card?

    – Vesal75
    Jun 30 '16 at 9:37













    0














    You can use some software like Proxifier. This inserts itself into the Winsock 2 stack as a Layered Service Provider, and intercepts connections made by apps. You can set which apps are intercepted, and configure them to connect out via a variety (even chain) of proxies.






    share|improve this answer




























      0














      You can use some software like Proxifier. This inserts itself into the Winsock 2 stack as a Layered Service Provider, and intercepts connections made by apps. You can set which apps are intercepted, and configure them to connect out via a variety (even chain) of proxies.






      share|improve this answer


























        0












        0








        0







        You can use some software like Proxifier. This inserts itself into the Winsock 2 stack as a Layered Service Provider, and intercepts connections made by apps. You can set which apps are intercepted, and configure them to connect out via a variety (even chain) of proxies.






        share|improve this answer













        You can use some software like Proxifier. This inserts itself into the Winsock 2 stack as a Layered Service Provider, and intercepts connections made by apps. You can set which apps are intercepted, and configure them to connect out via a variety (even chain) of proxies.







        share|improve this answer












        share|improve this answer



        share|improve this answer










        answered Jul 21 '16 at 3:22









        AdrienAdrien

        1,059311




        1,059311






























            draft saved

            draft discarded




















































            Thanks for contributing an answer to Super User!


            • 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%2fsuperuser.com%2fquestions%2f1095210%2fhow-to-force-a-specific-software-to-use-proxy%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

            How to make a Squid Proxy server?

            Is this a new Fibonacci Identity?

            Touch on Surface Book