Re: Most barebones pf.conf

2010-08-06 Thread Peter Merritt
: Robert; misc@openbsd.org Subject: Re: Most barebones pf.conf On 2010 Aug 05 (Thu) at 10:42:21 +1000 (+1000), Olivier Mehani wrote: :=== pf.conf === :match out on egress from (ingress:network) to any nat-to (egress) :pass all :== You can simplify this even more: pass out from !(egress) nat

Re: Most barebones pf.conf

2010-08-05 Thread Peter Hessler
On 2010 Aug 05 (Thu) at 10:42:21 +1000 (+1000), Olivier Mehani wrote: :=== pf.conf === :match out on egress from (ingress:network) to any nat-to (egress) :pass all :== You can simplify this even more: pass out from !(egress) nat-to (egress:0) the 'egress' group is added to any interface

Most barebones pf.conf

2010-08-04 Thread Peter Merritt
What would be the most barebones pf.conf for a OpenBSD 4.7 nat firewall with 2 nics, that passes everything. Peter

Re: Most barebones pf.conf

2010-08-04 Thread Johan Beisser
pass all On Wed, Aug 4, 2010 at 3:32 PM, Peter Merritt pwmerr...@weirdwater.org wrote: What would be the most barebones pf.conf for a OpenBSD 4.7 nat firewall with 2 nics, that passes everything. Peter

Re: Most barebones pf.conf

2010-08-04 Thread Chris Cappuccio
be the most barebones pf.conf for a OpenBSD 4.7 nat firewall with 2 nics, that passes everything. Peter -- I know nothing except the fact of my ignorance -Socrates

Re: Most barebones pf.conf

2010-08-04 Thread Robert
On Wed, 4 Aug 2010 15:32:39 -0700 Peter Merritt pwmerr...@weirdwater.org wrote: What would be the most barebones pf.conf for a OpenBSD 4.7 nat firewall with 2 nics, that passes everything. ext_if=em0 table int_net const persist {10.10.1.0/24} match out on $ext_if from int_net to any nat

Re: Most barebones pf.conf

2010-08-04 Thread Olivier Mehani
On Thu, Aug 05, 2010 at 02:17:35AM +0200, Robert wrote: What would be the most barebones pf.conf for a OpenBSD 4.7 nat firewall with 2 nics, that passes everything. ext_if=em0 table int_net const persist {10.10.1.0/24} match out on $ext_if from int_net to any nat-to ($ext_if) pass all