LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 09-03-2004, 02:50 PM   #1
acompw
LQ Newbie
 
Registered: Aug 2004
Distribution: Shrike & Tettnang
Posts: 18

Rep: Reputation: 0
Redhat9 Transparent Proxy Configuration


I am trying to setup a transparent proxy on a redhat 9 based system. I am able to follow all the steps in this tutorial -- http://www.faqs.org/docs/Linux-mini/...rentProxy.html -- except for the kernal configuration section. Do I have to make any adjustments to the Redhat 9 kernal 2.4.20-8 (installation default). If so, what commands need to be entered before or after I enter ``echo '1' > /proc/sys/net/ipv4/ip_forward''

Thanks,

Ben
 
Old 09-03-2004, 04:21 PM   #2
hob
Senior Member
 
Registered: Mar 2004
Location: Wales, UK
Distribution: Debian, Ubuntu
Posts: 1,075

Rep: Reputation: 45
I don't think that you need to recompile the kernel, just enable the routing features via /proc or some other means.

The most painless way I've found of setting up a NAT and firewall system is the 'shorewall' package. Webmin includes a Web-based configuration page for Shorewall.

The (rather good) Shorewall docs cover transparent proxying with Squid, and are worth a look even if you decide not to use the software.

http://www.shorewall.net/

They also explain the major drawback of transparent proxying - no SSL for the clients. I now use standard proxying for this reason.

Last edited by hob; 09-03-2004 at 04:23 PM.
 
Old 09-03-2004, 04:28 PM   #3
zatriz
Member
 
Registered: Aug 2003
Location: Seattle, Wa
Distribution: Fedora,Trustix,Debian
Posts: 290

Rep: Reputation: 30
check out this link in combination of the two it should work fine.
you dont need to recompile your kernel a stock redhat kernel has all that you need.
From this point you need to configure the squid.conf file.
read the page that you posted and this one too.
http://squid.visolve.com/squid/sqguide.htm

the following command should setup the transparency
iptables -t nat -A PREROUTING -i eth0 -p tcp --dport 80 -j REDIRECT --to-port 3128


Last edited by zatriz; 09-03-2004 at 04:33 PM.
 
  


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
How to transparent proxy depam Linux - Software 3 12-30-2005 12:33 PM
Transparent Proxy Configuration rana28 Linux - Networking 2 01-19-2005 12:48 PM
Client Configuration for Transparent proxy adham1sa Linux - Networking 2 12-28-2004 11:54 PM
Transparent Proxy ilnli Linux - Networking 3 10-18-2004 06:01 PM
Transparent Proxy vinhhv Linux - Networking 0 07-23-2003 01:01 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

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

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