LinuxQuestions.org
Review your favorite Linux distribution.
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 10-14-2005, 03:33 AM   #1
depam
Member
 
Registered: Sep 2005
Posts: 861

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
SkyEye
Member
 
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
depam
Member
 
Registered: Sep 2005
Posts: 861

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
jamie_barrow
Member
 
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.
 
  


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 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

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

All times are GMT -5. The time now is 08:46 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