From owner-freebsd-questions@FreeBSD.ORG Wed May 11 22:46:56 2005 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A18E616A4FE for ; Wed, 11 May 2005 22:46:56 +0000 (GMT) Received: from zproxy.gmail.com (zproxy.gmail.com [64.233.162.205]) by mx1.FreeBSD.org (Postfix) with ESMTP id BD4E143D7B for ; Wed, 11 May 2005 22:46:55 +0000 (GMT) (envelope-from tomasq@gmail.com) Received: by zproxy.gmail.com with SMTP id 12so534320nzp for ; Wed, 11 May 2005 15:46:55 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=P6TpXXsd4XYtG2r17IfksStTGlM+fMpllOFvZVz4jv2gEGYoZ6sB9ni5lHvRic/MkOqAU5mp5Com7odMxc/9gcjCvc+xrcKTr2VNe8+Tk4Irp8MjDEPWFAYNwOT6weOvrB4N2ksGLMywGr+y5NYEeIcQnX4tB+2saWZzB4rIZD8= Received: by 10.36.148.3 with SMTP id v3mr450269nzd; Wed, 11 May 2005 15:46:55 -0700 (PDT) Received: by 10.36.2.19 with HTTP; Wed, 11 May 2005 15:46:55 -0700 (PDT) Message-ID: <9e46c99e05051115464469b789@mail.gmail.com> Date: Wed, 11 May 2005 18:46:55 -0400 From: Tomas Quintero To: "Andrew P." In-Reply-To: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: cc: questions@freebsd.org Subject: Re: Redirect *:port to ip:port on the same machine? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Tomas Quintero List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 11 May 2005 22:46:56 -0000 On 5/11/05, Andrew P. wrote: > Hello! >=20 > I have a program that binds to ip:port. What are > my options, if I want it to listen on all interfaces > (*:port)? Let's say reconfiguring the program > and/or running one instance per interface is > not possible. I've got ipfw as a firewall. >=20 > Thanks! > Andrew P. In something like PF, for instance I have FTP connections forwarding to FTP-Proxy locally so I use a line like: rdr on $int_if inet proto tcp from $int_net to any port ftp -> 127.0.0.1 port 8021 I have no idea how you would write that for IPFW however. --=20 -Tomas Quintero