Results 1 to 4 of 4
Hello,
I am not sure whether it's possible or not. We running squid proxy server for our office. We restrict users using ACL to access the internet. There is some ...
- 05-26-2010 #1Just Joined!
- Join Date
- May 2010
- Posts
- 2
Restrict users from bypassing squid proxy
Hello,
I am not sure whether it's possible or not. We running squid proxy server for our office. We restrict users using ACL to access the internet. There is some who do the followings:
1. Create a own proxy in there box who has the internet access.
2. Other users use those box as proxy and access to the internet.
Is it possible to restrict it?
- 05-30-2010 #2
Simple way to do this is to setup the firewall to only allow internet traffic that is coming from the proxy's IP Address. If the IP Address of the connection is not coming from the proxy the packets get Rejected/Dropped.
Now after that is done you could setup the firewall to redirect the connection to the proxy and then let the proxy re-submit the requests thus forcing everyone to use the proxy.
- 06-02-2010 #3Just Joined!
- Join Date
- May 2010
- Posts
- 2
Hi Robert
Thanks for the reply. Can you please give me any guideline or docs regarding this. Any step by step guideline will be helpful for me.
Regards,
Neo
- 06-02-2010 #4
Simple, the following rule should take care of this for you.
Replace the following above;Code:iptables -t nat -A PREROUTING -i <LAN> -p tcp -m multiport --dport 80,443 ! -s <PROXY> -j DNAT --to-destination <PROXY>
<LAN> = LAN interface
<PROXY> = Porxy server's IP Address
Your mileage may very as I do not know how you have your network setup.


Reply With Quote