issue with realm

Somanath Mishra somanath.mishra at planetsbrain.com
Fri Sep 14 13:29:46 CEST 2018


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?









More information about the Freeradius-Users mailing list