From owner-freebsd-pf@FreeBSD.ORG Sat Jan 17 18:18:33 2009 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 94587106566B for ; Sat, 17 Jan 2009 18:18:33 +0000 (UTC) (envelope-from allicient3141@googlemail.com) Received: from mail-bw0-f20.google.com (mail-bw0-f20.google.com [209.85.218.20]) by mx1.freebsd.org (Postfix) with ESMTP id E35CF8FC17 for ; Sat, 17 Jan 2009 18:18:32 +0000 (UTC) (envelope-from allicient3141@googlemail.com) Received: by bwz13 with SMTP id 13so7214577bwz.19 for ; Sat, 17 Jan 2009 10:18:31 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:sender :to:subject:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references :x-google-sender-auth; bh=5HG1kz7SN0mhRt2esEgdkPjqyDKrj5MfL8CZfNTyc6A=; b=Zb5zATkP4SvEHmf1l5V+AOcaNSd2fG4/0XsWVj6tjEnp3uVjONlm+Rg3DDENkFCqwM UVF4iuqKDprtGEyFlpMGZKulmw45tAfHkXS2gHilSnjN7hDAY+Beq4OUCgEU1dR+LH71 WxfHCtqoUuh9c36eexGY898QDX/X3Dx4xIy8o= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=message-id:date:from:sender:to:subject:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references:x-google-sender-auth; b=aMjh1Uq3LdnE2MSFSYMXoPbBEq9/Q8+8ruEr68SPZ9/SzhheXmkgfsEbeL5OdP+LV/ wtz1A5mRq5JpQydryhdSYpA3RgFbc/PHWX4YyU4V+E8qLPl4NWxbYUImY3Gmm+MmDqTS N7fgSxgNvEcUL/hSonWS5jCfwSii5nuHmWVuw= Received: by 10.180.239.8 with SMTP id m8mr1334328bkh.165.1232216311681; Sat, 17 Jan 2009 10:18:31 -0800 (PST) Received: by 10.181.200.2 with HTTP; Sat, 17 Jan 2009 10:18:31 -0800 (PST) Message-ID: <7731938b0901171018j78895dacx8cb1af2dd3a54122@mail.gmail.com> Date: Sat, 17 Jan 2009 18:18:31 +0000 From: "Peter Maxwell" Sender: allicient3141@googlemail.com To: freebsd-pf@freebsd.org In-Reply-To: <886151.51833.qm@web38201.mail.mud.yahoo.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <886151.51833.qm@web38201.mail.mud.yahoo.com> X-Google-Sender-Auth: 5993f045c783acd7 Subject: Re: [OT?] help w/ ip route to (cancel) 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: Sat, 17 Jan 2009 18:18:34 -0000 Tommy, As I think you've discovered, you're probably after a NAT solution here rather than source/policy based routing. Best wishes, Peter 2009/1/17 Tommy Pham : > ----- Original Message ---- > From: Tommy Pham > To: freebsd-pf@freebsd.org > Sent: Friday, January 16, 2009 8:39:36 PM > Subject: [OT?] help w/ ip route to > > Hi, > > I have this simple setup. > < internet > ---- < FreeBSD w/ pf > ---- < LAN > > The wan is 10.1.1.32/29 and LAN is 10.10.10.0/24. > > Using PF, Is it possible to route an internal IP say 10.10.10.21 > so that all outbound traffic from it appear to be from 10.1.1.36 on > the WAN? Or do I need to change the routing FreeBSD? > > Thanks, > Tommy > > > nvm... I forgot about 1:1 mapping :D > Thanks!! > _______________________________________________ > 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" >