From owner-freebsd-hackers@FreeBSD.ORG Tue Dec 23 08:54:44 2003 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A34A916A4CE for ; Tue, 23 Dec 2003 08:54:44 -0800 (PST) Received: from ussenterprise.ufp.org (ussenterprise.ufp.org [208.185.30.210]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9A4EB43D50 for ; Tue, 23 Dec 2003 08:54:40 -0800 (PST) (envelope-from bicknell@ussenterprise.ufp.org) Received: from ussenterprise.ufp.org (bicknell@localhost [127.0.0.1]) by ussenterprise.ufp.org (8.12.9/8.12.9) with ESMTP id hBNGseeC023830 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Tue, 23 Dec 2003 11:54:40 -0500 (EST) Received: (from bicknell@localhost) by ussenterprise.ufp.org (8.12.9/8.12.9/Submit) id hBNGses6023829 for freebsd-hackers@freebsd.org; Tue, 23 Dec 2003 11:54:40 -0500 (EST) Date: Tue, 23 Dec 2003 11:54:39 -0500 From: Leo Bicknell To: freebsd-hackers@freebsd.org Message-ID: <20031223165439.GA23721@ussenterprise.ufp.org> Mail-Followup-To: freebsd-hackers@freebsd.org Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="zYM0uCDKw75PZbzx" Content-Disposition: inline Organization: United Federation of Planets X-PGP-Key: http://www.ufp.org/~bicknell/ Subject: natd + ipfw question X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 23 Dec 2003 16:54:44 -0000 --zYM0uCDKw75PZbzx Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Can someone explain to me why: ipfw add 1000 divert natd ip from any to any via fxp0 works, and yet: ipfw add 1000 divert natd ip from any to any recv fxp0 ipfw add 1001 divert natd ip from any to any xmit fxp0 doesn't? Yes, I want to do something fancier treating inbound and outbound traffic differently, but this basic case doesn't seem to work, and it seems to me like it should. What am I missing? --=20 Leo Bicknell - bicknell@ufp.org - CCIE 3440 PGP keys at http://www.ufp.org/~bicknell/ Read TMBG List - tmbg-list-request@tmbg.org, www.tmbg.org --zYM0uCDKw75PZbzx Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (FreeBSD) iD8DBQE/6HNPNh6mMG5yMTYRAo3fAKCEeq4bazmW0dcRjozbmnYCHbSgvgCeIOuN 4BbGO5e1//be4TT9RXEjxdI= =A3Ya -----END PGP SIGNATURE----- --zYM0uCDKw75PZbzx--