--- Wade <[EMAIL PROTECTED]> wrote:
> I figured I'll see if someone can help me out with
> my network.
> At the moment my setup looks like this.
> 
> cable modem -> hub ( 3 ips  from cox) ->
>  1st IP goes to 1st server
>  2nd IP goes to 2nd server
>  3rd IP goes to linksys router/home lan
> 
> What I'm looking to do is replace the hub with a
> openbsd box.

While I like OpenBSD a lot, I think you can do the
same thing with Linux. But, let's answer your
question...

> I have obsd setup, but I'm having trouble
> configuring the box.

Yup. OpenBSD is not newbie friendly, and the OpenBSD
developers like it that way. ;)

> The box has two nics in it.
> rl0=internet
> xl0=lan
> 
> I have setup 3 aliases( 3 ip's from cox) for rl0
> Do I also need to add routes for each external ip to
> the lan ip or can I 
> just use pf/nat to do this?

I would try to use pf, though I'm not exactly sure how
to redirect all port traffic going to an external IP
to an internal IP. I know that rdr (redirect) can be
used to redirect specific port traffic:
rdr on tl0 proto tcp from 27.146.49.0/24 to any port
80 -> \
   192.168.1.20

Try looking through the PF User's Guide in the section
on rdr:
http://www.openbsd.org/faq/pf/rdr.html#filter

Anybody else know how to solve this problem?

John


                
__________________________________
Do you Yahoo!?
Read only the mail you want - Yahoo! Mail SpamGuard.
http://promotions.yahoo.com/new_mail 

Reply via email to