Re: OpenBSD 3.2, NAT PF - Strange Error.

2003-03-31 Thread Daniel Hartmeier
On Mon, Mar 31, 2003 at 03:20:16PM -0700, Richard Gutery wrote:

   stuff here... then - translation adress expands to multiple IPs of
 this address family (more...)

 The bizarre part (at least for me at this point) is that I've done this with
 2.7, 2.9 and 3.0 - no harm, no fowl.

Prior versions silently picked one of the aliases more or less
arbitrarily, while the new version requires you to decide which alias
to use. Change your rule to

  nat on ne3 inet from x.x.x.0/24 to any - y.y.y.250

so it's clear which address should be used.

Daniel



RE: OpenBSD 3.2, NAT PF - Strange Error.

2003-03-31 Thread Richard Gutery
Title: RE: OpenBSD 3.2, NAT  PF - Strange Error.





Thanks Daniel, that fixed it up real goot.


I suppose that I could NAT all the addresses, but that's for a later date.


Richard






---BeginMessage---
Title: Re: OpenBSD 3.2, NAT  PF - Strange Error.





On Mon, Mar 31, 2003 at 03:20:16PM -0700, Richard Gutery wrote:


  stuff here... then - translation adress expands to multiple IPs of
 this address family (more...)


 The bizarre part (at least for me at this point) is that I've done this with
 2.7, 2.9 and 3.0 - no harm, no fowl.


Prior versions silently picked one of the aliases more or less
arbitrarily, while the new version requires you to decide which alias
to use. Change your rule to


 nat on ne3 inet from x.x.x.0/24 to any - y.y.y.250


so it's clear which address should be used.


Daniel



---End Message---


Richard Gutery.vcf
Description: Binary data