Windows Firewall Configuration for Blocking Internet Access












2















I have a PC and a laptop. I would like to make my PC act as server and my laptop as a client. I want to implement a freeware HTTP proxy (freeproxy 4.10) on my PC so that it can filter certain web pages.



The thing is, the proxy I just downloaded will only work if the client (my laptop) connects to the port that is set. If the user didn't connect to the port that is set by that freeproxy, they can surf like usual without being blocked.



I heard Windows Firewall can block internet access by blocking some port and letting some ports communicate with internet. I just wonder how i can do that?










share|improve this question















migrated from stackoverflow.com Jul 8 '11 at 9:28


This question came from our site for professional and enthusiast programmers.























    2















    I have a PC and a laptop. I would like to make my PC act as server and my laptop as a client. I want to implement a freeware HTTP proxy (freeproxy 4.10) on my PC so that it can filter certain web pages.



    The thing is, the proxy I just downloaded will only work if the client (my laptop) connects to the port that is set. If the user didn't connect to the port that is set by that freeproxy, they can surf like usual without being blocked.



    I heard Windows Firewall can block internet access by blocking some port and letting some ports communicate with internet. I just wonder how i can do that?










    share|improve this question















    migrated from stackoverflow.com Jul 8 '11 at 9:28


    This question came from our site for professional and enthusiast programmers.





















      2












      2








      2








      I have a PC and a laptop. I would like to make my PC act as server and my laptop as a client. I want to implement a freeware HTTP proxy (freeproxy 4.10) on my PC so that it can filter certain web pages.



      The thing is, the proxy I just downloaded will only work if the client (my laptop) connects to the port that is set. If the user didn't connect to the port that is set by that freeproxy, they can surf like usual without being blocked.



      I heard Windows Firewall can block internet access by blocking some port and letting some ports communicate with internet. I just wonder how i can do that?










      share|improve this question
















      I have a PC and a laptop. I would like to make my PC act as server and my laptop as a client. I want to implement a freeware HTTP proxy (freeproxy 4.10) on my PC so that it can filter certain web pages.



      The thing is, the proxy I just downloaded will only work if the client (my laptop) connects to the port that is set. If the user didn't connect to the port that is set by that freeproxy, they can surf like usual without being blocked.



      I heard Windows Firewall can block internet access by blocking some port and letting some ports communicate with internet. I just wonder how i can do that?







      proxy blocking windows-firewall






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited Jul 8 '11 at 9:37









      slhck

      160k47445467




      160k47445467










      asked Jul 8 '11 at 9:23









      zesszzessz

      23125




      23125




      migrated from stackoverflow.com Jul 8 '11 at 9:28


      This question came from our site for professional and enthusiast programmers.









      migrated from stackoverflow.com Jul 8 '11 at 9:28


      This question came from our site for professional and enthusiast programmers.
























          1 Answer
          1






          active

          oldest

          votes


















          0














          The simple route, and the one most used is to force the connection to go through the proxy/firewall by using two network cards in your PC. Have the laptop connect to one, and have the other connect to the internet - then just configure the proxy to look at every request coming in from the network the laptop is on. This could be a wireless network if required.



          Alternatively, just configure your laptop to always use a proxy, and set the proxy details to include IP and port required. This will work, but could be changed by a user on the laptop if they have the required permissions.




          Tools - Internet Options - Connections
          - LAN settings - Proxy Server




          For this functionality you don't need to use the Windows Firewall at all.






          share|improve this answer


























          • +1 Firewall isn't a good idea. It will block access, but it won't route you to the correct port.

            – surfasb
            Jul 9 '11 at 8:51











          • thanks for the answer, Yes, I am aware that i just have to configure from Internet Options, the thing is I don't want anyone using my laptop can simply change my configuration. Any suggestion?

            – zessz
            Jul 12 '11 at 2:30











          • You can lock down those settings so only an admin can change them, then give the users normal user accounts. Of course a determined attacker with access to your laptop can do anything, but this will at least add protection against an average user.

            – Rory Alsop
            Jul 12 '11 at 9:04











          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%2f308029%2fwindows-firewall-configuration-for-blocking-internet-access%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown

























          1 Answer
          1






          active

          oldest

          votes








          1 Answer
          1






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes









          0














          The simple route, and the one most used is to force the connection to go through the proxy/firewall by using two network cards in your PC. Have the laptop connect to one, and have the other connect to the internet - then just configure the proxy to look at every request coming in from the network the laptop is on. This could be a wireless network if required.



          Alternatively, just configure your laptop to always use a proxy, and set the proxy details to include IP and port required. This will work, but could be changed by a user on the laptop if they have the required permissions.




          Tools - Internet Options - Connections
          - LAN settings - Proxy Server




          For this functionality you don't need to use the Windows Firewall at all.






          share|improve this answer


























          • +1 Firewall isn't a good idea. It will block access, but it won't route you to the correct port.

            – surfasb
            Jul 9 '11 at 8:51











          • thanks for the answer, Yes, I am aware that i just have to configure from Internet Options, the thing is I don't want anyone using my laptop can simply change my configuration. Any suggestion?

            – zessz
            Jul 12 '11 at 2:30











          • You can lock down those settings so only an admin can change them, then give the users normal user accounts. Of course a determined attacker with access to your laptop can do anything, but this will at least add protection against an average user.

            – Rory Alsop
            Jul 12 '11 at 9:04
















          0














          The simple route, and the one most used is to force the connection to go through the proxy/firewall by using two network cards in your PC. Have the laptop connect to one, and have the other connect to the internet - then just configure the proxy to look at every request coming in from the network the laptop is on. This could be a wireless network if required.



          Alternatively, just configure your laptop to always use a proxy, and set the proxy details to include IP and port required. This will work, but could be changed by a user on the laptop if they have the required permissions.




          Tools - Internet Options - Connections
          - LAN settings - Proxy Server




          For this functionality you don't need to use the Windows Firewall at all.






          share|improve this answer


























          • +1 Firewall isn't a good idea. It will block access, but it won't route you to the correct port.

            – surfasb
            Jul 9 '11 at 8:51











          • thanks for the answer, Yes, I am aware that i just have to configure from Internet Options, the thing is I don't want anyone using my laptop can simply change my configuration. Any suggestion?

            – zessz
            Jul 12 '11 at 2:30











          • You can lock down those settings so only an admin can change them, then give the users normal user accounts. Of course a determined attacker with access to your laptop can do anything, but this will at least add protection against an average user.

            – Rory Alsop
            Jul 12 '11 at 9:04














          0












          0








          0







          The simple route, and the one most used is to force the connection to go through the proxy/firewall by using two network cards in your PC. Have the laptop connect to one, and have the other connect to the internet - then just configure the proxy to look at every request coming in from the network the laptop is on. This could be a wireless network if required.



          Alternatively, just configure your laptop to always use a proxy, and set the proxy details to include IP and port required. This will work, but could be changed by a user on the laptop if they have the required permissions.




          Tools - Internet Options - Connections
          - LAN settings - Proxy Server




          For this functionality you don't need to use the Windows Firewall at all.






          share|improve this answer















          The simple route, and the one most used is to force the connection to go through the proxy/firewall by using two network cards in your PC. Have the laptop connect to one, and have the other connect to the internet - then just configure the proxy to look at every request coming in from the network the laptop is on. This could be a wireless network if required.



          Alternatively, just configure your laptop to always use a proxy, and set the proxy details to include IP and port required. This will work, but could be changed by a user on the laptop if they have the required permissions.




          Tools - Internet Options - Connections
          - LAN settings - Proxy Server




          For this functionality you don't need to use the Windows Firewall at all.







          share|improve this answer














          share|improve this answer



          share|improve this answer








          edited Jul 8 '11 at 9:40

























          answered Jul 8 '11 at 9:34









          Rory AlsopRory Alsop

          2,9821528




          2,9821528













          • +1 Firewall isn't a good idea. It will block access, but it won't route you to the correct port.

            – surfasb
            Jul 9 '11 at 8:51











          • thanks for the answer, Yes, I am aware that i just have to configure from Internet Options, the thing is I don't want anyone using my laptop can simply change my configuration. Any suggestion?

            – zessz
            Jul 12 '11 at 2:30











          • You can lock down those settings so only an admin can change them, then give the users normal user accounts. Of course a determined attacker with access to your laptop can do anything, but this will at least add protection against an average user.

            – Rory Alsop
            Jul 12 '11 at 9:04



















          • +1 Firewall isn't a good idea. It will block access, but it won't route you to the correct port.

            – surfasb
            Jul 9 '11 at 8:51











          • thanks for the answer, Yes, I am aware that i just have to configure from Internet Options, the thing is I don't want anyone using my laptop can simply change my configuration. Any suggestion?

            – zessz
            Jul 12 '11 at 2:30











          • You can lock down those settings so only an admin can change them, then give the users normal user accounts. Of course a determined attacker with access to your laptop can do anything, but this will at least add protection against an average user.

            – Rory Alsop
            Jul 12 '11 at 9:04

















          +1 Firewall isn't a good idea. It will block access, but it won't route you to the correct port.

          – surfasb
          Jul 9 '11 at 8:51





          +1 Firewall isn't a good idea. It will block access, but it won't route you to the correct port.

          – surfasb
          Jul 9 '11 at 8:51













          thanks for the answer, Yes, I am aware that i just have to configure from Internet Options, the thing is I don't want anyone using my laptop can simply change my configuration. Any suggestion?

          – zessz
          Jul 12 '11 at 2:30





          thanks for the answer, Yes, I am aware that i just have to configure from Internet Options, the thing is I don't want anyone using my laptop can simply change my configuration. Any suggestion?

          – zessz
          Jul 12 '11 at 2:30













          You can lock down those settings so only an admin can change them, then give the users normal user accounts. Of course a determined attacker with access to your laptop can do anything, but this will at least add protection against an average user.

          – Rory Alsop
          Jul 12 '11 at 9:04





          You can lock down those settings so only an admin can change them, then give the users normal user accounts. Of course a determined attacker with access to your laptop can do anything, but this will at least add protection against an average user.

          – Rory Alsop
          Jul 12 '11 at 9:04


















          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%2f308029%2fwindows-firewall-configuration-for-blocking-internet-access%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

          Probability when a professor distributes a quiz and homework assignment to a class of n students.

          Aardman Animations

          Are they similar matrix