|
|
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 |