Skip to contentSkip to conversation

OpenVPN 2.0 -- Project Update and Release Notes

Openvpn-devel James Yonan 7 participants 13 messages Mar 30, 2004 – Apr 1, 2004

lore
Share & tools
lore
#0 lore raw

OpenVPN 2.0 -- Project Update and Release Notes

I'm happy to announce that the first OpenVPN 2.0 beta is here, and well ahead of schedule. This is in large part thanks to a generous contribution by Meetrix Inc. which has allowed me to work full-time on the project during the last month.

Download:

http://openvpn.sourceforge.net/beta/

The latest 2.0 beta is called test18 and a .tar.gz and Windows self-install are provided. Keep in mind that these are very early-stage releases, so the usual caveats apply for those of you who like to dwell on the bleeding edge :)

The key features in this first beta include:

* A highly scalable server for handling multiple UDP clients over point-to-point tun interfaces, all using a single UDP port number. The server has been designed for maximum efficiency and scalability, and should scale to hundreds or even thousands of clients where the hardware and network bandwidth can support it. The code includes a new O(N) scheduler based on a randomized treap binary tree algorithm plus efficient hash tables for looking up client instances.

* The server configuration file is only slightly more complex than a configuration file for a single tunnel instance. The server-side crypto configuration is simplified by the use of TLS which allows any incoming client to be accepted if (a) the client's certificate was signed by the master VPN CA and (b) the client certificate is not explicitly disallowed by a CRL (certificate revocation list).

* The server is able to handle an arbitrary number of clients using a single UDP port, a single tun interface, and a single config file. As such, it is designed to not overly stress the OS even when its own client load is high. This means that the server can also run well on Windows which is not capable of scaling up to a large number of tun/tap interfaces.

* The server configuration file adds serveral new options: (a) --ifconfig-pool allows the server to manage a DHCP-like pool of /30 subnets to be dynamically allocated to client instances, (b) --push allows the server to push certain options back to the client such as routes, ifconfig endpoints, and DHCP options for Windows machines without actually requiring a DHCP server, and (c) the new --mode option controls whether OpenVPN will run in multi-client UDP mode or classic peer-to-peer mode.

* On the client side, --pull has been added, which basically says "accept certain config file options which the server pushes back to you." There is obviously a security implication with --push/--pull in that the client is trusting the server to control its configuration. As such, the client is strict about what kind of options it will accept from the server, and (by default) will not accept any option which would cause file modification or script execution. The major win of the push/pull capability is that the same client configuration file can be used on each client provided each client has its own set of SSL/TLS keys which have been signed by the master CA.

* The Windows TAP-Win32 driver has been extensively reworked based on some very good feedback I received from the microsoft.public.development.device.drivers newsgroup. The goal is to eliminate required reboots after install or uninstall on certain platforms such as Win2K. I would especially like to get feedback on whether this new driver fixes the rare problem of winsock corruption which has been reported to me by 3 users, but never reproduced by myself. Also, this driver lets you explicitly set the TAP adapter MAC address in the adapter advanced properties dialog, a feature that has been suggested by several of you. This driver should be backportable to OpenVPN 1.x.

* The server requires TLS mode and will not work with static keys. I don't see this as really being a disadvantage because the major reason to use static keys in the first place is that they are very easy to configure. This advantage is lost in a scalable environment where potentially hundreds or thousands of client keys would need to be maintained by the server. On the other hand, SSL/TLS is a big win for scalability and server-side managment because the server only needs a single pair of SSL/TLS keys. It doesn't need to be personally familiar with every possible client, it only needs to check that a client's certificate was signed by the master CA certificate and that the client certificate is not in the CRL (certificate revocation list).

* The server has been designed so that it can run with reduced privilege.

* For those of you who look at the source code, you will see major changes. In OpenVPN 1.x the tunnel state is basically maintained on the stack in the openvpn() function. In 2.0 an object has been added (called struct context) that fully encapsulates the state information of a tunnel instance. The openvpn() function is now small and consise, with most support code having been moved to init.c and forward.c.

Still to do before 2.0 final:

* Add TCP support to server mode.

