LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices

Reply
 
Search this Thread
Old 03-30-2007, 02:33 AM   #1
tsaravan
Member
 
Registered: Jun 2005
Location: India
Posts: 101

Rep: Reputation: 15
setting up transparent proxy


Hi,

We have broadband connection and using through squid proxy Server in FC4. Each and every client has been configured manually pointing this proxy Server for Internet connection. We also have default gateway to acess our Head office through cisco router for erp purposes and this gateway has been configured in all clients' machine.

Given the above scenario I want to know how to configure Squid as transparent proxy server when all the clients' machine has gateway already to access HO for erp purposes.

Thanks

T. Saravana
 
Old 03-30-2007, 02:38 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,414

Rep: Reputation: 1966Reputation: 1966Reputation: 1966Reputation: 1966Reputation: 1966Reputation: 1966Reputation: 1966Reputation: 1966Reputation: 1966Reputation: 1966Reputation: 1966
it sound slike the default gateway is the cisco box and not the linux server? if that's the way things are goign to stay, then you'd need to explore wccp on the cisco router, not often found on the lower end routers and basic ios versions... otherwise you need to put the server as the default gateway, or at least naturally between the path of the internet and the clients. then it's just a case of following standard practises to make iptables redirect port 80 and 443 internally to it;s copy of squid. just google for "squid iptables transparent" and i'm sure you'll find the rules you need.
 
Old 03-30-2007, 02:44 AM   #3
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,414

Rep: Reputation: 1966Reputation: 1966Reputation: 1966Reputation: 1966Reputation: 1966Reputation: 1966Reputation: 1966Reputation: 1966Reputation: 1966Reputation: 1966Reputation: 1966
http://www.visolve.com/squid/whitepa...ns_caching.php
 
Old 03-30-2007, 07:22 AM   #4
tsaravan
Member
 
Registered: Jun 2005
Location: India
Posts: 101

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by acid_kewpie

Hi,

Thank you for your reply.

I was exploring through Internet for the solution specific to my scenario, but i could gather that I may need to configure the bridge in my linux machine. In this regard, i am not clear whether it will work for me under the following situation.

etho - has the broadband connection with static public IP using ppp0

eth1 - our private network with multiple IP addresses
cisco router 2503 - as gateway to connect hour HO for erp access

If your any idea please share with me.

regards,

T. Saravana
 
Old 03-30-2007, 07:44 AM   #5
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,414

Rep: Reputation: 1966Reputation: 1966Reputation: 1966Reputation: 1966Reputation: 1966Reputation: 1966Reputation: 1966Reputation: 1966Reputation: 1966Reputation: 1966Reputation: 1966
ok, not clear ata ll what the topology is there. eth0 is ppp0 ?? maybe a little ascii diagran in [code] tags??

Code:
switch ---- router ---- internet
for example
 
  


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
transparent proxy lqchangba Linux - Server 1 02-27-2007 10:25 AM
transparent proxy tsaravan Linux - Networking 10 02-06-2006 12:49 AM
transparent proxy mattsthe2 Linux - Networking 9 10-26-2005 08:44 AM
Transparent Proxy krock923 Linux - Networking 1 04-28-2005 06:43 PM
Transparent Proxy vinhhv Linux - Networking 0 07-23-2003 01:01 AM


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

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