Skip to content

Commit

Permalink
fix radrelay
Browse files Browse the repository at this point in the history
  • Loading branch information
jimdigriz authored and alandekok committed Feb 13, 2017
1 parent eca8a5e commit 8a8695f
Showing 1 changed file with 33 additions and 29 deletions.
62 changes: 33 additions & 29 deletions raddb/radrelay.conf.in
Expand Up @@ -73,13 +73,15 @@ security {

# reject_delay && status_server don't apply when we are
# only reading accounting packets from the detail file

@openssl_version_check_config@
}

#
# If you need more modules, add them here.
#
modules {
$INCLUDE ${confdir}/modules/always
$INCLUDE ${confdir}/mods-enabled/always
}

#
Expand Down Expand Up @@ -128,39 +130,41 @@ home_server_pool radrelay {
home_server = home1
}

#
# A dummy realm.
#
realm radrelay {
acct_pool = radrelay
}

#
# Read the detail file.
#
listen {
type = detail
server radrelay {
#
# A dummy realm.
#
realm radrelay {
acct_pool = radrelay
}

#
# The filename here should be the same as the one used by the
# main radiusd program. It writes the file using the "detail"
# module (see raddb/modules/detail).
# Read the detail file.
#
filename = ${radacctdir}/detail
load_factor = 90
}
listen {
type = detail

#
# The filename here should be the same as the one used by the
# main radiusd program. It writes the file using the "detail"
# module (see raddb/modules/detail).
#
filename = ${radacctdir}/detail
load_factor = 90
}

#
# See also raddb/sites-available/copy-acct-to-home-server
# for additional description.
#
preacct {
#
# Proxy the packet using the given realm.
# Note that we do not use the realm for anything else such
# as prefix/suffix stripping or comparisons.
# See also raddb/sites-available/copy-acct-to-home-server
# for additional description.
#
update control {
Proxy-To-Realm := "radrelay"
preacct {
#
# Proxy the packet using the given realm.
# Note that we do not use the realm for anything else such
# as prefix/suffix stripping or comparisons.
#
update control {
Proxy-To-Realm := "radrelay"
}
}
}

0 comments on commit 8a8695f

Please sign in to comment.