On Fri, 2003-11-28 at 18:23, Greg Hennessy wrote:

> Is your perimeter gateway doing address xlation for source address you are
> using ? 

Don't take me wrong, but... of course nat is working ;)

My problem is that i don't know why when running in bridge environment
the rdr to 127.0.0.1 doesn't work anymore.

I've it working correctly if i turn on the bridge but then i've to route
the packet which i can't right now, as soon as i start the bridge the
rdr to localhost stop working... 

-em0 as ip .23 and alias .13, this is the nic that look at my lan (i
need both ip addresses cause i needs to do source routing somewhere
else)
- em1 as ip .24, this is the nic that look at the isp router
- squid listen on 127.0.0.1:3128
- rdr on em0 form any to any port 80 -> 127.0.0.1 port 3128

With this setting the bridge (composed by em0 + em1) i can see (with
tcpdump and pfctl -ss) the packet being caught and redirected but i
can't see the same packet on lo0

If i add a rdr rule on .23 port 3128 -> 127.0.0.1 port 3128 and set the
test client to use proxy .23 port 3128 all start working ... :/

Anyone can give me a clue about that !? ... Sorry if it seems stupid but
i'm getting wired (and maybe stupid) about that...

Thanks to anyone.
-- 
Thelmo

Reply via email to