* Add multithreading to server mode to take advantage of SMP capabilities and reduce worst-case latency.

* Add an internal routing capability to the OpenVPN server to allow client-to-client communication, without going through the tun interface on the server.

Other features that may or may not make it into 2.0 final:

* Add tap interface and ethernet bridging support to server mode with the caveat that tap-based VPNs scale badly on network bandwidth because of their reliance on broadcasts, which must be copied and forwarded separately to every client. Most people want ethernet bridging to allow for easy windows file-sharing and browsing. However with a little bit of extra configuration, taking advantage of new options such as --dhcp-options to push a WINS server address to connecting clients (without even needing a real DHCP server), it should be possible to get the major benefits of bridging in a scalable, routed configuration.

* Right now clients are allocated a single, dynamic IP address. It would be nice if a connecting client could specify a full subnet to be tunneled.

* --push/--pull has some present limitations in the options it is able to support. Some options such as enabling compression and setting crypto options are not yet supported in a push/pull context. If an unsupported option is used, the client will non-fatally complain.

* It would be nice to provide for some client-side failover by allowing --remote to specify a set of machines, or allow a hostname in --remote that has been configured with multiple addresses in DNS. The idea is that a server would be randomly chosen from the list, and if the connect failed, another would be tried.

Caveats:

* Man page slightly lagging behind latest features, though usage message is complete.

* --tun-mtu 1500 --mssfix 1450 is now the default (in 1.x the default is --link-mtu 1300 for tun interfaces and --tun-mtu 1500 for tap interfaces, with --mssfix disabled).

* For TLS usage, --key-method 2 is now the default. Use --key-method 1 to communicate with 1.x.

Other points worth mentioning:

* Windows self-install exe ships with OpenSSL 0.9.7d.

Ideas for beyond 2.0:

* True point-to-multipoint capability -- essentially a generalization of the current multi-client server model. In point-to-multipoint mode, a host can securely connect into a kind of "VPN cloud" that is fully distributed, without a single point of failure. The VPN cloud is like a small version of the internet itself and uses a protcol such as OSPF to dynamically manage routing information. The key advantage of this model is that it is distributed rather than being bound to a single server. This means that VPN traffic will take a direct path between any 2 points in the cloud, rather than needing to go through a central server.

Sample Configuration files:

########################################
# Sample OpenVPN config file for

# multi-client udp server

port 5000
dev tun

# TLS parms

tls-server
ca sample-keys/tmp-ca.crt
cert sample-keys/server.crt
key sample-keys/server.key
dh sample-keys/dh1024.pem

# Tell OpenVPN to be a multi-client udp server
mode server

# The server's virtual endpoints
ifconfig 10.8.0.1 10.8.0.2

# Pool of /30 subnets to be allocated to clients.
# When a client connects, an --ifconfig command

# will be automatically generated and pushed back to
# the client.
ifconfig-pool 10.8.0.4 10.8.0.255

# Push route to client to bind it to our local

# virtual endpoint.
push "route 10.8.0.1 255.255.255.255"

# Delete client instances after some period

# of inactivity.
inactive 600

# Route the --ifconfig pool range into the
# OpenVPN server.
route 10.8.0.0 255.255.255.0

# The server doesn't need privileges
user nobody
group nobody

verb 4

#########################################
# Sample client-side OpenVPN config file

# for connecting to multi-client server.
#
# The server can be pinged at 10.8.0.1.
#
# This configuration can be used by multiple
# clients, however each client should have
# its own cert and key files.

port 5000
dev tun
remote [my server hostname or IP address]

# TLS parms

tls-client
ca sample-keys/tmp-ca.crt
cert sample-keys/client.crt
key sample-keys/client.key

# This parm is required for connecting

# to a multi-client server.  It tells
# the client to accept options which
# the server pushes to us.
pull

verb 4

###########################################

#1 lore raw
Quoted 6 lines · James Yonan

OpenVPN 2.0 -- Project Update and Release Notes

I'm happy to announce that the first OpenVPN 2.0 beta is here, and well ahead of schedule. This is in large part thanks to a generous contribution by Meetrix Inc. which has allowed me to work full-time on the project during the last month.

