LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   How to transparent proxy (https://www.linuxquestions.org/questions/linux-software-2/how-to-transparent-proxy-372916/)

depam 10-14-2005 03:33 AM

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.

SkyEye 10-14-2005 04:24 AM

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

depam 10-14-2005 04:42 AM

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.

jamie_barrow 12-30-2005 12:33 PM

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.


All times are GMT -5. The time now is 01:26 PM.