Muhammad Yousuf Khan a écrit :
> 
> did you mean this.
> 
> 1, PAT all the traffice  by iptables

Not PAT, NAT. And specifically source NAT (SNAT or MASQUERADE).

> 2. Block everything
> 3, accept only specific traffice
> 4, on port 80 Squid will be acting as a proxy.

Yes.

> if it is what you mean , can you please give me just few liner script
> in which i will PAT all the traffic and then i block every thing and
> accept only particular one, like  port 110, 25,  80 and etc.

I already did in my first reply to this thread.


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/4f8b1b14.8050...@plouf.fr.eu.org

Reply via email to