This is just awesome! I read through the list of improvements and am truly amazed. Also a thanks goes out to Meetrix for its role in this release.

If there is one thing I lament, it's the loss of static keys. I would guess that a good many installs of OpenVPN are in very very small networks that probably all use static keys. Is there anything that can be done to add this back?

--
Jon Nelson <[email protected]...>

#2 lore raw
In reply to James Yonan
Quoted 6 lines · James Yonan

OpenVPN 2.0 -- Project Update and Release Notes

I'm happy to announce that the first OpenVPN 2.0 beta is here, and well ahead of schedule. This is in large part thanks to a generous contribution by Meetrix Inc. which has allowed me to work full-time on the project during the last month.

Great work! Many thanks to you and everyone that helped to make this happen.

#3 lore raw
In reply to James Yonan

first of all THANKS!

Quoted 3 lines · James Yonan

* Add an internal routing capability to the OpenVPN server to allow client-to-client communication, without going through the tun interface on the server.

why this is needed? ans what exactly this means?

Quoted 2 lines

* Right now clients are allocated a single, dynamic IP address. It would be nice if a connecting client could specify a full subnet to be tunneled.

would be welcome!

Quoted 5 lines

* It would be nice to provide for some client-side failover by allowing --remote to specify a set of machines, or allow a hostname in --remote that has been configured with multiple addresses in DNS. The idea is that a server would be randomly chosen from the list, and if the connect failed, another would be tried.

would be nice.

Quoted 9 lines

* True point-to-multipoint capability -- essentially a generalization of the current multi-client server model. In point-to-multipoint mode, a host can securely connect into a kind of "VPN cloud" that is fully distributed, without a single point of failure. The VPN cloud is like a small version of the internet itself and uses a protcol such as OSPF to dynamically manage routing information. The key advantage of this model is that it is distributed rather than being bound to a single server. This means that VPN traffic will take a direct path between any 2 points in the cloud, rather than needing to go through a central server.

how does this effect the --redirect-gateway option? it's my favorite since I like that my vpn clients can only communicate with me (the server) and through me the rest of the world (intranet, other vpn point and internet). this is essential when I wanna make a central firewall and internet access policy. this is why it's not clear to me what do you mean by the above "client-to-client communication"?

Quoted 2 lines

# The server's virtual endpoints
ifconfig 10.8.0.1 10.8.0.2

this means this server has two enpoint in the server side?

Signature · 1 line
  Levente                               "Si vis pacem para bellum!"
#4 lore raw
Quoted 8 lines · Farkas Levente

first of all THANKS!

Quoted 3 lines · James Yonan

* Add an internal routing capability to the OpenVPN server to allow client-to-client communication, without going through the tun interface on the server.

why this is needed? ans what exactly this means?

Basically OpenVPN 2.0 is a router. It gets packets from a single tun interface and uses the destination address on the packet to determine which client to route it to. So what should the router do if a packet comes from a client and has as its destination address another client? Some people would want to block this capability and other would want to allow it. If you block it, connecting clients can only see the central server's network. If you allow it, one client could browse file shares on another client.

Quoted 4 lines
Quoted 2 lines

* Right now clients are allocated a single, dynamic IP address. It would be nice if a connecting client could specify a full subnet to be tunneled.

would be welcome!

