Re: [Openvpn-devel] --local, --lport and --bind

2014-02-10 Thread Gert Doering
Hi, On Mon, Feb 10, 2014 at 10:30:25AM +0100, Mickael Chazaux wrote: > > So, can I use this undocumented option to allow the OS to determine a > > random port for me? > It works at least on version 2.2.1. Then it will also work in 2.3.x, but it might have been broken by the changes introduced by

Re: [Openvpn-devel] --local, --lport and --bind

2014-02-10 Thread Mickael Chazaux
2014-02-10 10:12 GMT+01:00 Dash Four : > > > Arne Schwabe wrote: Does lport 0 work? >>> Yes. I use it (see my previous mail). But it is not documented in >>> openVPN, and the use of a port value of 0 in bind() hardly. In the >>> source the --lport value is sent to bind() directly, so

Re: [Openvpn-devel] --local, --lport and --bind

2014-02-10 Thread Dash Four
Arne Schwabe wrote: Does lport 0 work? Yes. I use it (see my previous mail). But it is not documented in openVPN, and the use of a port value of 0 in bind() hardly. In the source the --lport value is sent to bind() directly, so it happens to work. It would be great if --lport 0 were me