Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

My computer still access the internet although squid is inatalled. IF i manually put proxy setting then internet also works.

How can stop internet if proxy is not entered

share|improve this question
add comment

2 Answers

up vote 1 down vote accepted

On your router/firewall, disable egress on 80/tcp and 443/tcp from all IPs except for that of your proxy server.

share|improve this answer
    
you mean source port should be 80 or destination port should be 80 –  John Dec 18 '09 at 5:39
    
Rule should be applied on LAN or WAN –  John Dec 18 '09 at 5:53
    
The destination port should be 80 (and/or 443). –  RainyRat Dec 18 '09 at 9:13
add comment

This may be a silly question, but why not turn on the transparent proxy option?

I assume that the PFSense box is your gateway and if the transparent proxy option is turned on all of your HTTP traffic will go through the proxy. This way you won't need to manually enter proxy information for each machine on the network.

share|improve this answer
    
i will try that –  John Dec 19 '09 at 3:19
add comment

Your Answer

 
discard

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