FreeRadius + MySQL

Install freeradius and mysql server

Now open up CentOS:

Connection info:

Database table configuration for everything except Oracle
radius_db = “radius”

In /etc/raddb/radiusd.conf uncomment line: $INCLUDE sql.conf

Add IP address and port and type connection. (For me – wifi router)

Edit /etc/raddb/sites-available/default and uncomment the line containing ‘sql’ in the authorize{} section and ‘sql’ (line 177) in the accounting{} section, also uncomment ‘sql’ (line 406) under session{}.

Additionally, edit /etc/raddb/sites-available/inner-tunnel and uncomment the line containing ‘sql’ (line 131) under “authorize{}” and under session{}.

To add clients (External VPN Servers) you would edit CentOS: /etc/raddb/clients.conf

In Cisco Router:

Add user:

Delete user:

Create crypted NT-Password:

Linux, Mac OS X:

or:

FreeBSD:

Command returns MD4 hash:

1 Comment - Leave a comment
  1. […] сеть (тыц) — пересобрать ядро с поддержкой PF NAT — установить и настроить Radius+mysql и создать […]

Добавить комментарий

Ваш адрес email не будет опубликован. Обязательные поля помечены *

*

двадцать + 4 =

Этот сайт использует Akismet для борьбы со спамом. Узнайте, как обрабатываются ваши данные комментариев.


Перейти к верхней панели