LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (http://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Without specifying proxy settings I can access internet. (http://www.linuxquestions.org/questions/linux-newbie-8/without-specifying-proxy-settings-i-can-access-internet-4175438411/)

sharanksd 11-23-2012 04:48 AM

Without specifying proxy settings I can access internet.
 
Hi all,

I have a squid server in our office.Problem is without configuring the proxy settings in internet explorer, clients can access internet. I have set my proxy ip as default gateway for all clients. If i remove the gateway ip in clients, mail and other services are not working in clients but internet is not accessible without configuring proxy in internet explorer. I want clients should not access internet without configuring proxy same time mail and other services should work fine on clients. Pls help me.

Thanks.

vitki 11-23-2012 05:09 AM

Most probably your router is on the same network range as the proxy server. If you have 2 NIC's on your proxy you could configure the one NIC to use the router and the other NIC to your local network.

This is most probably the safest way to do this as your private clients cant access the internet unless via the proxy. Your gateway will then be the proxy server.

On the proxy server you must disallow all other traffic to go to the internet except the allowed protocols. Then all clients that needs to connect to the internet must use <proxy-server:port> to connect.

If you don't have 2 NICs you might want to setup your router to only allow traffic from the proxy-server and /or allowed protocols nl. 25, 110 and so on. If it is a smart router you can configure it to only allow the proxy-server on port 8080 for instance.

Hope this helps....


All times are GMT -5. The time now is 02:47 AM.