Hi, I am facing issue with configuring realms. My requirement was "need to forward accounting packet to Fortigate". In radacct i am not getting Realm . below you can see my radacct table data. --------------------------------------------------------------------- # radacctid, acctsessionid, acctuniqueid, username, groupname, realm, nasipaddress, nasportid, nasporttype, acctstarttime, acctupdatetime, acctstoptime, acctinterval, acctsessiontime, acctauthentic, connectinfo_start, connectinfo_stop, acctinputoctets, acctoutputoctets, calledstationid, callingstationid, acctterminatecause, servicetype, framedprotocol, framedipaddress '2', '3C07A8C0-0008A16D', '33dcf4d9b2a4e05be6c38b2b6509ea6c', 'bob', 'students', '', '192.168.0.4', '0', 'Wireless-802.11', '2018-09-13 14:59:36', '2018-09-13 14:59:36', '2018-09-13 15:06:07', NULL, '390', 'RADIUS', 'CONNECT Unknown Radio', 'CONNECT Unknown Radio', '625711', '8754721', '00:0c:29:67:6d:ec', '17:f0:r4:b0:fe:td', 'User-Request', '', '', '192.168.0.60' -------------------------------------------------------------------- so to show realm value in radacct and send accounting packets to fortigate i modified in radiusd.conf and proxy.conf. below you can see change that i made to conf files: radiusd.conf:= modules { realm FortiGate { format = suffix delimiter = "@" } } proxy.conf:= Proxy-To-Realm:="FortiGate" and realm FortiGate { authhost =192.168.0.1:1812 accthost =192.168.0.1:1813 secret =a1rl08 } ----------------------------------------------------------------- I am not getting anything. I know i am doing wrong. Can you suggest me please how to achieve this?
On Sep 14, 2018, at 7:29 AM, Somanath Mishra <somanath.mishra@planetsbrain.com> wrote:
In radacct i am not getting Realm . below you can see my radacct table data.
We don't need to see that data.
below you can see change that i made to conf files:
We don't need to see that, either.
I am not getting anything. I know i am doing wrong. Can you suggest me please how to achieve this?
You need to run the server in debug mode and read the output. All of the documentation says to do this. None of the documentation says to post the config files or data from SQL. Why are you ignoring the documentation? It's there to help you. Alan DeKok.
participants (2)
-
Alan DeKok -
Somanath Mishra