Re: Newbie Network/PF Question

2011-01-07 Thread Mike.
On 1/6/2011 at 10:40 AM Mike. wrote: |On 1/5/2011 at 2:56 PM Axton wrote: | ||On Wed, Jan 5, 2011 at 10:14 AM, Mike. wrote: || ||> On 1/4/2011 at 10:57 PM Josh Smith wrote: ||> ||> | ||> |pass in on $int_if0 # pass all incomming traffic on our internal ||> interface ||> |pass in on $int_if1 # pas

Re: Newbie Network/PF Question

2011-01-06 Thread Mike.
On 1/5/2011 at 2:56 PM Axton wrote: |On Wed, Jan 5, 2011 at 10:14 AM, Mike. wrote: | |> On 1/4/2011 at 10:57 PM Josh Smith wrote: |> |> | |> |pass in on $int_if0 # pass all incomming traffic on our internal |> interface |> |pass in on $int_if1 # pass all incomming traffic on our internal |> inter

Re: Newbie Network/PF Question

2011-01-06 Thread David Walker
While we're piling on ... I have three interfaces, vr0 is my internet (pppoe), vr1 and vr2 are my internal networks. This gives me a good mental picture ... # packet filtering block all # pppoe0:network pass out on pppoe0 inet from (pppoe0) to any pass out on pppoe0 inet from vr1:network nat-t

Re: Newbie Network/PF Question

2011-01-05 Thread Axton
On Wed, Jan 5, 2011 at 10:14 AM, Mike. wrote: > On 1/4/2011 at 10:57 PM Josh Smith wrote: > > | > |pass in on $int_if0 # pass all incomming traffic on our internal > interface > |pass in on $int_if1 # pass all incomming traffic on our internal > interface from the test network > = >

Re: Newbie Network/PF Question

2011-01-05 Thread Mike.
On 1/4/2011 at 10:57 PM Josh Smith wrote: | |pass in on $int_if0 # pass all incomming traffic on our internal interface |pass in on $int_if1 # pass all incomming traffic on our internal interface from the test network = I have two internal subnetworks, one for standard frames and

Re: Newbie Network/PF Question

2011-01-05 Thread Remco
Josh Smith wrote: > I have been running OpenBSD as my home "router" for a couple of years > now and everything has worked well thus far. However this evening I > added a second network interface to my router because I would like to > add some hosts for testing on a separate network segment and am

Re: Newbie Network/PF Question

2011-01-04 Thread Teemu Rinta-aho
Hi Josh, I guess the problem is that everything matches your NAT rules. Try adding something like this before the match rules for nat: pass in quick on $int_if0 from 10.66.66.0/24 to 10.66.67.0/24 pass out quick on $int_if0 from 10.66.67.0/24 to 10.66.66.0/24 pass in quick on $int_if1 from 10.

Re: Newbie Network/PF Question

2011-01-04 Thread Josh Smith
Joshua, I would like the two networks to be able to talk directly to each other using plain old routing, however I would like to be able to filter this traffic using PF in the future if I choose to, but the only traffic that should be natted is from either of these networks out to the internet. Th

Newbie Network/PF Question

2011-01-04 Thread Josh Smith
I have been running OpenBSD as my home "router" for a couple of years now and everything has worked well thus far. However this evening I added a second network interface to my router because I would like to add some hosts for testing on a separate network segment and am running into some difficul