I found:

rdr bge0 0.0.0.0/0 port 80 -> 0.0.0.0 port 8080

and

rdr bge0 0/0 port 80 -> ip.of.bge0 port 8080

work, but only when attempting to hit port 80 from a
different box, which is Bradley's goal.  So, when
either of the above are in place, and I'm on a
different host, I can:

telnet ip.of.bge0.host-above 80

And connect.
But if I'm on the same host itself:

telnet localhost 80
telnet ip.of.bge0 80

neither of the 2 above work.

My problem is I need to have either of the 2 work from
the box itself.  Is this not possible?


--- Jim Sandoz <[EMAIL PROTECTED]> wrote:

> 
> use the ip of bge0 in the target of your rewrite
> rule:
> 
> rdr bge0 0/0 port 80 -> ip.of.bge0.here port 8080
> 
> jim
> 
> 
> Mann, Bradley wrote:
> 
> > "You mention you are using Solaris - Don't expect
> a redirect to ever
> > make 
> > it to localhost, it doesn't work."
> > 
> >  -Does this mean that there is not a solution to
> my problem? I have only
> > two interfaces on the machine: bge0 and lo0
> (loopback). I need an
> > external machine connecting to port 80 to be
> redirected to port 8080 on
> > the machine running the webserver and ipfilter.
> 
> 


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

Reply via email to