Proxy accounting packets
Hi All, I'm trying to proxy all the accounting packets to a different AAA. (Original packets doesn't have a realm) 1. I have added a new realm in proxy.conf realm vamps{ nostrip type = acct ipaddr = 34.161.1.41 port = 1813 secret = abc#16 } 2. Added followig at the top of sites-enabled/default accounting section update control { Proxy-To-Realm := vamps } However whe I sedn a accounting request to home AAA it discards proxying saying *rad_accounting: Cancelling proxy to realm vamps, as it is a LOCAL realm.* Am I doing something wrong with configurations. Appreciate your assistance on this. Thanks, -- *Anuruddha Premalala (MIEEE)Mobile : +94717213122E-mail : anuruddhapremalal@gmail.com <anuruddhapremalal@gmail.com>web : www.anuruddha.org <http://www.anuruddha.org>*
On Mon, Oct 31, 2016 at 02:08:20PM +0530, Anuruddha Premalal wrote:
realm vamps{ nostrip type = acct ipaddr = 34.161.1.41 port = 1813 secret = abc#16 }
This is a realm, not a home_server. realm vamps { nostrip authhost = 34.161.1.41:1813 accthost = 34.161.1.41:1813 secret = abc#16 } But that is old style config. You should probably set up a server_pool and home_server sections. See the default proxy.conf file. It's all documented there.
Am I doing something wrong with configurations. Appreciate your assistance on this.
If that doesn't work, please send the full output of "radiusd -X" as noted daily on this list. Matthew -- Matthew Newton, Ph.D. <mcn4@leicester.ac.uk> Systems Specialist, Infrastructure Services, I.T. Services, University of Leicester, Leicester LE1 7RH, United Kingdom For IT help contact helpdesk extn. 2253, <ithelp@le.ac.uk>
Hi Matthew, Thanks. It worked after setting up server_pool and home_server On Mon, Oct 31, 2016 at 4:22 PM, Matthew Newton <mcn4@leicester.ac.uk> wrote:
On Mon, Oct 31, 2016 at 02:08:20PM +0530, Anuruddha Premalal wrote:
realm vamps{ nostrip type = acct ipaddr = 34.161.1.41 port = 1813 secret = abc#16 }
This is a realm, not a home_server.
realm vamps { nostrip authhost = 34.161.1.41:1813 accthost = 34.161.1.41:1813 secret = abc#16 }
But that is old style config. You should probably set up a server_pool and home_server sections. See the default proxy.conf file. It's all documented there.
Am I doing something wrong with configurations. Appreciate your assistance on this.
If that doesn't work, please send the full output of "radiusd -X" as noted daily on this list.
Matthew
-- Matthew Newton, Ph.D. <mcn4@leicester.ac.uk>
Systems Specialist, Infrastructure Services, I.T. Services, University of Leicester, Leicester LE1 7RH, United Kingdom
For IT help contact helpdesk extn. 2253, <ithelp@le.ac.uk> - List info/subscribe/unsubscribe? See http://www.freeradius.org/ list/users.html
-- *Anuruddha Premalala (MIEEE)Mobile : +94717213122E-mail : anuruddhapremalal@gmail.com <anuruddhapremalal@gmail.com>web : www.anuruddha.org <http://www.anuruddha.org>*
participants (2)
-
Anuruddha Premalal -
Matthew Newton