|
|
Thanks for you reply! what do you mean with "every client has its own /30" ? every client has 4 ip addresses ? for what? in ipp.txt I see that my client has associated 10.8.0.4. why? I can't use openvpn 2.1 because I use debian sarge and there isn't 2.1 packages available. By now I set each client address using ifconfig-push in ccd directory and it seems to work fine. Is this right? does exist another method to set client ip? Thanks a lot, Fabio On Thursday 02 February 2006 12:38, Jon Bendtsen wrote: > Den torsdag 2.feb kl. 12:28 skrev Fabio: > > Hi! > > I don't understand how openvpn server assigns ip address to > > clients. I studied > > server directive but without success. > > > > In my tests I note that: > > If I don't set ip client (using configuration file in > > client-configuration-dir), server assigns to client wrong (I think > > ip): > > > > server > > tun0 address 10.8.0.1 p-t-p: 10.8.0.2 > > > > client > > tun0 address 10.8.0.6 p-t-p: 10.8.0.5 > > > > why?? > > because every client has its own /30. > Use openvpn 2.1 and --topology subnet if you want a /32 for each client > > See: > http://openvpn.net/howto.html just over half way down, just above > "Using alternative authentication methods" > http://openvpn.net/man.html search for --ifconfig-pool > http://openvpn.net/man-beta.html search for --topology > > > > > > > > JonB > > > ------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. Do you grep through log > files for problems? Stop! Download the new AJAX search engine that makes > searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! > _______________________________________________ > Openvpn-users mailing list > Openvpn-users@xxxxxxxxxxxxxxxxxxxxx > https://lists.sourceforge.net/lists/listinfo/openvpn-users -- Dott. Fabio Marcone 2T srl Telefono +39 - 0871- 540154 Fax +39 - 0871- 571594 Email fabio.marcone@xxxxxxx Indirizzo Viale B. Croce 573 66013 Chieti Scalo (CH) GNU/Linux registered user #400424 ____________________________________________ 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/2006-02/msg00016.html on line 253 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/2006-02/msg00016.html on line 253 |