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

Re: [Openvpn-users] misunderstanding with respect to openvpn server ip address assignment


  • Subject: Re: [Openvpn-users] misunderstanding with respect to openvpn server ip address assignment
  • From: James Yonan <jim@xxxxxxxxx>
  • Date: Thu, 2 Jun 2005 05:37:03 -0600 (MDT)

On Wed, 1 Jun 2005, Jason Keltz wrote:

> I wish to assign a specific IP to an OpenVPN server.  The clients 
> receive their addresses manually through the ccd mechanism and not 
> through the address pool.  Instead of using:
> 
> server 10.8.0.0 255.255.255.0
> 
> I want to use:
> 
> mode server
> tls-server
> ifconfig 10.8.0.1 10.8.0.2
> route 10.8.0.0 255.255.255.0
> 
> This works.  One client happens to be 10.8.0.10.
> 
> What is not clear to me is why I require the 10.8.0.2?  Isn't the VPN 
> endpoint different for each host in "server" mode?  I'm sure I'm 
> misunderstanding the concept, and I'm sure that someone can clear up the 
> misundestanding quickly.

A point-to-point link must have two IP addresses defined: one for the
local endpoint, and one for the remote endpoint.  The 10.8.0.2 is the
remote endpoint for the server's tun interface.  In practice, when using 
OpenVPN in multiclient mode, the remote endpoint is only used as a gateway 
for routes.

For example, if you want to route a given subnet to the VPN, you would use 
10.8.0.2 as gateway for the route.

James

____________________________________________
Openvpn-users mailing list
Openvpn-users@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/openvpn-users


Warning: require_once(../../../archive_common.php) [function.require-once]: failed to open stream: No such file or directory in /home/openvpn/domains/openvpn.net/public_html/archive/openvpn-users/2005-06/msg00020.html on line 205

Fatal error: require_once() [function.require]: Failed opening required '../../../archive_common.php' (include_path='/usr/local/lib/php') in /home/openvpn/domains/openvpn.net/public_html/archive/openvpn-users/2005-06/msg00020.html on line 205