[OpenVPN home] [Date Prev] [Date Index] [Date Next]
[OpenVPN mailing lists] [Thread Prev] [Thread Index] [Thread Next]
Google
 
Web openvpn.net

Re: [Openvpn-users] Openvpn on openbsd, ifconfig-push problems


  • Subject: Re: [Openvpn-users] Openvpn on openbsd, ifconfig-push problems
  • From: Klaus Thielking-Riechert <klaus.thielking-riechert@xxxxxxxxxx>
  • Date: Wed, 9 Nov 2005 23:45:38 +0100

John,

On Tue, Nov 01, 2005 at 01:13:31PM +0000, John Allman wrote:

in your server.conf you have configured your pool for the
tunnels here:

> server 10.8.0.0 255.255.255.0

which says that your clients should be part of this
range.

regarding the following command

> route 10.9.0.0 255.255.255.252

you will add a route for 10.9.0.0/30 each time
a client connects pointing to the new client.

Regarding your CCD you will assing the client
whith the CN allmanj the following IP address

> # egrep -v "(^#|^ *$|^;)" ccd/allmanj
> ifconfig-push 10.9.0.1 10.9.0.2

which is as you stated. 

As you are using two different networks (the pool with
10.8.0.0/24 compared to 10.9.0.0/30) you will probably
get into trouble as the server-side of the tunnel typically
has the address of 10.8.0.1

Regards,

	Klaus

Attachment: signature.asc
Description: Digital signature