proxy wildcard realms (subdomains)
Tariq Rashid
tariq.rashid at uk.easynet.net
Fri Jun 17 11:24:04 CEST 2005
thanks - this works very well. i'm replying so that future searchers of the
mailing list archives can see that it does indeed work.
working example (etc/raddb/users file for that that couldn't fine which file
to edit!)
# following is used to map subdomains of *.easynet.co.uk
# to be proxied according to the realm easynet.co.uk
DEFAULT User-Name =~ "@.*\.easynet\.co\.uk$", Proxy-To-Realm :=
"easynet.co.uk"
# following is used to map subdomains of *.ukonline.co.uk
# to be proxied according the realm ukonline.co.uk
DEFAULT User-Name =~ "@.*\.ukonline\.co\.uk$", Proxy-To-Realm :=
"ukonline.co.uk"
t
-----Original Message-----
From: freeradius-users-bounces at lists.freeradius.org
[mailto:freeradius-users-bounces at lists.freeradius.org]On Behalf Of Alan
DeKok
Sent: 16 June 2005 17:59
To: FreeRadius users mailing list
Subject: Re: proxy wildcard realms (subdomains)
Tariq Rashid <tariq.rashid at uk.easynet.net> wrote:
> hi - i after much searching the archives i couldn't find a good way to
proxy
> to subdomains of a domain:
>
> user at xxx.yyy.zz.domain.com
>
> for any number of subdomains under a given domain.com (inlcuding nil).
>
> is this possible? (i don't want the username stripped)
yes.
DEFAULT User-Name =~ "domain\.com$", Proxy-To-Realm := "domain.com"
Alan DeKok.
-
List info/subscribe/unsubscribe? See
http://www.freeradius.org/list/users.html
More information about the Freeradius-Users
mailing list