From owner-freebsd-pf@FreeBSD.ORG Fri Jan 11 03:07:50 2008 Return-Path: Delivered-To: freebsd-pf@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D7B2816A418 for ; Fri, 11 Jan 2008 03:07:50 +0000 (UTC) (envelope-from max@love2party.net) Received: from moutng.kundenserver.de (moutng.kundenserver.de [212.227.126.177]) by mx1.freebsd.org (Postfix) with ESMTP id 72A9E13C43E for ; Fri, 11 Jan 2008 03:07:50 +0000 (UTC) (envelope-from max@love2party.net) Received: from amd64.laiers.local (dslb-088-066-014-183.pools.arcor-ip.net [88.66.14.183]) by mrelayeu.kundenserver.de (node=mrelayeu2) with ESMTP (Nemesis) id 0MKwtQ-1JDAFH3j9y-00061Z; Fri, 11 Jan 2008 04:07:48 +0100 From: Max Laier Organization: FreeBSD To: freebsd-pf@freebsd.org Date: Fri, 11 Jan 2008 04:07:36 +0100 User-Agent: KMail/1.9.7 References: <4784F7E3.3060508@rodhouse.org> <1200009515.36543.27.camel@xenon> <1a5f1a2d0801101837r338b5453m7a8f673e3b03833e@mail.gmail.com> In-Reply-To: <1a5f1a2d0801101837r338b5453m7a8f673e3b03833e@mail.gmail.com> 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="nextPart4486391.os118DlasU"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <200801110407.45454.max@love2party.net> X-Provags-ID: V01U2FsdGVkX1+rgie6WbYJ1K02HvkJh4iHH+L++CNN96Kby8Z 6scijh+iWcj3F3BhzLv5B8qhc5avASNePvTcYmnG2gygSnMXyA WFFxu5mCmLhtX7TY9S7AGguxFHB4tfghjS68VzX4lE= Cc: Subject: Re: Forwarding another host X-BeenThere: freebsd-pf@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Technical discussion and general questions about packet filter \(pf\)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 11 Jan 2008 03:07:50 -0000 --nextPart4486391.os118DlasU Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline On Friday 11 January 2008, Rodrique Heron wrote: > On 1/10/08, Michal Varga wrote: > > On Thu, 2008-01-10 at 12:10 -0500, Rodrique Heron wrote: > > > Thanks > > > > > > FreeBSD syntax for log all is "log-all", I have no block rules. I > > > am passing everything with. > > > > > > pass in quick all > > > pass out qick all > > > > ah, I think this may be another problem. Syntax for log (all) really > > *was* log-all, in PF 3.7, that is approximately the version used in > > FreeBSD 6.x. I somehow forgot about this from your first mail. As > > FreeBSD 7 incporporates PF 3.9, things behave a little differently > > here and there. anyway, can you show me the exact PF config you are > > using now, one that you think should work and doesn't? > > Sorry for the duplicate, I forgot to CC the list. > > Both host are in the same broadcast domain,connected to the same > switch. Sounds like you are looking for some kind of reflection rather than just=20 redirection. If resources on the pf box are plenty and you don't mind=20 running network daemons on it, something like net/rinetd might do the=20 trick. > INTERNET > > > PIX Firewall > > > SWITCH*---*HOSTA 192.168.2.14 > * > > > * > HOSTB 192.168.2.27 > > > ### /etc/pf.conf > ext_if =3D "em0" > int_if =3D "lo0" > > host_ip =3D " 192.168.2.14" > jail_ip =3D "192.168.2.18" > external_host =3D "192.168.2.27" > > rdr on $ext_if proto tcp from any to $host_ip port 22 -> $external_host > port 22 > rdr on $ext_if proto tcp from any to $host_ip port 26 -> $jail_ip port > 22 > > pass in quick all > pass out quick all > _______________________________________________ > freebsd-pf@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-pf > To unsubscribe, send any mail to "freebsd-pf-unsubscribe@freebsd.org" =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 --nextPart4486391.os118DlasU 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) iD8DBQBHht2BXyyEoT62BG0RAuULAJ9XuK3RlEEnF9Wx1NS0NhR/iSYySACeLfO4 mVU7heqwqsczK/lT8skBCwo= =/hju -----END PGP SIGNATURE----- --nextPart4486391.os118DlasU--