Windows 10 - Set up a OS-level proxy with authentication











up vote
10
down vote

favorite
4












To connect with certain server, I need to have always the same IP. For that purpose I created a private proxy, and I added authentication so that hackers wouldn't use it for malicious purposes.



Configuring the proxy on software like Firefox is a breeze. The problem is that web browsers aren't the only software that need to connect with this server. For this, I would like to configure my whole OS to be using the proxy.



I tried looking in Windows 10 network configuration, and I saw a place to put my proxy's IP address, but there is no option to include the username/password to connect.



enter image description here



How could I solve this problem?










share|improve this question
























  • Yes; Internet Options, setup a proxy. Any application that uses proxy settings will then respect those settings. An application does not have to respect those options though.
    – Ramhound
    Sep 29 '15 at 15:22










  • When you say "Internet Options", I figure you mean "Internet Options" -> "Connections" tab -> "LAN settings" button. The problem is that there is no place there to specify username or password for the proxy.
    – Enrique Moreno Tent
    Sep 29 '15 at 15:25










  • The problem is that Windows doesn’t do the connection, it’s up to individual applications to read those settings and use them to connect to the proxy themselves. That means the software needs to support proxies. It’s the same with authentication of course. For your purposes, it may be more appropriate to set up a VPN. If you really can’t you need a helper program that adds the authentication information to proxy requests.
    – Daniel B
    Jul 23 '16 at 11:34










  • Would you know of any helper program that does that? And would setting a VPN guarantee I have always the same IP address?
    – Enrique Moreno Tent
    Jul 23 '16 at 11:45












  • No, unfortunately most of these programs (they act as a proxy themselves and forward request to an upstream proxy) are just made to deal with NTLM authentication because it isn't supported in most proxy-capable software. A VPN would work similar to a proxy but tunnel all network traffic, not just HTTP(S).
    – Daniel B
    Jul 23 '16 at 15:13

















up vote
10
down vote

favorite
4












To connect with certain server, I need to have always the same IP. For that purpose I created a private proxy, and I added authentication so that hackers wouldn't use it for malicious purposes.



Configuring the proxy on software like Firefox is a breeze. The problem is that web browsers aren't the only software that need to connect with this server. For this, I would like to configure my whole OS to be using the proxy.



I tried looking in Windows 10 network configuration, and I saw a place to put my proxy's IP address, but there is no option to include the username/password to connect.



enter image description here



How could I solve this problem?










share|improve this question
























  • Yes; Internet Options, setup a proxy. Any application that uses proxy settings will then respect those settings. An application does not have to respect those options though.
    – Ramhound
    Sep 29 '15 at 15:22










  • When you say "Internet Options", I figure you mean "Internet Options" -> "Connections" tab -> "LAN settings" button. The problem is that there is no place there to specify username or password for the proxy.
    – Enrique Moreno Tent
    Sep 29 '15 at 15:25










  • The problem is that Windows doesn’t do the connection, it’s up to individual applications to read those settings and use them to connect to the proxy themselves. That means the software needs to support proxies. It’s the same with authentication of course. For your purposes, it may be more appropriate to set up a VPN. If you really can’t you need a helper program that adds the authentication information to proxy requests.
    – Daniel B
    Jul 23 '16 at 11:34










  • Would you know of any helper program that does that? And would setting a VPN guarantee I have always the same IP address?
    – Enrique Moreno Tent
    Jul 23 '16 at 11:45












  • No, unfortunately most of these programs (they act as a proxy themselves and forward request to an upstream proxy) are just made to deal with NTLM authentication because it isn't supported in most proxy-capable software. A VPN would work similar to a proxy but tunnel all network traffic, not just HTTP(S).
    – Daniel B
    Jul 23 '16 at 15:13















up vote
10
down vote

favorite
4









up vote
10
down vote

favorite
4






4





To connect with certain server, I need to have always the same IP. For that purpose I created a private proxy, and I added authentication so that hackers wouldn't use it for malicious purposes.



Configuring the proxy on software like Firefox is a breeze. The problem is that web browsers aren't the only software that need to connect with this server. For this, I would like to configure my whole OS to be using the proxy.



I tried looking in Windows 10 network configuration, and I saw a place to put my proxy's IP address, but there is no option to include the username/password to connect.



