LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
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 02-09-2013, 03:52 AM   #1
dr.x
Member
 
Registered: Jan 2013
Posts: 231

Rep: Reputation: Disabled
how to enable tproxy mode in squid ??


hi ,
i have squid 2.6 stable with centos 5.8
i want to use tproxy mode sothat the clinets go out with thier ips not the ip of the squid server ??

any help ???

another question , does debian 6.0.6 kernel support the tproxy mode without compiling squid ???


regards
 
Old 02-09-2013, 08:59 AM   #2
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,636

Rep: Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965
Quote:
Originally Posted by dr.x View Post
hi ,
i have squid 2.6 stable with centos 5.8
i want to use tproxy mode sothat the clinets go out with thier ips not the ip of the squid server ??
any help ???

another question , does debian 6.0.6 kernel support the tproxy mode without compiling squid ???
Did you try to look this up?? Putting in "how to enable transparent proxy in squid on debian" pulls up about 69,000 pages...like these:
http://www.cyberciti.biz/faq/squidgu...lock-websites/
http://wiki.squid-cache.org/Features/Tproxy4
http://www.debian-administration.org/?article=71

Did you read or try ANYTHING yet??
 
Old 02-09-2013, 10:10 AM   #3
dr.x
Member
 
Registered: Jan 2013
Posts: 231

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by TB0ne View Post
Did you try to look this up?? Putting in "how to enable transparent proxy in squid on debian" pulls up about 69,000 pages...like these:
http://www.cyberciti.biz/faq/squidgu...lock-websites/
http://wiki.squid-cache.org/Features/Tproxy4
http://www.debian-administration.org/?article=71

Did you read or try ANYTHING yet??
hi ,
thanks very much .
my squid is working ok with transparent and squid guard .
but my request is ,
how to enable " transparent tproxy mode "
which will allow users go access internet with thier ips not the ip of the squid server .
this is just my question .
again ,
does debian 6.0.6 or any other type of debian or ubuntu support transparent tproxy mode without modifying the kernel of the operation system ???

with my best regards
 
Old 02-09-2013, 01:46 PM   #4
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,636

Rep: Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965
Quote:
Originally Posted by dr.x View Post
hi ,
thanks very much .
my squid is working ok with transparent and squid guard. but my request is, how to enable "transparent tproxy mode" which will allow users go access internet with thier ips not the ip of the squid server. this is just my question.
Right..and it was answered. Re-read my first reply, and read link #2; from the Squid wiki:
http://wiki.squid-cache.org/Features..._Configuration
...which tells you what you need to do to configure it. Follow the steps.
Quote:
again, does debian 6.0.6 or any other type of debian or ubuntu support transparent tproxy mode without modifying the kernel of the operation system ???
Since one of the steps is compiling a kernel with certain parameters, that tells you the answer is "no".
 
Old 02-09-2013, 01:52 PM   #5
dr.x
Member
 
Registered: Jan 2013
Posts: 231

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by TB0ne View Post
Right..and it was answered. Re-read my first reply, and read link #2; from the Squid wiki:
http://wiki.squid-cache.org/Features..._Configuration
...which tells you what you need to do to configure it. Follow the steps.

Since one of the steps is compiling a kernel with certain parameters, that tells you the answer is "no".
hi ,
thanks very much for explanation .
i would like to tell you that i followed steps relative to centos so that it support tproxy .
but now i want to know how the quid will be compiled ,
i mean do i need to compile it after i had modified kernel with tproxy ?
or it is sufficeint to use
yum install squid , and it will work with tproxy ?


regards
 
Old 02-09-2013, 01:54 PM   #6
dr.x
Member
 
Registered: Jan 2013
Posts: 231

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by dr.x View Post
hi ,
thanks very much for explanation .
i would like to tell you that i followed steps relative to centos so that it support tproxy .
but now i want to know how the quid will be compiled ,
i mean do i need to compile it after i had modified kernel with tproxy ?
or it is sufficeint to use
yum install squid , and it will work with tproxy ?


regards
plz have a look here about modifying the kernel
http://mattiasgeniar.be/2010/09/01/c...proxy-support/

regards
 
Old 02-09-2013, 07:09 PM   #7
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,636

Rep: Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965
Quote:
Originally Posted by dr.x View Post
hi ,
thanks very much for explanation. i would like to tell you that i followed steps relative to centos so that it support tproxy.
If you already followed the steps for CentOS, why are you asking about Debian?
Quote:
but now i want to know how the quid will be compiled, i mean do i need to compile it after i had modified kernel with tproxy? or it is sufficeint to use yum install squid , and it will work with tproxy ?
Again, you need to READ the link. It has a section that TELLS YOU about how to configure Squid, and what options to compile it with. Again, since the instructions tell you to compile with those options, you need to do it. You can TRY to check the package itself, to see if the packager tells you what options it was built with, though.
Quote:
Originally Posted by dr.x
plz have a look here about modifying the kernel
http://mattiasgeniar.be/2010/09/01/c...proxy-support/
Spell out your words, please. And thanks, but it tells you essentially the same thing the first link said, except the link you posted is three years old at this point.

Again, if you want it to work, FOLLOW THE INSTRUCTIONS. And you have mentioned Debian, but are now following the directions for CentOS...which is it?
 
  


Reply



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
Tproxy squid issues fahadabdillahi Linux - Server 0 12-17-2010 10:19 AM
how to recompile squid to enable -enable-storeio=coss ejinh Fedora 2 08-11-2010 04:15 AM
Squid, TPROXY and SquidGuard toure32 Linux - Server 3 08-09-2010 09:47 AM
tproxy help zmunawar1 Linux - Server 0 07-11-2008 03:55 PM
canīt enable DMA-Mode why? Odan Linux - General 11 10-22-2003 06:45 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 02:39 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
Open Source Consulting | Domain Registration