On 2006-12-21T16:06, Dominik Zalewski wrote:
> On Thursday 21 December 2006 15:59, Marcus Popp wrote:
> > On 2006-12-21T15:29, Dominik Zalewski wrote:
> > > On Thursday 21 December 2006 15:04, Peter N. M. Hansteen wrote:
> > > > Dominik Zalewski <[EMAIL PROTECTED]> writes:
> > > > > I have OpenBSD 4.0 firewall and I would like to redirect all outgoing
> > > > > http requests to my squid web proxy.
> > > >
> > > > Daniel Hartmeier wrote about this a while back, his article can be
> > > > found at http://www.benzedrine.cx/transquid.html
> > >
> > > In this article squid is running on the same machine as OpenBSD firewall.
> > > In my case I have squid running on different machine connected to LAN
> > > interface. My question is can redirect traffic on $int_if to another
> > > machine connected to the same interface? Does this rule is corrrect ?
> > >
> > > rdr pass on $int_if proto tcp from any to any port 80 -> $squid port 8080
> >
> > hehe, you must exlude the squid!
> >
> > hth,
> >
> > Marcus.
> 
> exclude the squid ? squid is connected to $int_inf thru fast ethernet switch

I forgot one thing: don't crosspost!
try:
rdr pass on $int_if proto tcp from ! $squid to any port 80 -> $squid port 8080

so long,

Marcus.

--
endless loop: see loop, endless
loop, endless: see endless loop

Reply via email to