From owner-freebsd-pf@FreeBSD.ORG Tue Oct 24 09:29:31 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 6D6EF16A415 for ; Tue, 24 Oct 2006 09:29:31 +0000 (UTC) (envelope-from kian.mohageri@gmail.com) Received: from py-out-1112.google.com (py-out-1112.google.com [64.233.166.178]) by mx1.FreeBSD.org (Postfix) with ESMTP id CF39543D49 for ; Tue, 24 Oct 2006 09:29:30 +0000 (GMT) (envelope-from kian.mohageri@gmail.com) Received: by py-out-1112.google.com with SMTP id c59so365770pyc for ; Tue, 24 Oct 2006 02:28:57 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:references; b=SL9zBY4eqGOz04lWav/HfDXsXtgSG2UvLxNL3auX7tcpkyZISxRXIIYbdcJx4Ov4ohtXT6i+c6MQNSyie3MjPEEpI1Xoy388JmU/QC14nEfbFZx6piwUfCEDc70d8XSYqVX9VPMq5yIFcResDoGX/hGvF/Eu2WlAuuUwnyW7e7Y= Received: by 10.65.93.18 with SMTP id v18mr7094260qbl; Tue, 24 Oct 2006 02:28:56 -0700 (PDT) Received: by 10.65.220.10 with HTTP; Tue, 24 Oct 2006 02:28:56 -0700 (PDT) Message-ID: Date: Tue, 24 Oct 2006 02:28:56 -0700 From: "Kian Mohageri" To: "Aristeu Gil Alves Jr" In-Reply-To: <2c84c1de0610231318m170dfe55wbc4f3af4fc929b22@mail.gmail.com> MIME-Version: 1.0 References: <2c84c1de0610231318m170dfe55wbc4f3af4fc929b22@mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-pf@freebsd.org Subject: Re: reply-to versus default route - PF/synproxy 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: Tue, 24 Oct 2006 09:29:31 -0000 On 10/23/06, Aristeu Gil Alves Jr wrote: > > > route1="( ed0 gw-isp1 )" > route2="( ed1 gw-isp2 )" > > rdr on $if_isp1 proto tcp to port 25 -> 192.168.0.2 port 25 > rdr on $if_isp2 proto tcp to port 25 -> 192.168.0.2 port 25 > > block in log all > > pass in quick on $if_isp1 reply-to $rota1 proto tcp to 192.168.0.2 > port 25 synproxy state > pass in quick on $if_isp2 reply-to $rota2 proto tcp to 192.168.0.2 > port 25 synproxy state > > What are the $rota1 and $rota2 macroes set to? -Kian -- Kian Mohageri