From owner-freebsd-bugs@FreeBSD.ORG Wed Oct 18 15:20:49 2006 Return-Path: X-Original-To: freebsd-bugs@freebsd.org Delivered-To: freebsd-bugs@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8EAE816A407 for ; Wed, 18 Oct 2006 15:20:49 +0000 (UTC) (envelope-from js.lists@gmail.com) Received: from nf-out-0910.google.com (nf-out-0910.google.com [64.233.182.185]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4162243D5F for ; Wed, 18 Oct 2006 15:20:48 +0000 (GMT) (envelope-from js.lists@gmail.com) Received: by nf-out-0910.google.com with SMTP id p77so703419nfc for ; Wed, 18 Oct 2006 08:20:47 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:user-agent:mime-version:to:cc:subject:references:in-reply-to:content-type:content-transfer-encoding; b=l6y8Ce/Sr4cpkAqfyQZpPHfK1IypjAOAnG8BL70rNYiW/QeE3Prnyllt9bmWz783uTCLw5i7GIqrd8aKvkWYdwJVUcmD0vqZAFvCzca4ipcHzcr6Z8x5mJcF5CX3FIWBCwJGqgro/vAMELFn4mcWX+YcL0ICizxIZEx7jPIvRGQ= Received: by 10.48.254.10 with SMTP id b10mr3898555nfi; Wed, 18 Oct 2006 08:20:39 -0700 (PDT) Received: from ?10.1.2.10? ( [67.180.3.247]) by mx.google.com with ESMTP id o53sm1536689nfa.2006.10.18.08.20.37; Wed, 18 Oct 2006 08:20:39 -0700 (PDT) Message-ID: <45364643.7010103@gmail.com> Date: Wed, 18 Oct 2006 08:20:35 -0700 From: Joe User-Agent: Thunderbird 1.5.0.7 (Macintosh/20060909) MIME-Version: 1.0 To: Erik Norgaard References: <0J7C00A3541CUN90@VL-MH-MR001.ip.videotron.ca> <45363A6A.4040607@locolomo.org> In-Reply-To: <45363A6A.4040607@locolomo.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Martin Turgeon , freebsd-pf@freebsd.org, freebsd-bugs@freebsd.org, freebsd-questions@freebsd.org Subject: Re: Routing with external interface doesn't work after a while X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 18 Oct 2006 15:20:49 -0000 Erik Norgaard wrote: > There is some trick to handle that, IIRC something like this would do: > > ext_if=fxp0 # external interface > nat on $ext_if from to ! -> ($ext_if) > > The () means that pf will lookup the ip on that interface, and update > dynamically when the ip changes. > That is correct.