From: Ralf =?iso-8859-1?q?L=FCbben?= Subject: Re: [Openvpn-devel] Re: Re: Radius support (Authentification, Authorization and Accounting) References: <200504291033.00667.ralfluebben@...68...> <200505311009.03402.ralfluebben@...68...> <1117542280.11895.14.camel@...23...> In-Reply-To: <1117542280.11895.14.camel@...23...> MIME-Version: 1.0 Message-Id: <200505312321.24104.ralfluebben@...68...> Sender: openvpn-devel-admin@lists.sourceforge.net Errors-To: openvpn-devel-admin@lists.sourceforge.net List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue May 31 14:26:09 2005 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline To: openvpn-devel@lists.sourceforge.net Ok, I implemented a list. Everytime a user connects he gets the least number which is free or a new number is added to the list. But how do you want to create the ip address pool? Every client needs two ip addresses for one interface.=20 I get the framed ip address from the radius answer packet. The first ip address is the ip address in framed ip address attribute, the= =20 second ip address is generated by incrementing the last byte of the address: Example: framed ip address: 10.8.0.20 second ip address: 10.8.0.21 client config file =3D> ifconfig-push 10.8.0.20 10.8.0.21 I have no I idea what happens if an other client gets the ip pair 10.8.0.21 & 10.8.0.22.=20 On windows both ip address must be out of one /30-subnet.=20 Can you make this assignment with freeradius? If the framed ip attribute is set in the users configuration file it will b= e=20 task of the admin to set the right ip addresses.=20 Greetings Ralf Am Dienstag, 31. Mai 2005 12:24 schrieb Torge Szczepanek: > Am Dienstag, den 31.05.2005, 10:09 +0000 schrieb Ralf L=FCbben: > > If a client connects the nas port number is locked , if a client > > disconnect the port number is freed. > > A new client will always get the least number of the array. > > > > Would this behaviour ok? > > Yes. That would be OK. > > > How many nas port numbers will I need? > > I think 1000 will be enough or can there be more than 1000 clients at > > the same time? > > Hmm. Must there be a limit? I am asking since I had some troubles with a > PPTP VPN pushing this to more than 100 or 256 users. So software > hardlimits aren't really a good choice. If this isn't to much work I > would suggest to put in a dynamic variable. Since you are using C++ you > might just use a STL type? I don't know whether STLs are portable across > platforms... > > > > > > ------------------------------------------------------- > This SF.Net email is sponsored by Yahoo. > Introducing Yahoo! Search Developer Network - Create apps using Yahoo! > Search APIs Find out how you can build Yahoo! directly into your own > Applications - visit http://developer.yahoo.net/?fr=3Doffad-ysdn-ostg-q22= 005 > _______________________________________________ > Openvpn-devel mailing list > Openvpn-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/openvpn-devel