There are several problems with this that need to be solved (which I don't think are insurmountable):

(1) First of all, there are security implications in allowing a client to push a route onto a server, which would be necessary if a private subnet exists behind the client that you want to route. Probably the server config file would need to specify special routes for various clients, based on the client common name.

(2) In general you want to run the VPN server with reduced privilege, to limit damage in the case that the server is somehow compromised. But adding and removing routes requires privilege, unless all routes for every possible client are configured on server startup, before the privilege downgrade.

(3) static routes tied to specific clients interferes with failover. Suppose you have 2 machines running a VPN server, and for purposes of load balancing and failover, you want clients to be able to connect to either server. Now once you start to have clients needing static routes, it means that the gateway on the server's network needs to understand that a given static route might need to point to either server A or server B, depending on which of the two servers the client is currently connected to. So essentially, the server would need to be able to push routes onto the gateway.

Of course all of these problems go away if the client NATs its private subnet onto the remote VPN endpoint. There would also be the possibility of having the server dynamically allocate a full netblock to the client and then have the client do one-to-one NAT between the static addresses on the subnet and the dynamically allocated VPN subnet. Yet another possibility is simply to have each machine in the remote subnet have its own private tunnel to the VPN server.

So there's certainly a number of possible solutions, but no magic bullet that I can think of.

Quoted 26 lines
Quoted 5 lines

* It would be nice to provide for some client-side failover by allowing --remote to specify a set of machines, or allow a hostname in --remote that has been configured with multiple addresses in DNS. The idea is that a server would be randomly chosen from the list, and if the connect failed, another would be tried.

would be nice.

Quoted 9 lines

* True point-to-multipoint capability -- essentially a generalization of the current multi-client server model. In point-to-multipoint mode, a host can securely connect into a kind of "VPN cloud" that is fully distributed, without a single point of failure. The VPN cloud is like a small version of the internet itself and uses a protcol such as OSPF to dynamically manage routing information. The key advantage of this model is that it is distributed rather than being bound to a single server. This means that VPN traffic will take a direct path between any 2 points in the cloud, rather than needing to go through a central server.

how does this effect the --redirect-gateway option? it's my favorite since I like that my vpn clients can only communicate with me (the server) and through me the rest of the world (intranet, other vpn point and internet). this is essential when I wanna make a central firewall and internet access policy.
this is why it's not clear to me what do you mean by the above "client-to-client communication"?

Quoted 4 lines
Quoted 2 lines

# The server's virtual endpoints
ifconfig 10.8.0.1 10.8.0.2

this means this server has two enpoint in the server side?

Not really. The server's local VPN endpoint is 10.8.0.1. This is the address which all clients will use to reach the server. The 10.8.0.2 is really a pseudo-address which is not bound to anything. You couldn't ping it for example. However you can use it as a destination for routes which exist in the server's routing table. When you do this, the packet will be routed to OpenVPN which will then use an internal routing algorithm to route it to the appropriate client. The way to think about this in a non-confusing way is to treat the 10.8.0.2 as the "name" of the server's tun interface, so that when you want to route a subnet into server, you can use 10.8.0.2 as the destination.

James

#5 lore raw
Quoted 14 lines · James Yonan
Quoted 9 lines · Farkas Levente

first of all THANKS!

Quoted 3 lines · James Yonan

* Add an internal routing capability to the OpenVPN server to allow client-to-client communication, without going through the tun interface on the server.

why this is needed? ans what exactly this means?

Quoted 7 lines

Basically OpenVPN 2.0 is a router. It gets packets from a single tun interface and uses the destination address on the packet to determine which client to route it to. So what should the router do if a packet comes from a client and has as its destination address another client? Some people would want to block this capability and other would want to allow it. If you block it, connecting clients can only see the central server's network. If you allow it, one client could browse file shares on another client.

hmm, thanks I know what's the routing, but I ask this part:
"client-to-client communication, without going through the tun.."

                                 ^^^^^^^
Quoted 6 lines
Quoted 4 lines
Quoted 2 lines

* Right now clients are allocated a single, dynamic IP address. It would be nice if a connecting client could specify a full subnet to be tunneled.

would be welcome!

Quoted 8 lines

There are several problems with this that need to be solved (which I don't think are insurmountable):

(1) First of all, there are security implications in allowing a client to push a route onto a server, which would be necessary if a private subnet exists behind the client that you want to route. Probably the server config file would need to specify special routes for various clients, based on the client common name.

yes, but it's possible in th 1.x (although all clients has it's own config file), but since I can use --ifconfig-pool (which is great) I don't know in advance which /30 subnet will be used by the clinet, so define static route is a bit problematic.

Quoted 4 lines

(2) In general you want to run the VPN server with reduced privilege, to limit damage in the case that the server is somehow compromised. But adding and removing routes requires privilege, unless all routes for every possible client are configured on server startup, before the privilege downgrade.

that's a good point:-(((

Quoted 17 lines

(3) static routes tied to specific clients interferes with failover. Suppose you have 2 machines running a VPN server, and for purposes of load balancing and failover, you want clients to be able to connect to either server. Now once you start to have clients needing static routes, it means that the gateway on the server's network needs to understand that a given static route might need to point to either server A or server B, depending on which of the two servers the client is currently connected to. So essentially, the server would need to be able to push routes onto the gateway.

Of course all of these problems go away if the client NATs its private subnet onto the remote VPN endpoint. There would also be the possibility of having the server dynamically allocate a full netblock to the client and then have the client do one-to-one NAT between the static addresses on the subnet and the dynamically allocated VPN subnet. Yet another possibility is simply to have each machine in the remote subnet have its own private tunnel to the VPN server.

Quoted 2 lines

So there's certainly a number of possible solutions, but no magic bullet that I can think of.

I see the problems.

Quoted 9 lines
Quoted 4 lines
Quoted 2 lines

# The server's virtual endpoints
ifconfig 10.8.0.1 10.8.0.2

this means this server has two enpoint in the server side?

Not really. The server's local VPN endpoint is 10.8.0.1. This is the address which all clients will use to reach the server. The 10.8.0.2 is really a pseudo-address which is not bound to anything. You couldn't ping it for

than it'd be better to omit. it's just confusing!

Quoted 6 lines

example. However you can use it as a destination for routes which exist in the server's routing table. When you do this, the packet will be routed to OpenVPN which will then use an internal routing algorithm to route it to the appropriate client. The way to think about this in a non-confusing way is to treat the 10.8.0.2 as the "name" of the server's tun interface, so that when you want to route a subnet into server, you can use 10.8.0.2 as the destination.

aha, than two separete config option would be more intuitive (or it should have to be well documented).
in this case my first question getting cleaner. although I still thing that routing is better to do in the os (where it's tuned better) and somehow propagate openvpn's route table to the os's route tables. do it two separate place can get confusing and may result fault.

Signature · 1 line
  Levente                               "Si vis pacem para bellum!"
#8 lore raw
In reply to James Yonan
Quoted 6 lines · James Yonan

OpenVPN 2.0 -- Project Update and Release Notes

I'm happy to announce that the first OpenVPN 2.0 beta is here, and well ahead of schedule. This is in large part thanks to a generous contribution by Meetrix Inc. which has allowed me to work full-time on the project during the last month.

Wow! Impressive job James! Thanks a lot for your work. And thanks Meetrix for your support!

Debian package available (for testing/unstable) at:

http://tmp.inittab.org/~agi/openvpn_2.0_beta18-1_i386.deb

Consider it Beta, and report bugs to [email protected] (in case of openvpn related problem) or me (in case of packaging errors).

Signature · 5 lines
Alberto Gonzalez Iniesta   | BOFH excuse #191:
agi@(agi.as|debian.org)    | Just type 'mv * /dev/null'.
Encrypted mail preferred   | 

Key fingerprint = 9782 04E7 2B75 405C F5E9  0C81 C514 AF8E 4BA4 01C3
#6 lore raw
In reply to Farkas Levente
Quoted 11 lines · Farkas Levente
Quoted 7 lines

Basically OpenVPN 2.0 is a router. It gets packets from a single tun interface and uses the destination address on the packet to determine which client to route it to. So what should the router do if a packet comes from a client and has as its destination address another client? Some people would want to block this capability and other would want to allow it. If you block it, connecting clients can only see the central server's network. If you allow it, one client could browse file shares on another client.

hmm, thanks I know what's the routing, but I ask this part:
"client-to-client communication, without going through the tun.."

                                  ^^^^^^^

It means that OpenVPN gets a packet from client A that is destined to client B. It is possible for OpenVPN to route this packet directly without actually going through the tun interface.

However if OpenVPN ignores this fact and writes the packet to the tun device (which will cause it to "appear" on the tun interface from the perspective of the network stack), it might confuse the OS because you're giving it a packet for which the system routing table is simply going to bounce the packet back to the tun interface. Some OSes might interpret this as a routing loop and drop the packet.

Quoted 10 lines
Quoted 5 lines

(1) First of all, there are security implications in allowing a client to push a route onto a server, which would be necessary if a private subnet exists behind the client that you want to route. Probably the server config file would need to specify special routes for various clients, based on the client common name.

yes, but it's possible in th 1.x (although all clients has it's own config file), but since I can use --ifconfig-pool (which is great) I don't know in advance which /30 subnet will be used by the clinet, so define static route is a bit problematic.

Right, static routes and --ifconfig-pool don't really play well together.

Quoted 11 lines
Quoted 9 lines
Quoted 4 lines
Quoted 2 lines

# The server's virtual endpoints
ifconfig 10.8.0.1 10.8.0.2

this means this server has two enpoint in the server side?

Not really. The server's local VPN endpoint is 10.8.0.1. This is the address which all clients will use to reach the server. The 10.8.0.2 is really a pseudo-address which is not bound to anything. You couldn't ping it for

than it'd be better to omit. it's just confusing!

I agree that it's confusing. But it accurately describes the necessary ifconfig operation to configure the tun interface.

Quoted 6 lines
Quoted 6 lines

example. However you can use it as a destination for routes which exist in the server's routing table. When you do this, the packet will be routed to OpenVPN which will then use an internal routing algorithm to route it to the appropriate client. The way to think about this in a non-confusing way is to treat the 10.8.0.2 as the "name" of the server's tun interface, so that when you want to route a subnet into server, you can use 10.8.0.2 as the

destination.

Quoted 7 lines

aha, than two separete config option would be more intuitive (or it should have to be well documented).
in this case my first question getting cleaner. although I still thing that routing is better to do in the os (where it's tuned better) and somehow propagate openvpn's route table to the os's route tables. do it two separate place can get confusing and may result fault.

I absolutely agree that routing is better done in the OS. However, the problem is that if you are a VPN server with many clients and one tun/tap interface, you are a router. There's not really any way around that basic fact.

James

#7 lore raw
Quoted 20 lines · James Yonan
Quoted 11 lines · Farkas Levente
Quoted 7 lines

Basically OpenVPN 2.0 is a router. It gets packets from a single tun interface and uses the destination address on the packet to determine which client to route it to. So what should the router do if a packet comes from a client and has as its destination address another client? Some people would want to block this capability and other would want to allow it. If you block it, connecting clients can only see the central server's network. If you allow it, one client could browse file shares on another client.

hmm, thanks I know what's the routing, but I ask this part:
"client-to-client communication, without going through the tun.."

                                 ^^^^^^^

It means that OpenVPN gets a packet from client A that is destined to client B. It is possible for OpenVPN to route this packet directly without actually going through the tun interface.

Quoted 6 lines

However if OpenVPN ignores this fact and writes the packet to the tun device (which will cause it to "appear" on the tun interface from the perspective of the network stack), it might confuse the OS because you're giving it a packet for which the system routing table is simply going to bounce the packet back to the tun interface. Some OSes might interpret this as a routing loop and drop the packet.

that's the problems of the os, but in this case I can use my packet filter rules to define which os can do what? and other firewall config possibilities. which can be a big plusz!

Quoted 10 lines
Quoted 7 lines
Quoted 5 lines

(1) First of all, there are security implications in allowing a client to push a route onto a server, which would be necessary if a private subnet exists behind the client that you want to route. Probably the server config file would need to specify special routes for various clients, based on the client common name.

yes, but it's possible in th 1.x (although all clients has it's own config file), but since I can use --ifconfig-pool (which is great) I don't know in advance which /30 subnet will be used by the clinet, so define static route is a bit problematic.

Right, static routes and --ifconfig-pool don't really play well together.

but there is not any other possibility if I have a network behind the clinet!:-(((

Quoted 10 lines
Quoted 10 lines
Quoted 9 lines
Quoted 4 lines
Quoted 2 lines

# The server's virtual endpoints
ifconfig 10.8.0.1 10.8.0.2

this means this server has two enpoint in the server side?

Not really. The server's local VPN endpoint is 10.8.0.1. This is the address which all clients will use to reach the server. The 10.8.0.2 is really a pseudo-address which is not bound to anything. You couldn't ping it for

Quoted 5 lines
Quoted 1 line

than it'd be better to omit. it's just confusing!

I agree that it's confusing. But it accurately describes the necessary ifconfig operation to configure the tun interface.

yes, but it's a internal thing the "users" of the server don't have to know about it.

Quoted 9 lines
Quoted 6 lines
Quoted 6 lines

example. However you can use it as a destination for routes which exist in the server's routing table. When you do this, the packet will be routed to OpenVPN which will then use an internal routing algorithm to route it to the appropriate client. The way to think about this in a non-confusing way is to treat the 10.8.0.2 as the "name" of the server's tun interface, so that when you want to route a subnet into server, you can use 10.8.0.2 as the

destination.

Quoted 8 lines
Quoted 3 lines

aha, than two separete config option would be more intuitive (or it should have to be well documented).
in this case my first question getting cleaner. although I still thing that routing is better to do in the os (where it's tuned better) and somehow propagate openvpn's route table to the os's route tables. do it two separate place can get confusing and may result fault.

I absolutely agree that routing is better done in the OS. However, the problem is that if you are a VPN server with many clients and one tun/tap interface, you are a router. There's not really any way around that basic fact.

not, but how can I use my firewall in this case? may be I don't wanna allow client A to see client B. in this case your router should have to be a firewall to and ...

Signature · 1 line
  Levente                               "Si vis pacem para bellum!"
#9 lore raw
In reply to Alberto Gonzalez Iniesta
Quoted 4 lines · Alberto Gonzalez Iniesta

Debian package available (for testing/unstable) at:

http://tmp.inittab.org/~agi/openvpn_2.0_beta18-1_i386.deb

Sorry, that should read:

http://tmp.inittab.org/~agi/openvpn_2.0_test18-1_i386.deb

It's a test release, not a beta one.

Signature · 5 lines
Alberto Gonzalez Iniesta   | BOFH excuse #367:
agi@(agi.as|debian.org)    | Webmasters kidnapped by evil cult.
Encrypted mail preferred   | 

Key fingerprint = 9782 04E7 2B75 405C F5E9  0C81 C514 AF8E 4BA4 01C3
#10 lore raw
In reply to James Yonan
Quoted 6 lines · James Yonan

OpenVPN 2.0 -- Project Update and Release Notes

I'm happy to announce that the first OpenVPN 2.0 beta is here, and well ahead of schedule. This is in large part thanks to a generous contribution by Meetrix Inc. which has allowed me to work full-time on the project during the last month.

In how far does the new OpenVPN 2.0 server require client upgrades?

Which client versions (providing the clients use TLS) are still compatible?

Signature · 3 lines
Matthias Andree

Encrypt your mail: my GnuPG key ID is 0x052E7D95
#11 lore raw
Quoted 10 lines · Matthias Andree
Quoted 6 lines · James Yonan

OpenVPN 2.0 -- Project Update and Release Notes

I'm happy to announce that the first OpenVPN 2.0 beta is here, and well ahead of schedule. This is in large part thanks to a generous contribution by Meetrix Inc. which has allowed me to work full-time on the project during the last month.

In how far does the new OpenVPN 2.0 server require client upgrades?

If you run 2.0 in point-to-point mode (i.e. 1.x behaviour) no client upgrades are required, with the caveat that some default options have changed.

If you want to use --mode server, then both the client and server need to be 2.0 because the client needs to support the --pull option in order to get dynamic configuration info from the server.

James

#12 lore raw
In reply to James Yonan

James,

this is amazing! :-))) I was happy to get the forking server working with multiple clients in 1.6. But 2.0 sounds like a gem! Will give it a try ASAP. Great work!

Stephan

Signature · 8 lines
Stephan Scholz <[email protected]...> | Development
Astaro AG | www.astaro.com | Phone +49-721-490069-0 | Fax -55

Awards for ASL:
- Nätverk & Kommunikation Magazine, Sweden: "Five Stars" - October 2003
- Linux Enterprise Readers' Choice Award: Best Firewall - October 2003
- LinuxWorld Product Excellence Award: Best Security Solution - August 2003
- "Excellent" Infoworld Magazine - August 2003