From owner-freebsd-bugs@FreeBSD.ORG Wed Oct 18 19:12:59 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 7AC8716A403; Wed, 18 Oct 2006 19:12:59 +0000 (UTC) (envelope-from turgeon.martin@gmail.com) Received: from relais.videotron.ca (relais.videotron.ca [24.201.245.36]) by mx1.FreeBSD.org (Postfix) with ESMTP id DB60343D68; Wed, 18 Oct 2006 19:12:58 +0000 (GMT) (envelope-from turgeon.martin@gmail.com) Received: from martinlaptop ([70.81.169.115]) by VL-MO-MR003.ip.videotron.ca (Sun Java System Messaging Server 6.2-2.05 (built Apr 28 2005)) with ESMTP id <0J7C00MEKIPJGZE0@VL-MO-MR003.ip.videotron.ca>; Wed, 18 Oct 2006 15:12:58 -0400 (EDT) Date: Wed, 18 Oct 2006 15:13:11 -0400 From: Martin Turgeon In-reply-to: <45365929.8060608@locolomo.org> To: 'Erik Norgaard' Message-id: <0J7C00MEQIPLGZE0@VL-MO-MR003.ip.videotron.ca> MIME-version: 1.0 X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2900.2962 X-Mailer: Microsoft Office Outlook, Build 11.0.5510 Content-type: text/plain; charset=iso-8859-1 Content-transfer-encoding: quoted-printable Thread-index: Acby1D0tVD9LpsITQNG7WmP9k/pz/wAFO2WA Cc: freebsd-bugs@freebsd.org, freebsd-questions@freebsd.org, freebsd-pf@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 19:12:59 -0000 You're right on this, the filtering rules aren't written with the = brackets. But isn't pf routing the packets to an interface instead of an IP = address. Thanks a lot Martin -----Message d'origine----- De=A0: Erik Norgaard [mailto:norgaard@locolomo.org]=20 Envoy=E9=A0: 18 octobre 2006 12:41 =C0=A0: Martin Turgeon Cc=A0: freebsd-pf@freebsd.org; freebsd-bugs@freebsd.org; freebsd-questions@freebsd.org Objet=A0: Re: Routing with external interface doesn't work after a while Martin Turgeon wrote: > The NAT rules are already written that way: >=20 > nat on $wan_if tag LAN_WAN_NAT tagged LAN_WAN -> ($wan_if) > nat on $wan_if tag WLS_WAN_NAT tagged WLS_WAN -> ($wan_if) > nat on $wan_if tag AP_WAN_NAT tagged AP_WAN -> ($wan_if) > nat on $wan_if tag VPN_WAN_NAT tagged VPN_WAN -> ($wan_if) How are your tags created? If somewhere in the nat/tag/filtering process = you've missed the dynamic update of the external ip it may fail = there... Cheers, Erik --=20 Ph: +34.666334818 web: http://www.locolomo.org X.509 Certificate: http://www.locolomo.org/crt/8D03551FFCE04F0C.crt Key ID: 69:79:B8:2C:E3:8F:E7:BE:5D:C3:C3:B1:74:62:B8:3F:9F:1F:69:B9