Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Software
User Name
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.


  Search this Thread
Old 10-14-2005, 03:33 AM   #1
Registered: Sep 2005
Posts: 855

Rep: Reputation: 30
How to transparent proxy

Is there a transparent proxy daemon? In which i don't have to input proxy hostname and port in the webrowser. I am using Wingate before in Windows and it does everything for me. However, i tried squid but you have to configure the browser for it to connect. The problem is, I want my mails to work also but the squid is not allowing pop and smtp connection. Please help me.
Old 10-14-2005, 04:24 AM   #2
Registered: Sep 2005
Location: Sri Lanka
Distribution: Fedora (workstations), CentOS (servers), Arch, Mint, Ubuntu, and a few more.
Posts: 441

Rep: Reputation: 40
I've heard about such daemons, but right now I don't remember any. Why not try to use Squid+Netfilter/IPTables work as a transparent proxy.

Here's a mini-HOWTO on Transparent Proxy with Squid
Old 10-14-2005, 04:42 AM   #3
Registered: Sep 2005
Posts: 855

Original Poster
Rep: Reputation: 30
I've tried typing the

iptables -t nat -A PREROUTING -i eth0 -p tcp --dport 80 -j REDIRECT --to-port 3128

but nothing happened.

I tried everything but still ain't working. I tried restarting the squid and the iptables. Should i save this to /etc/rc.d?

Please help me.
Old 12-30-2005, 12:33 PM   #4
Registered: Jul 2003
Location: Gauteng, South Africa
Distribution: Windows XP, yup :D Will be back onto Ubuntu probably someday
Posts: 107

Rep: Reputation: 15
HTTP, POP and SMTP are on different port numbers. HTTP is port 80, so the proxy is working for HTTP. You need to add more lines for the POP and SMTP ports (POP3-110, SMTP-25). For a list of port numbers see the /etc/services file.


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 mattsthe2 Linux - Networking 9 10-26-2005 08:44 AM
Transparent Proxy krock923 Linux - Networking 1 04-28-2005 06:43 PM
Apache Transparent Proxy ? ivanp Linux - Networking 0 04-22-2005 05:11 AM
Transparent Proxy ilnli Linux - Networking 3 10-18-2004 06:01 PM
Transparent Proxy vinhhv Linux - Networking 0 07-23-2003 01:01 AM > Forums > Linux Forums > Linux - Software

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

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration