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-09 Thread Mickael Chazaux
2014-02-09 16:34 GMT+01:00 Arne Schwabe : > Am 09.02.14 16:19, schrieb Gert Doering: >> Hi, >> >> On Sun, Feb 09, 2014 at 02:41:58PM +0100, Mickael Chazaux wrote: >>> Although it is not easy to find on the Internet, you can bind a client >>> socket to a spe

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

2014-02-09 Thread Mickael Chazaux
2014-02-09 12:50 GMT+01:00 Gert Doering : > Hi, > > On Sun, Feb 09, 2014 at 02:10:56AM +, Dash Four wrote: >> Currently, openvpn only accepts "bind" if both "lport" and "local" >> options are specified. Why? >> >> Why can't I specify "local" to instruct openvpn to bind to a specific IP >> addre

Re: [Openvpn-devel] [PATCH] Add gateway argument to Linux ip route del

2012-02-24 Thread Mickael Chazaux
Hi, 2012/2/24 Alon Bar-Lev : > If tool does not use it, environment should be used. > Did not thought of that, works great. Thanks! Mickael

[Openvpn-devel] [PATCH] Add gateway argument to Linux ip route del

2012-02-24 Thread Mickael Chazaux
In some use cases, it is valuable to have the gateway passed when deleting a route. Even if is ignored by iproute2, custom tools selected via the --iproute option can make use of it. Signed-off-by: Mickael Chazaux --- route.c |6 -- 1 files changed, 4 insertions(+), 2 deletions