Welcome to Tech Support Forum home to more then 136,000 problems solved. Issues have included: Spyware, Malware, Virus Issues, Windows, Microsoft, Linux, Networking, Security, Hardware, and Gaming Getting your problem solved is as easy as:
1. Registering for a free account
2. Asking your question
3. Receiving an answer

Registered members:
* Get free support
* Communicate privately with other members (PM).
* Removal of this message
* See fewer ads.
* And much more..

 



Want to know how to post a question? click here Having problems with spyware and pop-ups? First Steps
Go Back   Tech Support Forum > Alternative Computing > Linux Support
User Name
Password
Site Map Register Donate Rules Blogs Mark Forums Read


Linux Support Linux - Operating Systems and Applications Support

Reply
 
LinkBack Thread Tools
Old 05-15-2008, 07:02 AM   #1 (permalink)
Registered User
 
Join Date: May 2008
Posts: 2
OS: Fedora , RHEL


Tproxy installation

hi

I wanted to install and configure Tproxy in my Linux boxes.
http://www.balabit.com/support/commu...oducts/tproxy/
Those are Fedora 6 and RHEL 5.Can some body help me to install and configure my linux boxes to get activate Tproxy for squid ?

Many thanks
Mark
foxrever is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
Important Information
Join the #1 Tech Support Forum Today - It's Totally Free!

TechSupportForum.com is a leading support website for your computer needs. We offer free, friendly and personalized computer support. Why pay to have your computer fixed when you can do it for free.

Join TechSupportforum.com Today - Click Here

Old 05-15-2008, 03:40 PM   #2 (permalink)
Registered User
 
Join Date: Aug 2004
Posts: 28
OS: Gentoo Linux, Windows XP Home SP2


Re: Tproxy installation

Hello,

I have limited experience with squid, but I can try and help you out. Please give me some more detail about the exact problem you are having. For instance have you installed squid? Can you get squid to run at all? That sort of information would be great.

Also let me try and make sure I understand your problem. Tell me if this is correct: You would like help setting up a transparent proxy using squid.

I will do my best to respond once you give me that info :)

Good luck!
Compy386 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
Old 05-16-2008, 12:48 AM   #3 (permalink)
Registered User
 
Join Date: May 2008
Posts: 2
OS: Fedora , RHEL


Re: Tproxy installation

Hi

In our LAN everyone have access to Internet via a tunnel which is connected to squid proxy. So when someone access Internet his IP goes with the X-Forward for Header.But the external party see the proxy IP.I want to make the IP of the original client specified in the X-Forwarded for header to be appear as the client IP for all the external parties.

I want to know how to how to use tpoxy to create a bridge between squid ipdables to translate the proxy IP to the IP available in X-Forwarded-For Header.

I tried to patch using cttproxy-2.6.20-2.0.6, but didn't work.In the guide it says to run the patch script in /usr/linux but there is not such directory in our OS. OS is RHEL 5 , and i never compiled the kernel form source.

Many Thanks
Foxrever
foxrever is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
Old 05-16-2008, 07:15 AM   #4 (permalink)
Registered User
 
Join Date: Aug 2004
Posts: 28
OS: Gentoo Linux, Windows XP Home SP2


Re: Tproxy installation

Hello,

After doing some more reading it seems that you must patch the kernel sources to have tproxy support built into the kernel for starters. I suspect that the guide which told you to go to /usr/linux really just wanted you to get to the kernel source. In my particular OS that happens to be located in /usr/src/linux. Also, I should note that your OS may not have the kernel source laying around. Once you have the compiled kernel there aren't too many reasons you should need all of the source code. So if you are running precompiled kernels you may not have the source

So unless RHEL has support for tproxy already compiled into their kernel sources I think you will have to download the kernel source, apply the patch, and then build the kernel yourself. How comfortable are you with building the kernel? If you have to do it completely from scratch I imagine it would take a few hours to configure it and then between 10 and 20 minutes to compile depending on how fast your machine is. If your distro has a package manager with packages for the kernel source that is mostly configured I imagine you could get through it much faster.

Also here is a guide I found (a Gentoo Linux guide, but most of it applies to what you are doing) which gives a bit more detail about what has to be patched: http://fuzzylab00net.blog.dada.net/p...-+-gentoo.html

Let me know if that helps :) I am happy to help you with the kernel configuration if that is what you need to do.

Good luck!
Compy386 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
Reply


Thread Tools

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 Off
Pingbacks are Off
Refbacks are Off




All times are GMT -7. The time now is 06:25 AM.



Copyright 2001 - 2009, Tech Support Forum
Home Tips Plus | Outdoor Basecamp | Automotive Support Forum

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 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85