enter image description here



How could I solve this problem?










share|improve this question















To connect with certain server, I need to have always the same IP. For that purpose I created a private proxy, and I added authentication so that hackers wouldn't use it for malicious purposes.



Configuring the proxy on software like Firefox is a breeze. The problem is that web browsers aren't the only software that need to connect with this server. For this, I would like to configure my whole OS to be using the proxy.



I tried looking in Windows 10 network configuration, and I saw a place to put my proxy's IP address, but there is no option to include the username/password to connect.



enter image description here



How could I solve this problem?







windows-10 proxy






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Jul 23 '16 at 20:23









harrymc

251k11259557




251k11259557










asked Sep 29 '15 at 15:13









Enrique Moreno Tent

862214




862214












  • Yes; Internet Options, setup a proxy. Any application that uses proxy settings will then respect those settings. An application does not have to respect those options though.
    – Ramhound
    Sep 29 '15 at 15:22










  • When you say "Internet Options", I figure you mean "Internet Options" -> "Connections" tab -> "LAN settings" button. The problem is that there is no place there to specify username or password for the proxy.
    – Enrique Moreno Tent
    Sep 29 '15 at 15:25










  • The problem is that Windows doesn’t do the connection, it’s up to individual applications to read those settings and use them to connect to the proxy themselves. That means the software needs to support proxies. It’s the same with authentication of course. For your purposes, it may be more appropriate to set up a VPN. If you really can’t you need a helper program that adds the authentication information to proxy requests.
    – Daniel B
    Jul 23 '16 at 11:34










  • Would you know of any helper program that does that? And would setting a VPN guarantee I have always the same IP address?
    – Enrique Moreno Tent
    Jul 23 '16 at 11:45












  • No, unfortunately most of these programs (they act as a proxy themselves and forward request to an upstream proxy) are just made to deal with NTLM authentication because it isn't supported in most proxy-capable software. A VPN would work similar to a proxy but tunnel all network traffic, not just HTTP(S).
    – Daniel B
    Jul 23 '16 at 15:13




















  • Yes; Internet Options, setup a proxy. Any application that uses proxy settings will then respect those settings. An application does not have to respect those options though.
    – Ramhound
    Sep 29 '15 at 15:22










  • When you say "Internet Options", I figure you mean "Internet Options" -> "Connections" tab -> "LAN settings" button. The problem is that there is no place there to specify username or password for the proxy.
    – Enrique Moreno Tent
    Sep 29 '15 at 15:25










  • The problem is that Windows doesn’t do the connection, it’s up to individual applications to read those settings and use them to connect to the proxy themselves. That means the software needs to support proxies. It’s the same with authentication of course. For your purposes, it may be more appropriate to set up a VPN. If you really can’t you need a helper program that adds the authentication information to proxy requests.
    – Daniel B
    Jul 23 '16 at 11:34










  • Would you know of any helper program that does that? And would setting a VPN guarantee I have always the same IP address?
    – Enrique Moreno Tent
    Jul 23 '16 at 11:45












  • No, unfortunately most of these programs (they act as a proxy themselves and forward request to an upstream proxy) are just made to deal with NTLM authentication because it isn't supported in most proxy-capable software. A VPN would work similar to a proxy but tunnel all network traffic, not just HTTP(S).
    – Daniel B
    Jul 23 '16 at 15:13


















Yes; Internet Options, setup a proxy. Any application that uses proxy settings will then respect those settings. An application does not have to respect those options though.
– Ramhound
Sep 29 '15 at 15:22




Yes; Internet Options, setup a proxy. Any application that uses proxy settings will then respect those settings. An application does not have to respect those options though.
– Ramhound
Sep 29 '15 at 15:22












When you say "Internet Options", I figure you mean "Internet Options" -> "Connections" tab -> "LAN settings" button. The problem is that there is no place there to specify username or password for the proxy.
– Enrique Moreno Tent
Sep 29 '15 at 15:25




When you say "Internet Options", I figure you mean "Internet Options" -> "Connections" tab -> "LAN settings" button. The problem is that there is no place there to specify username or password for the proxy.
– Enrique Moreno Tent
Sep 29 '15 at 15:25












