Re: [squid-users] pf rdr to localhost-ip or just port...

From: Amos Jeffries <squid3_at_treenet.co.nz>
Date: Tue, 08 Mar 2011 20:10:36 +1300

On 08/03/11 19:30, jiluspo wrote:
> with 127.0.0.1 might require tuning with net.local.stream.* and would
> consume more memory if set high.
> so far i've noticed with 127.0.0.1 browsing seems like faster than the
> other, but im not sure what I've missed.

Not surptrising. The localhost interface is internal to the kernel. It
usually has a much larger MTU than any public NIC (speed!). As well as
fewer firewall rules on it to slow down the big packets. :)

>
> rdr on em1 inet proto tcp from any to ! (em1) port = http -> 127.0.0.1
> port 3128
> or
> rdr on em1 inet proto tcp from any to ! (em1) port = http -> $em1ip port
> 3128
>
> but which one is better in terms of memory consumption.
>

Amos

-- 
Please be using
   Current Stable Squid 2.7.STABLE9 or 3.1.11
   Beta testers wanted for 3.2.0.5
Received on Tue Mar 08 2011 - 07:10:44 MST

This archive was generated by hypermail 2.2.0 : Tue Mar 08 2011 - 12:00:01 MST