Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 12 May 2005 13:30:33 -0400
From:      WMC <wc_fbsd@xxiii.com>
To:        freebsd-questions@freebsd.org
Subject:   Re: Redirect *:port to ip:port on the same machine?
Message-ID:  <6.2.1.2.0.20050512132842.02c08e08@mailsvr.xxiii.com>
In-Reply-To: <1b6c15ea05051209563c7af4b0@mail.gmail.com>
References:  <cb520642050511144530ed8da9@mail.gmail.com> <1b6c15ea05051209563c7af4b0@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
At 12:56 PM 5/12/2005, you wrote:
>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.

How 'bout:
* Install ports/net/redir
* Config original program to listen on localhost
* Config redir to pass from the other IPs to localhost.

   -Wayne



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?6.2.1.2.0.20050512132842.02c08e08>