[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: rdr help.



Your browser is most likely going to local machine. Login to a shell
account somewhere and use lynx.

Are you testing your ipnat rules the same way?

This ipnat config for forwarding to my secondary web server:

rdr fxp0 fxp0/32 port 2080 -> 192.168.0.2 port www

Of course, it doesn't work if I try going to it from my OpenBSD machine
because the network request is coming in on the interal interface, rather
than the external interface.

-nulld


On Tue, 10 Jul 2001, Moe wrote:

> Ok, I have tcpdump listening on my external NIC,
> I type my ip # into the netscape browser and I dont
> see any traffic info on tcpdump window. What does this
> mean?  I tried typing my ip#:80 and http://ip# and
> nothing.
>
> thanks for the help.
> Moe
> --- Cedric Berger <cedric@wireless-networks.com>
> wrote:
> > Moe wrote:
> >
> > > hi guys,
> > >
> > >   I have a question regarding rdr in my
> > ipnat.rules
> > > file.
> > >
> > > Heres what I have:
> > > rdr dc1 x.x.x.x/32 port 80 -> 192.168.0.5 port 80
> > > map dc1 192.168.0.0/24 -> x.x.x.x/32 portmap
> > tcp/udp
> > > 1025:65000
> > > map dc1 192.168.0.0/24 -> x.x.x.x/32
> > >
> > > dc1 is my ext_if to the net
> > > 192.168.0.5 is my internal ip #.
> > >
> > > Its being forwarded to a redhat webserver running
> > > apache.  I know that my webserver is running
> > > internally but can't make the connection from
> > outside.
> >
> > Is it a "networking" issue or a "authorization"
> > issue?
> > Does your webserver config allow connection from
> > outside?
> > (with or without the RDR stuff?)
> >
> > Otherwise, if the webserver config is OK, a few
> > tcpdump
> > would be helpful.
> >
> > Cedric
> Get personalized email addresses from Yahoo! Mail
> http://personal.mail.yahoo.com/