LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Basic question regarding squid nd iptables (https://www.linuxquestions.org/questions/linux-newbie-8/basic-question-regarding-squid-nd-iptables-834087/)

Net_Spy 09-23-2010 03:17 PM

Basic question regarding squid nd iptables
 
Greetings,
I have configured my squid that have a limited access to websites but still some website were accessable vis https so I removed transparent from squid .

Now what changes do I have to make in iptbles . Please help

Regards
Net_Spy

linuxlover.chaitanya 09-25-2010 12:31 AM

Squid is http proxy so it can not proxy http secure requests even if it is not in transparent mode. But you can deny https sites by denying connections that use CONNECT method or use port 443 acl to block the connections on the port.

like:

Code:

acl connect method CONNECT
acl https_port port 443
.
.
.
.
http_access deny connect
http_access deny https_port
{
all other access rules here
}



All times are GMT -5. The time now is 08:48 PM.