From: Brian O'Donoghue (Brian.ODonoghue at domain kbs.ie)
Date: Mon 24 Jun 2002 - 11:41:50 IST
The other fella is quite right I think you need nat.. the previous will
simply enable the ports.
NAT is your puppy here
Something like
iptables -A INPUT -s ! 10.0.0.0/24 -p tcp --dport 25 -m state --state
ESTABLISHED -j ACCEPT
iptables -A INPUT -s 10.0.0.0/24 -p tcp --dport 25 -m state --state
NEW,ESTABLISHED -j ACCEPT
iptables -t nat -A POSTROUTING -s 10.0.0.0/24 -d ! 10.0.0.0/24 -j MASQUERADE
iptables -t nat -A POSTROUTING 10.0.0.0/24 -d 10.0.0.0/24 j ACCEPT
iptables -A INPUT -p tcp -s ! 10.0.0.0/24 -m state --state NEW -j LOG
iptables -A INPUT -p tcp -s ! 10.0.0.0/24 -m state --state NEW -j DROP
Add ports as needed and the above should suffice for nat and firewalling I
think you may find
-----Original Message-----
From: hrishy [mailto:hrishys at domain yahoo.co.uk]
Sent: 24 June 2002 11:35
To: Brian O'Donoghue; 'ilug at domain linux.ie'
Subject: RE: [ILUG] squid and popmail
Hi Brian
But what about the protocol part ?coz pop is not http
request isnt it ?
regards
Hrishy
--- Brian O'Donoghue <Brian.ODonoghue at domain kbs.ie> wrote: >
Hmm in /usr/local/squid/etc/squid.conf
>
> find where your acl is defined and add the pertinant
> ports..
> something like
>
> acl Safe_ports port 25
> acl Safe_ports port 110
>
>
> -----Original Message-----
> From: hrishy [mailto:hrishys at domain yahoo.co.uk]
> Sent: 24 June 2002 11:11
> To: ILUG
> Subject: [ILUG] squid and popmail
>
>
> Hi
>
> I have windows clients using outlook configured to
> acesses popmail.Could anybody tell me how do i make
> cahnges to my squid configuration so that outlook
> can
> fetch popmail by going through the squid proxy.
>
> regards
> Hrishy
>
> __________________________________________________
> Do You Yahoo!?
> Everything you'll ever need on one web page
> from News and Sport to Email and Music Charts
> http://uk.my.yahoo.com
>
> --
> Irish Linux Users' Group: ilug at domain linux.ie
> http://www.linux.ie/mailman/listinfo/ilug for
> (un)subscription information.
> List maintainer: listmaster at domain linux.ie
>
> --
> Irish Linux Users' Group: ilug at domain linux.ie
> http://www.linux.ie/mailman/listinfo/ilug for
> (un)subscription information.
> List maintainer: listmaster at domain linux.ie
__________________________________________________
Do You Yahoo!?
Everything you'll ever need on one web page
from News and Sport to Email and Music Charts
http://uk.my.yahoo.com
This archive was generated by hypermail 2.1.6 : Thu 06 Feb 2003 - 13:17:27 GMT