Re: [squid-users] squid and outlook express problem

From: Muthukumar <kmuthu_gct@dont-contact.us>
Date: Fri, 30 Jul 2004 16:20:22 +0530

> My configuration:
>
> eth0: 192.168.1.97 (My Public IP)
> eth1: 192.168.5.1 (My Lan IP)
>
> I have declared 25 and 110 as the safe ports also but still :((
>
> Based on therad i saw at linux solve, I tried to do
>
> /sbin/iptables -t nat -A POSTROUTING -o eth1 -s 192.168.0.0/24 -j MASQUERADE

Your iptables setting is making the problem here. If you are using MASQUERADE with POSTROUTING chains on nat table you have to
specify the --to-ports option.

Set your ip-tables as,

# POP Requests
/sbin/iptables -t nat -A POSTROUTING -o eth1 -p tcp -dport smtp -s 192.168.0.0/24 -j MASQUERADE

# SMTP Requests
/sbin/iptables -t nat -A POSTROUTING -o eth1 -p tcp -dport 110 -s 192.168.0.0/24 -j MASQUERADE

Check /etc/services file as,
smtp 25/tcp # Simple Mail Transfer Protocol
pop3 110/tcp pop-3 # Post Office Protocol - Version 3

See more here at, http://squid.visolve.com/squid/trans_caching.htm and iptables manpage (MASQUERADE part)

> But this also having no effect.
>
> plz guide me to make my pop3 and smtp connections as transparent.
>
> I am attaching my squid.conf file with the mail.

No attachment of squid.conf file with this mail :)

Regads
Muthu

---
===============  It is a "Virus Free Mail" ===============
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.732 / Virus Database: 486 - Release Date: 7/29/2004
Received on Fri Jul 30 2004 - 11:56:21 MDT

This archive was generated by hypermail pre-2.1.9 : Sun Aug 01 2004 - 12:00:03 MDT