The problem is that Windows doesn’t do the connection, it’s up to individual applications to read those settings and use them to connect to the proxy themselves. That means the software needs to support proxies. It’s the same with authentication of course. For your purposes, it may be more appropriate to set up a VPN. If you really can’t you need a helper program that adds the authentication information to proxy requests.
– Daniel B
Jul 23 '16 at 11:34




The problem is that Windows doesn’t do the connection, it’s up to individual applications to read those settings and use them to connect to the proxy themselves. That means the software needs to support proxies. It’s the same with authentication of course. For your purposes, it may be more appropriate to set up a VPN. If you really can’t you need a helper program that adds the authentication information to proxy requests.
– Daniel B
Jul 23 '16 at 11:34












Would you know of any helper program that does that? And would setting a VPN guarantee I have always the same IP address?
– Enrique Moreno Tent
Jul 23 '16 at 11:45






Would you know of any helper program that does that? And would setting a VPN guarantee I have always the same IP address?
– Enrique Moreno Tent
Jul 23 '16 at 11:45














No, unfortunately most of these programs (they act as a proxy themselves and forward request to an upstream proxy) are just made to deal with NTLM authentication because it isn't supported in most proxy-capable software. A VPN would work similar to a proxy but tunnel all network traffic, not just HTTP(S).
– Daniel B
Jul 23 '16 at 15:13






No, unfortunately most of these programs (they act as a proxy themselves and forward request to an upstream proxy) are just made to deal with NTLM authentication because it isn't supported in most proxy-capable software. A VPN would work similar to a proxy but tunnel all network traffic, not just HTTP(S).
– Daniel B
Jul 23 '16 at 15:13












2 Answers
2






active

oldest

votes

















up vote
12
down vote



accepted
+50










Windows 10 does not support user-name and password for the automatic proxy,
and this was done for security reasons.



You will need to setup a two-step proxy :




  1. A local proxy server on your computer without user-name and password

  2. The local proxy should connect to the real external proxy using the user-name and password


A possible solution is installing node.js together with
proxy-password-automator, described as :




proxy-password-automator
automatically send user/password to http
proxy server so you do not need to input it manually.




In theory, if you have a proxy server at real_proxy_ip:8080,
then run the following command to create a local proxy at localhost:8081



node proxy-login-automator.js -local_port 8081 -remote_host real_proxy_ip -remote_port 8080 -usr user -pwd pw


Then you can set Window's proxy ip:port to localhost:8081.



A more heavy-weight solution might be to use Squid.
Other web proxies that might be of use are Privoxy,
WinGate, Anon, CCProxy.






