Reg coa update to mikrotik - freeradius 2.2.5

J@g@dee5h djfueese at gmail.com
Thu Jul 2 09:50:48 CEST 2015


Hello,

I need to send coa update to mikrotik once the client reached the limit.
But its not sending the request and I am receiving the below error.

--------------
Thu Jul  2 13:07:22 2015 : Info:   WARNING: Empty pre-proxy section.  Using
default return values.
Thu Jul  2 13:07:22 2015 : Debug:  ... adding new socket proxy address *
port 46906
Thu Jul  2 13:07:22 2015 : Info: ERROR: Failed to create a new socket for
proxying requests.
Thu Jul  2 13:07:22 2015 : Debug: ERROR: Failed to insert CoA request into
proxy list.

-----------

We have opened the port 3799 in the mikrotik router also.

In orginate-coa file I have given the below parameters.

--------------
home_server Mikrotik-coa {
        type = coa

        #
        #  Note that a home server of type "coa" MUST be a real NAS,
        #  with an ipaddr or ipv6addr.  It CANNOT point to a virtual
        #  server.
        #
        ipaddr = 192.168.1.1
        port = 3799

        #  This secret SHOULD NOT be the same as the shared
        #  secret in a "client" section.
        secret = mikrotik

        #  CoA specific parameters.  See raddb/proxy.conf for details.
        coa {
                irt = 2
                mrt = 16
                mrc = 5
                mrd = 30
        }
}
---------------


Please help what I am doing wrong. If I use radclient command coa is
updating in mikrotik.


More information about the Freeradius-Users mailing list