From owner-freebsd-pf@FreeBSD.ORG Thu Nov 16 20:30:11 2006 Return-Path: X-Original-To: freebsd-pf@freebsd.org Delivered-To: freebsd-pf@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1B69316A47B for ; Thu, 16 Nov 2006 20:30:11 +0000 (UTC) (envelope-from linux@giboia.org) Received: from ug-out-1314.google.com (ug-out-1314.google.com [66.249.92.171]) by mx1.FreeBSD.org (Postfix) with ESMTP id D45E143D62 for ; Thu, 16 Nov 2006 20:30:01 +0000 (GMT) (envelope-from linux@giboia.org) Received: by ug-out-1314.google.com with SMTP id o2so499876uge for ; Thu, 16 Nov 2006 12:30:00 -0800 (PST) Received: by 10.78.201.10 with SMTP id y10mr1025450huf.1163708999742; Thu, 16 Nov 2006 12:29:59 -0800 (PST) Received: by 10.78.175.17 with HTTP; Thu, 16 Nov 2006 12:29:59 -0800 (PST) Message-ID: <6e6841490611161229n4392c4aame4f58fd41974b8ae@mail.gmail.com> Date: Thu, 16 Nov 2006 18:29:59 -0200 From: "Gilberto Villani Brito" To: "FreeBSD (PF)" In-Reply-To: <45593F08.9060708@joeholden.co.uk> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <45593F08.9060708@joeholden.co.uk> Subject: Re: Source routing (Policy routing) 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: Thu, 16 Nov 2006 20:30:11 -0000 Try using route-to like here: http://www.openbsd.org/faq/pf/pools.html#outgoing But, put this rule at the last. Gilberto 2006/11/14, Joe Holden : > Hi all, > > I'm having a little trouble trying to do the equivalently of ipfw fwd in > my pf ruleset (i've moved everything else from ipfw and it works great), > however after much googling im still not sure of the proper syntax/ruleset. > > Basically, I have interface1, with a routable ip on, an openvpn > connection goes out via that and creates tun0, which has another > routable ip on. > > However, I want to be able to send traffic from my end of the openvpn > tunnel, back via the tunnel, however i've tried all combinations of > route-to, reply-to, even copied other peoples rulesets to the "space," > to no avail... > > Is anyone able to give me any pointers on this? > > I'm using -CURRENT as of this morning. > (I originally moved from ipfw as it is still unusable as far as ipv6 goes) > > TIA, > Joe > _______________________________________________ > 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" >