From owner-freebsd-current@FreeBSD.ORG Mon Sep 10 18:22:02 2007 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 52BFE16A418 for ; Mon, 10 Sep 2007 18:22:02 +0000 (UTC) (envelope-from max@love2party.net) Received: from moutng.kundenserver.de (moutng.kundenserver.de [212.227.126.171]) by mx1.freebsd.org (Postfix) with ESMTP id BE3ED13C45D for ; Mon, 10 Sep 2007 18:22:01 +0000 (UTC) (envelope-from max@love2party.net) Received: from dslb-088-064-191-199.pools.arcor-ip.net [88.64.191.199] (helo=amd64.laiers.local) by mrelayeu.kundenserver.de (node=mrelayeu7) with ESMTP (Nemesis), id 0ML2xA-1IUntX3UGl-00022S; Mon, 10 Sep 2007 20:22:00 +0200 From: Max Laier Organization: FreeBSD To: freebsd-current@freebsd.org Date: Mon, 10 Sep 2007 20:21:53 +0200 User-Agent: KMail/1.9.7 References: <1189445938.1321.5.camel@genius.i.cz> In-Reply-To: <1189445938.1321.5.camel@genius.i.cz> X-Face: ,,8R(x[kmU]tKN@>gtH1yQE4aslGdu+2]; R]*pL,U>^H?)gW@49@wdJ`H<=?utf-8?q?=25=7D*=5FBD=0A=09U=5For=3D=5CmOZf764=26nYj=3DJYbR1PW0ud?=>|!~,,CPC.1-D$FG@0h3#'5"k{V]a~.<=?utf-8?q?mZ=7D44=23Se=7Em=0A=09Fe=7E=5C=5DX5B=5D=5Fxj?=(ykz9QKMw_l0C2AQ]}Ym8)fU MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart1929354.U5fSiiLJCJ"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <200709102021.58702.max@love2party.net> X-Provags-ID: V01U2FsdGVkX18g6Y/MyV4JfvA2lwD4kZ+NSex0zXdwK2WNoRo Bn/BCUUd8U9fE2hG7mOOQqJV9LYZ+f0d8o3t2ww2wOLipAwUbw NjBZf4VmFnpi4s8WVB2xjveAdEamHnIYIoI6BznZsA= Cc: Michal Mertl Subject: Re: PF NAT regression X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 10 Sep 2007 18:22:02 -0000 --nextPart1929354.U5fSiiLJCJ Content-Type: text/plain; charset="iso-8859-6" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline On Monday 10 September 2007, Michal Mertl wrote: > Hello, > > I have recently upgraded 6.2-STABLE based router to -CURRENT kernel and > I found out the following in /etc/pf.conf does not work anymore: > > ext_if=3D"sis0" > nat on $ext_if from ! ($ext_if) to any -> ($ext_if) > > It works again when I change it to: > > nat on $ext_if from any to any -> ($ext_if) Can you show me "ifconfig sis0" and "pfctl -vvvsn" for either rule? It=20 might be a problem with picking up aliases correctly. You could also try=20 to limit the nat rule by specifying "inet". A tcpdump on sis0 might also=20 be helpful to figure out what's going on, as could be "pfctl -xm" to=20 enable extended debugging on the console. This should print which=20 address is chosen for any translation. Finally you might want to look at=20 the rule counters and the state table after trying a couple of=20 connections. =2D-=20 /"\ Best regards, | mlaier@freebsd.org \ / Max Laier | ICQ #67774661 X http://pf4freebsd.love2party.net/ | mlaier@EFnet / \ ASCII Ribbon Campaign | Against HTML Mail and News --nextPart1929354.U5fSiiLJCJ Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.4 (FreeBSD) iD8DBQBG5YtGXyyEoT62BG0RAn3mAJ9POd7Jg9mQeu/OhWpjV8QaoIGVHACffSB8 P/Cm3/CKch5k7XEQ+xxONDI= =xQ8F -----END PGP SIGNATURE----- --nextPart1929354.U5fSiiLJCJ--