Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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.

1 Answer 1

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

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.