Skip to contentSkip to conversation

Availability of GA Load for 2.1 series

Openvpn-devel David Sommerseth 4 participants 6 messages Dec 6, 2008 – Dec 10, 2008 2 messages not in the archive

lore
Share & tools
lore
#1 lore raw
In reply to a message not in the archive
Quoted 9 lines · Keyur Pujara
Quoted 6 lines

Which release candidate of 2.1 series is recommended for "Production Use"?

Cross-Posting on Development mailing-list: Requesting comment on this aspect and a visibility on planned GA date for 2.1 series if any.

Would help if someone could reply/share their experience with 2.1 series on above perspective. Also - any comment on planned GA date for 2.1 series.

I've been running OpenVPN 2.1 RC 11, 13 and 15 stable in production environment since June. I have not had any particular issues. The site is not extremely hard tested, but stability is present. I did some long-term testing on RC 11, with TLS keys being renewed every 10 minutes and had the session open for about 50 hours. The connections was rock solid, even though a little bit slower due to the very frequent key renewal.

In this setup, I'm using dev-type tap, UDP, LZO, TLS (server/client), ifconfig-pool, client-config-dir, client-to-client, persist-{key,tun}, AES-CBC cipher, chroot, management, running as non-root user and the plugin option. The plugin being used is my own authentication plugin
(http://www.eurephia.net)

During this long run, I also did not notice any obvious memory leaks. It simply felt rock solid.

I hope this was helpful for you (or others). Regarding GA date, I'm also waiting for this date.

kind regards,

David Sommerseth

#2 lore raw

Thanks David. Your inputs are of great help.

Thanks,
Keyur

Quoted 49 lines · David Sommerseth

From: David Sommerseth <[email protected]...>
Subject: Re: [Openvpn-users] [Openvpn-devel] Availability of GA Load for 2.1 series
To: [email protected]...
Cc: [email protected], [email protected]
Date: Saturday, December 6, 2008, 2:02 PM

Quoted 1 line · Keyur Pujara
Quoted 1 line

Which release candidate of 2.1 series is

recommended for

Quoted 3 lines
Quoted 3 lines

"Production Use"?

Cross-Posting on Development mailing-list:

Requesting

Quoted 1 line
Quoted 1 line

comment on this aspect and a visibility on planned

GA date

Quoted 4 lines
Quoted 1 line

for 2.1 series if any.

Would help if someone could reply/share their

experience with 2.1 series on above perspective. Also - any comment on planned GA date for 2.1 series.

I've been running OpenVPN 2.1 RC 11, 13 and 15 stable in production environment since June. I have
not had any particular issues. The site is not extremely hard tested, but stability is present. I
did some long-term testing on RC 11, with TLS keys being renewed every 10 minutes and had the
session open for about 50 hours. The connections was rock solid, even though a little bit slower
due to the very frequent key renewal.

In this setup, I'm using dev-type tap, UDP, LZO, TLS (server/client), ifconfig-pool, client-config-dir, client-to-client, persist-{key,tun}, AES-CBC cipher, chroot, management, running
as non-root user and the plugin option. The plugin being used is my own authentication plugin
(http://www.eurephia.net)

During this long run, I also did not notice any obvious memory leaks. It simply felt rock solid.

I hope this was helpful for you (or others). Regarding GA date, I'm also waiting for this date.

kind regards,

David Sommerseth

#3 lore raw

[Openvpn-devel] Running Single OpenVPN Daemon on multiple (selective) interfaces

In reply to a message not in the archive

Greetings!

I have a linux box connected to two ISPs and having two LAN facing interfaces.

I would like to bind OpenVPN (in TCP mode) on two WAN facing interfaces only (not all).

I have tried following in server.conf but no success.

(1) local WAN-1-IP
local WAN-2-IP
(2) local WAN-1-IP WAN-2-IP

"netstat" just shows binding on one IP.

I know running two instances (one per interface) may help.

Would help if someone could comment if there is way to do this by running single instance of daemon.

Also - if there is no way - would help to know if this support is planned in near future.

--
Thanks,
Keyur

#5 lore raw

Re: [Openvpn-devel] [Openvpn-users] Running Single OpenVPN Daemon on multiple (selective) interfaces

In reply to a message not in the archive

Hi

Quoted 3 lines · Jan Just Keijser
Quoted 2 lines · Keyur Pujara

Greetings!

...

Quoted 8 lines
Quoted 2 lines

openvpn can bind to either a single interface or to all interfaces (0.0.0.0); so to solve your issue you need two instances. AFAIK there are no plans to change this in the near future. Openvpn 2.1 has something called connection profiles, but this applies to the *client* side only.

Just bind to all interfaces and use iptables to select on which ones to accept the openvpn packets.

Erich

#6 lore raw

Re: [Openvpn-devel] [Openvpn-users] Running Single OpenVPN Daemon on multiple (selective) interfaces

Thanks all for your inputs.

The iptables suggestion is good. But unfortunately it won't work in my scenario. What I want to achieve is to bind OpenVPN on TCP 443 over two WAN interfaces and Apache on TCP 443 over two LAN interfaces (for management traffic).

Thanks,
Keyur

Quoted 17 lines
Quoted 2 lines
Quoted 1 line

openvpn can bind to either a single interface or to

all interfaces

Quoted 1 line

(0.0.0.0); so to solve your issue you need two

instances. AFAIK there

Quoted 1 line

are no plans to change this in the near future.

Openvpn 2.1 has

Quoted 1 line

something called connection profiles, but this applies

to the *client*

Quoted 2 lines

side only.

Just bind to all interfaces and use iptables to select on which ones to
accept the openvpn packets.

Erich

#7 lore raw

Re: [Openvpn-devel] Running Single OpenVPN Daemon on multiple (selective) interfaces

In reply to Keyur Pujara
Quoted 5 lines · Keyur Pujara

I would like to bind OpenVPN (in TCP mode) on two WAN facing interfaces only (not all).

Would help if someone could comment if there is way to do this by running single instance of daemon.

You can bind it to one interface and use iptables with DNAT to forward the packages from the other interface to the one, where openvpn is running. At least this is what I believe to have done, except that I used a third (virtual) interface to bind openvpn to. This makes it possible to take each of the other interfaces down and still provide openvpn access on the other one.

Regards,
Till