From: James Yonan Subject: Re: [Openvpn-devel] [PATCH] Allow dynamic choice of source port In-Reply-To: <20051125055759.373AE70DD18@...506...> Message-ID: References: <20051125055759.373AE70DD18@...506...> MIME-Version: 1.0 Sender: openvpn-devel-admin@lists.sourceforge.net Errors-To: openvpn-devel-admin@lists.sourceforge.net List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Date: Sun Nov 27 21:28:02 2005 Content-Type: TEXT/PLAIN; charset=US-ASCII Content-Transfer-Encoding: 8bit To: Nielsen Cc: openvpn-devel@lists.sourceforge.net On Fri, 25 Nov 2005, Nielsen wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > As it is openvpn has no way to allow the kernel to dynamically choose > a source port for it's connections. If you have two openvpn client > processes on the same machine both you have to configure lport to > different ports manually. This patch allows you to specify '--lport 0' > and get the behaviour of normal programs, where the source port is > dynamically chosen. > > Not sure if this is an issue for others, but here's the patch in > case anyone has run into the same issue. How is this different from simply using --nobind to allocate a dynamic port #? James