Re: Using OpenBSD as a router

2010-12-01 Thread Ross Cameron
om: owner-m...@openbsd.org [mailto:owner-m...@openbsd.org] On Behalf Of > Geoff Sweet > Sent: Wednesday, December 01, 2010 3:48 PM > To: misc@openbsd.org > Subject: Re: Using OpenBSD as a router > > Oops, sorry I did mean to copy and paste that information in here as well, > > Bge0 is

Re: Using OpenBSD as a router

2010-12-01 Thread Geoff Sweet
Sent: Wednesday, December 01, 2010 3:48 PM To: misc@openbsd.org Subject: Re: Using OpenBSD as a router Oops, sorry I did mean to copy and paste that information in here as well, Bge0 is using a private static IP during testing of this of 192.168.16.223 Subnet1 : 66.150.173.0/26 Subnet2 : 66.150.7

Re: Using OpenBSD as a router

2010-12-01 Thread Geoff Sweet
0x7 inet 66.150.173.62 netmask 0xffc0 broadcast 66.150.173.63 -Original Message- From: Ted Unangst [mailto:ted.unan...@gmail.com] Sent: Wednesday, December 01, 2010 2:52 PM To: Geoff Sweet Cc: misc@openbsd.org Subject: Re: Using OpenBSD as a router On Wed, Dec 1, 2010 at 5:41

Re: Using OpenBSD as a router

2010-12-01 Thread Ted Unangst
On Wed, Dec 1, 2010 at 5:41 PM, Geoff Sweet wrote: > I have been googling this issue today and I am finding that I don't quite know > enough about what I am doing, and that the terms I am searching for are not > returning the results I want. > > I have need of using

Using OpenBSD as a router

2010-12-01 Thread Geoff Sweet
I have been googling this issue today and I am finding that I don't quite know enough about what I am doing, and that the terms I am searching for are not returning the results I want. I have need of using OpenBSD as a router temporarily. I have four interfaces. bge0 - my primary interface

Re: Troubles using OpenBSD as a router (nat) for my lan

2007-02-09 Thread Per Christian Bechstrøm Viken
On 2/9/07, Jochen Fabricius <[EMAIL PROTECTED]> wrote: > my current pf.conf: > ext_if="pppoe0" > int_if="dc0" > localnet=$int_if:network > > nat on $ext_if from $localnet to any -> ($ext_if) > block all > pass from { lo0, $localnet } to any keep state > I think there must be another

Re: Troubles using OpenBSD as a router (nat) for my lan

2007-02-09 Thread Jochen Fabricius
> my current pf.conf: > ext_if="pppoe0" > int_if="dc0" > localnet=$int_if:network > > nat on $ext_if from $localnet to any -> ($ext_if) > block all > pass from { lo0, $localnet } to any keep state > I think there must be another line: pass out on $ext_if all Because "nat" processes

Re: Troubles using OpenBSD as a router (nat) for my lan

2007-02-09 Thread Stuart Henderson
On 2007/02/09 22:10, Per Christian Bechstrxm Viken wrote: > The problem is, that only about 50% of things work. Sites like > slashdot.org and google.com works, while vg.no (norwegian newspaper), > msn messenger and CS: Source (Steam) does not. > > Obviously, this is not an acceptable situation, an

Troubles using OpenBSD as a router (nat) for my lan

2007-02-09 Thread Per Christian Bechstrøm Viken
I've been considering switching my Linux+iptables-based router with one running OpenBSD and pf for a while now. And a recent hardware failure gave me a good opportunity to do so. After looking (http://www.bgnett.no/~peter/pf/en/ and http://www.openbsd.org/faq/pf/ mostly), I've managed to get conn