Re: Re-writes required for proxied connections - HOWTO
Hi, Am Di, den 01.06.2004 um 23:10 Uhr +0100 schrieb paul hanson: Hi, I have the latest 0.93 available on SuSE Professional 9.1 and need to proxy in-bound requests based upon the called phone number. The most obvious way would be to add a realm name to the 'user name' and proxy based upon the full account name matched to a called phone number. i.e. fred. [EMAIL PROTECTED]. I will need to further strip the realm name once re-directed to the correct radius server. I do that on our proxy radius with entries like this in the users file: DEFAULT Called-Station-Id == 123, Proxy-To-Realm := foobar Fall-Through = no You just have to define the realm in the proxy.conf like you would do normally, and if you don't specify it, the suffix is stripped off before sending the request to the home server. Regards Stephan Jaeger - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
Re: Re-writes required for proxied connections - HOWTO
Alan, I am currently working on a php based front-end (so to speak) to allow configuration for freeradius's use of mysql database tables (modified for my specific use) and your response given below brought up a question I have read about the radcheck/radreply table entries in the mysql database (both the sql_realm and the man pages for users). I read where the database layout follows the users file layout for the most part - the question I have (guess I am dense or just not getting it) is how would you setup the entries in the mysql tables to handle the Proxy-To-Realm entry you described below for the users file??? This example should turn on the light bulb in my head for this [grin]... TIA Gary N. McKinney Network Administrator Computer Services Dept. Brevard County Library System -- Original Message -- From: Alan DeKok [EMAIL PROTECTED] Reply-To: [EMAIL PROTECTED] Date: Wed, 02 Jun 2004 10:44:04 -0400 paul hanson [EMAIL PROTECTED] wrote: I have the latest 0.93 available on SuSE Professional 9.1 and need to proxy in-bound requests based upon the called phone number. Use the Proxy-To-Realm attribute. DEFAULT Called-Station-Id == 5551212, Proxy-To-Realm := foo.com Alan DeKok. - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html --- [This E-mail scanned for viruses by Declude Ant-Virus Scanner] Sent via the KillerWebMail system at mail.brev.org - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
Re: Re-writes required for proxied connections - HOWTO
Gary McKinney [EMAIL PROTECTED] wrote: I am currently working on a php based front-end (so to speak) to allow configuration for freeradius's use of mysql database tables Ok... what's wrong with dialup_admin? It's been around for as long as FreeRADIUS, many people use it, and it works with LDAP multiple SQL back-ends. I read where the database layout follows the users file layout for the most part - the question I have (guess I am dense or just not getting it) is how would you setup the entries in the mysql tables to handle the Proxy-To-Realm entry you described below for the users file??? You put them in radcheck Alan DeKok. - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
Re: Re-writes required for proxied connections - HOWTO
Hi Alan, Nothing is wrong with dialup_admin - I just want to get my feet wet working with php and thought it would be a good real-world project [glutton for punishment I suppose]... I guess the best way for me to figure out how the radcheck works is to examine the sql query used by the code (freeradius) to see how the information is gathered for the checks... Thanks for the response! Gary N. McKinney Network Administrator Computer Services Dept. Brevard County Library System -- Original Message -- From: Alan DeKok [EMAIL PROTECTED] Reply-To: [EMAIL PROTECTED] Date: Wed, 02 Jun 2004 12:27:47 -0400 Gary McKinney [EMAIL PROTECTED] wrote: I am currently working on a php based front-end (so to speak) to allow configuration for freeradius's use of mysql database tables Ok... what's wrong with dialup_admin? It's been around for as long as FreeRADIUS, many people use it, and it works with LDAP multiple SQL back-ends. I read where the database layout follows the users file layout for the most part - the question I have (guess I am dense or just not getting it) is how would you setup the entries in the mysql tables to handle the Proxy-To-Realm entry you described below for the users file??? You put them in radcheck Alan DeKok. - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html --- [This E-mail scanned for viruses by Declude Ant-Virus Scanner] Sent via the KillerWebMail system at mail.brev.org - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
Re-writes required for proxied connections - HOWTO
Hi, I have the latest 0.93 available on SuSE Professional 9.1 and need to proxy in-bound requests based upon the called phone number. The most obvious way would be to add a realm name to the 'user name' and proxy based upon the full account name matched to a called phone number. i.e. fred. [EMAIL PROTECTED]. I will need to further strip the realm name once re-directed to the correct radius server. Are there other ways to achieve this ??? Or more efficient ways ??? Also what options are the most reliable - I understand that Freeradius is still 'beta'; however there must be certain options that are more alpha than beta?? Thanks - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html