Re: Squid as default gateway in proxy mode.
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.
Reply to: