nixCraft Linux Forum

nixCraft

Linux / UNIX Tech Support Forum

Squid transparent proxy in ubuntu

This is a discussion on Squid transparent proxy in ubuntu within the Ubuntu / Debian forums, part of the Linux Distribution category; HI All, I need to setup Squid as transparent proxy in ubuntu 8.04. could any one help me with configuration ...


Go Back   nixCraft Linux Forum > Linux Distribution > Ubuntu / Debian

Linux answers from nixCraft.


Ubuntu / Debian Discussion about Debian or Ubuntu Linux related problems.

Reply

 

LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 02-12-2008, 05:52 PM
Junior Member
User
 
Join Date: Dec 2008
OS: Debian
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
Avinash More is on a distinguished road
Default Squid transparent proxy in ubuntu

HI All,
I need to setup Squid as transparent proxy in ubuntu 8.04.
could any one help me with configuration file or how to make this working
Note: I am installing squid3.
Reply With Quote
  #2 (permalink)  
Old 11-01-2009, 03:55 AM
Junior Member
User
 
Join Date: Jan 2009
OS: Solaris
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
unixmen is on a distinguished road
Default squid.conf

vi /etc/squid/squid.conf
Modify or add following squid directives:
httpd_accel_host virtual
httpd_accel_port 80
httpd_accel_with_proxy on
httpd_accel_uses_host_header on
acl lan src 192.168.1.1 192.168.2.0/24
http_access allow localhost
http_access allow lan


do u have its like this ?

Regards
unixmen.net Team
Reply With Quote
  #3 (permalink)  
Old 10-02-2009, 09:41 AM
Junior Member
User
 
Join Date: Jan 2008
OS: Debian
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
mformit is on a distinguished road
Default

I am getting below error in Ubuntu 8.04 64bit Server.

2007/10/10 00:49:24| parseConfigFile: line 1 unrecognized: 'httpd_accel_port 80'
2007/10/10 00:49:24| parseConfigFile: line 2 unrecognized: 'httpd_accel_host virtual'
2007/10/10 00:49:24| parseConfigFile: line 3 unrecognized: 'httpd_accel_port 80'
2007/10/10 00:49:24| parseConfigFile: line 4 unrecognized: 'httpd_accel_with_proxy on'

how to resolve this issue?


-Bala
Reply With Quote
  #4 (permalink)  
Old 12-02-2009, 06:54 AM
Junior Member
User
 
Join Date: Feb 2009
OS: Redhat
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
rootlurker is on a distinguished road
Default

If you're using squid 3 and you don't need the ff to insert to the squid.conf:

httpd_accel_port 80
httpd_accel_host virtual
httpd_accel_with_proxy on


you have to set the ff: http_port 3128 transparent

(if you compiled the squid with transparency.
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 
Thread Tools
Display Modes

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads

Thread Thread Starter Forum Replies Last Post
How to Squid 2.6 transparent proxy? alex.inoa Networking, Firewalls and Security 5 30-10-2007 03:41 AM
Outlook with Squid transparent Proxy bubloob_13 Networking, Firewalls and Security 0 16-09-2007 02:37 PM
Restrict number of simultaneous proxy connections in SQUID proxy pkvmreddy Getting started tutorials 1 15-06-2007 03:52 PM
transparent squid proxy authentication chiku Linux software 1 27-04-2007 04:58 PM
Squid proxy authentication in transparent mode howto charvi Linux software 1 14-01-2007 12:55 AM


All times are GMT +5.5. The time now is 10:38 PM.


Powered by vBulletin® Version 3.8.5 - Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.3.2
©2005-2010 nixCraft. All rights reserved

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38