share|improve this answer






























    up vote
    1
    down vote













    You can authenticate to the proxy using Windows credentials.



    Search windows credential in control panel






    share|improve this answer























    • Why downvote? this is a correct answer.
      – desmati
      May 17 at 18:08











    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%2f979727%2fwindows-10-set-up-a-os-level-proxy-with-authentication%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








    up vote
    12
    down vote



    accepted
    +50










    Windows 10 does not support user-name and password for the automatic proxy,
    and this was done for security reasons.



    You will need to setup a two-step proxy :




    1. A local proxy server on your computer without user-name and password

    2. The local proxy should connect to the real external proxy using the user-name and password


    A possible solution is installing node.js together with
    proxy-password-automator, described as :




    proxy-password-automator
    automatically send user/password to http
    proxy server so you do not need to input it manually.




    In theory, if you have a proxy server at real_proxy_ip:8080,
    then run the following command to create a local proxy at localhost:8081



    node proxy-login-automator.js -local_port 8081 -remote_host real_proxy_ip -remote_port 8080 -usr user -pwd pw


    Then you can set Window's proxy ip:port to localhost:8081.



    A more heavy-weight solution might be to use Squid.
    Other web proxies that might be of use are Privoxy,
    WinGate, Anon, CCProxy.






    share|improve this answer



























      up vote
      12
      down vote



      accepted
      +50










      Windows 10 does not support user-name and password for the automatic proxy,
      and this was done for security reasons.



      You will need to setup a two-step proxy :




      1. A local proxy server on your computer without user-name and password

      2. The local proxy should connect to the real external proxy using the user-name and password


      A possible solution is installing node.js together with
      proxy-password-automator, described as :




      proxy-password-automator
      automatically send user/password to http
      proxy server so you do not need to input it manually.




      In theory, if you have a proxy server at real_proxy_ip:8080,
      then run the following command to create a local proxy at localhost:8081



      node proxy-login-automator.js -local_port 8081 -remote_host real_proxy_ip -remote_port 8080 -usr user -pwd pw


      Then you can set Window's proxy ip:port to localhost:8081.



      A more heavy-weight solution might be to use Squid.
      Other web proxies that might be of use are Privoxy,
      WinGate, Anon, CCProxy.






      share|improve this answer

























        up vote
        12
        down vote



        accepted
        +50







        up vote
        12
        down vote



        accepted
        +50




        +50




        Windows 10 does not support user-name and password for the automatic proxy,
        and this was done for security reasons.



        You will need to setup a two-step proxy :




        1. A local proxy server on your computer without user-name and password

        2. The local proxy should connect to the real external proxy using the user-name and password


        A possible solution is installing node.js together with
        proxy-password-automator, described as :




        proxy-password-automator
        automatically send user/password to http
        proxy server so you do not need to input it manually.




        In theory, if you have a proxy server at real_proxy_ip:8080,
        then run the following command to create a local proxy at localhost:8081



        node proxy-login-automator.js -local_port 8081 -remote_host real_proxy_ip -remote_port 8080 -usr user -pwd pw


        Then you can set Window's proxy ip:port to localhost:8081.



        A more heavy-weight solution might be to use Squid.
        Other web proxies that might be of use are Privoxy,
        WinGate, Anon, CCProxy.






        share|improve this answer














        Windows 10 does not support user-name and password for the automatic proxy,
        and this was done for security reasons.



        You will need to setup a two-step proxy :




        1. A local proxy server on your computer without user-name and password

        2. The local proxy should connect to the real external proxy using the user-name and password


        A possible solution is installing node.js together with
        proxy-password-automator, described as :




        proxy-password-automator
        automatically send user/password to http
        proxy server so you do not need to input it manually.




        In theory, if you have a proxy server at real_proxy_ip:8080,
        then run the following command to create a local proxy at localhost:8081



        node proxy-login-automator.js -local_port 8081 -remote_host real_proxy_ip -remote_port 8080 -usr user -pwd pw


        Then you can set Window's proxy ip:port to localhost:8081.



        A more heavy-weight solution might be to use Squid.
        Other web proxies that might be of use are Privoxy,
        WinGate, Anon, CCProxy.







        share|improve this answer














        share|improve this answer



        share|improve this answer








        edited Jul 29 '16 at 5:52

























        answered Jul 23 '16 at 21:12









        harrymc

        251k11259557




        251k11259557
























            up vote
            1
            down vote













            You can authenticate to the proxy using Windows credentials.



            Search windows credential in control panel






            share|improve this answer























            • Why downvote? this is a correct answer.
              – desmati
              May 17 at 18:08















            up vote
            1
            down vote













            You can authenticate to the proxy using Windows credentials.



            Search windows credential in control panel






            share|improve this answer























            • Why downvote? this is a correct answer.
              – desmati
              May 17 at 18:08













            up vote
            1
            down vote










            up vote
            1
            down vote









            You can authenticate to the proxy using Windows credentials.



            Search windows credential in control panel






            share|improve this answer














            You can authenticate to the proxy using Windows credentials.



            Search windows credential in control panel







            share|improve this answer














            share|improve this answer



            share|improve this answer








            edited Feb 17 at 15:42









            bertieb

            5,537112342




            5,537112342










            answered Feb 17 at 14:25









            Saud Qadir

            211




            211












            • Why downvote? this is a correct answer.
              – desmati
              May 17 at 18:08


















            • Why downvote? this is a correct answer.
              – desmati
              May 17 at 18:08
















            Why downvote? this is a correct answer.
            – desmati
            May 17 at 18:08




            Why downvote? this is a correct answer.
            – desmati
            May 17 at 18:08


















            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.





            Some of your past answers have not been well-received, and you're in danger of being blocked from answering.


            Please pay close attention to the following guidance:


            • 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%2f979727%2fwindows-10-set-up-a-os-level-proxy-with-authentication%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

            Plaza Victoria

            Puebla de Zaragoza

            Musa