IPPools + Proxies

classic Classic list List threaded Threaded
2 messages Options
| Threaded
Open this post in threaded view
|

IPPools + Proxies

Joshua Coombs
I'm trying to use ippools defined within radius for users in a
specific domain that I proxy auth for.

On the main radius server I have:
---
radiusd.conf:
modules {
        ippool pool1 {
                name = pool1
                range-start = 192.168.1.64
                range-stop = 192.168.1.67
                netmask = 255.255.255.255
                cache-size = 4
                session-db = ${raddbdir}/pool1.ippool
                ip-index = ${raddbdir}/pool1.ipindex
                override = yes
        }
}

accounting {
    detail
    pool1
}

post-auth {
    pool1
}

---
attrs:
test.net
        Pool-Name := pool1,
        Fall-Through := No

---
proxy.conf:
realm test.net {
        type            = radius
        authhost        = radius1.test.net:1812
        accthost        = radius1.test.net:1813
        secret          = 321contact
        nostrip
}

The remote radius server is running FreeRadius as well, and just doing
simple unix passwd backed auth.  So far, I can't get the local server
to apply the pool definition for this realm.  What am I forgetting?

Joshua Coombs

-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
| Threaded
Open this post in threaded view
|

Re: IPPools + Proxies

Alan DeKok
"Joshua Coombs" <[hidden email]> wrote:
> attrs:
> test.net
>         Pool-Name := pool1,
>         Fall-Through := No

  Why are you using the "attrs" file instead of the "users" file?

  Alan DeKok.
-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html