Re: Gateway setup

2008-11-09 Thread Stuart Henderson
On 2008-11-08, Alfredo Perez <[EMAIL PROTECTED]> wrote: > Hi > > I have the following configuration > > router/firewall <--- OPENBSD BOX <- Wireless switch > > Openbsd box has two NICs > > rl0 connects OPENBSD BOX to router/firewall > dc0 connects Wireless swith to OPENBSD BOX > > nat.conf

Re: Gateway setup

2008-11-08 Thread johan beisser
On Nov 8, 2008, at 4:21 PM, Alfredo Perez wrote: On Sat, Nov 08, 2008 at 04:00:23PM -0800, johan beisser wrote: On Nov 8, 2008, at 3:34 PM, Alfredo Perez wrote: Hi I have the following configuration router/firewall <--- OPENBSD BOX <- Wireless switch I'm confused. Why isn't the O

Re: Gateway setup

2008-11-08 Thread johan beisser
On Nov 8, 2008, at 3:34 PM, Alfredo Perez wrote: Hi I have the following configuration router/firewall <--- OPENBSD BOX <- Wireless switch I'm confused. Why isn't the OpenBSD box the router/firewall? nat.conf shows nat on rl0 from dc0/24 to any -> rl0 nat.conf? Do you mean pf.con

Gateway setup

2008-11-08 Thread Alfredo Perez
Hi I have the following configuration router/firewall <--- OPENBSD BOX <- Wireless switch Openbsd box has two NICs rl0 connects OPENBSD BOX to router/firewall dc0 connects Wireless swith to OPENBSD BOX nat.conf shows nat on rl0 from dc0/24 to any -> rl0 sysctl.conf shows: net.inet.ip