Friday 2 November 2012

How to enable free radius server for both IPV4 and IPV6 in Fedora core 16

How to enable free radius server for both IPV4 and IPV6

1) Download free radius tar file from their website (lets assume name as freeradius)

2) tar xvzf freeradius.tar.gz

3) cd freeradius

4) ./configure

5) make

6) make install

7) The radius server will get install in directory raddb

8) vim /usr/local/etc/raddb/radiusd.conf

ADD below lines if not present



listen {
   
        type = auth
        ipaddr = *
        port = 0
}

listen {
        ipaddr = *
        port = 0
        type = acct
}

listen {
        ipv6addr = ::
        port = 0
        type = auth
}

listen {
        ipv6addr = ::
        port = 0
        type = acct
}


save the file


9) radiusd -X

The server should accept request from both Ipv4 and IPv6 clients.