Pls see the attached network diagram which is related to my question.
I need a way thru which the clients inside the lan can connect to pop and smtp servers (they are on internet) thru squid proxy server. Currently i m using port redirector for that purpose i have set up port 25 and 110 listenning on squid proxy. Squid proxy redirects the (internal pop and smtp requests destined for it) connections on the internet to specified servers. Now i need a way thru iptables by which i can accompalish this task traffic redirection. Squid proxy has only one interface and the clients can only access the outside world thru squid (as clients are blocked on the firewall on squid can access the internet).