LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 09-23-2010, 03:17 PM   #1
Net_Spy
Member
 
Registered: Nov 2006
Posts: 119

Rep: Reputation: 17
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
 
Old 09-25-2010, 12:31 AM   #2
linuxlover.chaitanya
Senior Member
 
Registered: Apr 2008
Location: Nagpur, India
Distribution: Cent OS 5/6, Ubuntu Server 10.04
Posts: 4,629

Rep: Reputation: Disabled
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
}
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Basic Squid configuration adamanat79 Linux - Server 1 01-25-2010 02:03 PM
Question about IPTABLES Configuration / Squid Proxy andy.schmid Linux - Networking 4 10-15-2009 11:14 AM
iptables basic question Fordor Linux - Networking 5 10-12-2005 05:30 PM
very basic question about labels in iptables celadoreuk Linux - Networking 0 10-05-2004 10:50 AM
Strange SQUID+IPTABLES question yuzuohong Linux - Networking 0 06-09-2002 01:14 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 02:03 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration