From owner-freebsd-pf@FreeBSD.ORG Fri Mar 7 20:11:35 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 6D85A1065675 for ; Fri, 7 Mar 2008 20:11:35 +0000 (UTC) (envelope-from kurt-list-freebsd@androme.com) Received: from fafnir.androme.com (fafnir.androme.com [62.58.96.158]) by mx1.freebsd.org (Postfix) with ESMTP id 3375D8FC1A for ; Fri, 7 Mar 2008 20:11:34 +0000 (UTC) (envelope-from kurt-list-freebsd@androme.com) Received: by fafnir.androme.com (Postfix, from userid 1003) id 4DC72C46CFC; Fri, 7 Mar 2008 20:56:20 +0100 (CET) Message-ID: <47D19DE3.3000007@androme.com> Date: Fri, 07 Mar 2008 20:56:19 +0100 From: Kurt Dethier User-Agent: Thunderbird 2.0.0.12 (Windows/20080213) MIME-Version: 1.0 To: freebsd-pf@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: ftp-proxy and route-to 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, 07 Mar 2008 20:11:35 -0000 Hi all, I'm trying to send some outgoing traffic via a second internet connection. Traffic like http works ok, I can use route-to in the rules to send the traffic out on the correct interface and nat to the correct public ip. But I can't get this to work for ftp-proxy. The ftp-proxy man page says I need a rule like: pass out proto tcp from $proxy to any port 21 but those connections are always going out on the interface of the default route. Is it possible to make those connections go out on another interface ? Also I think I would need a route-to and reply-to in the anchor rules created by ftp-proxy. Is this possible ? Thanks for any help. regards, Kurt