Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Server
User Name
Linux - Server This forum is for the discussion of Linux Software used in a server related context.


  Search this Thread
Old 09-03-2008, 05:01 AM   #1
LQ Newbie
Registered: Jan 2003
Posts: 7

Rep: Reputation: 0
squid auth as transparent proxy

Just some basic questions that I am having trouble finding answers to.

I am going to setup a dedicated squid/dansguarding server. The questions I have are:

1) Do I need two NIC's if I am setting up squid as a transparent proxy where the firewall is a separate appliance like cisco or sonicwall? One NIC to the firewall the other to the network or do I just forward all http traffic to the proxy IP?

2) Can I still use authentication when using a transparent proxy? If not is there any way to do this while keeping the proxy transparent?

3) It seems to me that if you do not have the proxy setup as transparent users will be able to disable the proxy setting in IE or Firefox and just go straight to the router. What is the best setup when I need to be able to restrict/monitor internet usage per user. Like you can go to only this website and no others.
Old 09-03-2008, 09:47 PM   #2
LQ Guru
Registered: Mar 2006
Location: Sydney, Australia
Distribution: Fedora, CentOS, OpenSuse, Slack, Gentoo, Debian, Arch, PCBSD
Posts: 6,678

Rep: Reputation: 122Reputation: 122
1) It would be more usual to have 2 NICs, but you could do it without

2) According to squid.conf you can't. Doesn't really make a lot of sense to authenticate something that you aren't meant to know is there.

3) Block the router from taking port 80 requests from anywhere but your proxy server (or don't forward them if you go for 2 NICs). Don't listen on anything but the squid port on the server and you're home and hosed.


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
Squid Transparent Proxy SBN Linux - Server 6 07-11-2007 03:54 AM
Squid as a transparent proxy kemplej Linux - Software 2 12-08-2004 05:00 PM
Squid Transparent Proxy 1jamie Linux - Security 7 09-26-2003 06:09 AM
Squid with Transparent Proxy MarleyGPN Linux - Networking 1 08-28-2003 02:51 PM
squid transparent proxy...... hitesh_linux Linux - Networking 1 06-13-2003 03:24 AM

All times are GMT -5. The time now is 07:43 AM.

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