LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices

Reply
 
Search this Thread
Old 09-08-2009, 06:26 AM   #1
mohanbsc
LQ Newbie
 
Registered: Sep 2009
Posts: 2

Rep: Reputation: 0
Thumbs up transprent squid configuration problem


i will configure transprant squid 2.7 STABLE 3
my configuration is [ubuntu][redhat el5]


http_port 3128 transparent


acl lan src 172.16.20.0/24
http_access allow localhost
http_access allow lan

this the my simple configuration in
eth0=192.168.150.10 this is the wan interface
router ip is the gateway of the eth0 the ip is 192.168.150.5
eth1=172.16.20.1 this is the lan gateway

this is the my transparent squid configuration .
i run the squid server i dont see any error squid is running

this is the my iptables nat configuration
iptables -t nat -A PREROUTING -i eth1 -p tcp --dport 80 -j DNAT --to 192.168.150.10:3128
iptables -t nat -A PREROUTING -i eth0 -p tcp --dport 80 -j REDIRECT --to-port 3128

and enable the net.ipv4.ip_forward=1 the forwarding


i assign the clients gateway 172.16.20.1 for eth1 ip but net is not access for client machin i dont see any error (any port forwarding rule is need or not i don't no). please help me (and add the transparent squid futures )

Last edited by mohanbsc; 09-08-2009 at 06:36 AM. Reason: i miss the few steps
 
Old 09-08-2009, 06:30 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,396

Rep: Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963
is the traffic hitting the machine at all? run tcpdump on the squid machine to see.

note that in general transparent proxying is crap, and is very seldom going to actually give you what you think it will.
 
  


Reply

Tags
squid


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
Problem with configuration of Squid server behind a squid ajitup Linux - Server 13 08-12-2009 10:55 PM
Squid: special configuration for remote Squid server hamish Linux - Software 0 12-06-2005 03:58 PM
Squid Configuration Problem ikhanr Linux - Newbie 10 04-12-2005 01:28 AM
squid configuration karan101 Linux - Networking 7 02-01-2005 03:49 AM
Squid Configuration accelicim_ho Linux - Software 2 03-26-2002 05:42 AM


All times are GMT -5. The time now is 05:24 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration