คู่มือการติดตั้ง Radius server สำหรับบริการ eduroam
???????????????? Radius server ???????????? eduroam, ?????? ????, ???.?????
???????????????? Radius server ???????????? eduroam
????
????????????????? ???????????? 3 ??????????? ??? 2 ???????? ??????????
1. ?????????????????????????
??????????? Radius server ?????????????????? ???????????????????????????????????????
2. ???????????????????????????????
??????????????? Radius server ???????????????????????????????? ?????????? 2 ????????
- ??????????????? LDAP Server ????????????????????????
- ??????????????? Microsoft Active Directory ????????????????????????
3. ??????????????????????? eduroam-TH
?????????????? ?????????????????????????????????????????????? ??????????????????????????????????????????
???????????????? ???? ???????????????? ???????????? ???????????????? ??????? ??????????????????????
???????????? ?????????????????????????????????????????????????????????????????????????????????????? ????
??????? ????????????????????????????????????? ?????????
???????????????????????????????????????????????????????????????????? ??????????????????????????????????
??????? ???????????????????????????????????????????????????????????????????????
?????? ????????????????????????????????????? Radius server ??????????????????????????????
????????? ???????? Radius server ???????????????????????????????????????????? ??????????????????????????
?????????????????????????? Log
?????? ?????????? Wireless Controller ???? Anonymous Access Point ??????? Radius server ????????????
????????????????? Radius server ?????????? WLC ???? AP ???????????????
???????????????????????????????????????????????? ?????????????????????????????????????????????????????
?????????????? ?????????????????????????????????????????????????????????????????????????????????????????
???????????????????? ??????????????????????????????????????????????????
????????????????????? ?????????? freeradius ???? ??????????????
????????????????????????????????????????????????? freeradius ???????????????????????????????? ??????
-
Debian 8.2 + freeradius-2.2.5
Radius version checking: freeradius -v
2017-06-13 14:46 -- 1/47
???????????????? Radius server ???????????? eduroam, ?????? ????, ???.?????
??????????????????????????????????
|
+------------------+ IP: 192.168.0.1/24
+----| Radius server
|
|
+------------------+ eduroam@uxx.ac.th
|
|
|
+------------------+ IP: 192.168.1.2/24
+----| LDAP server
| ldap.uxx.ac.th
|
+------------------+ user@uxx.ac.th
|
or
|
+------------------+ IP: 192.168.1.3/24
+----| Active Directory | ad.uxx.local/UXX.LOCAL
|
+------------------+ user@uxx.ac.th
|
or
|
+------------------+ IP: 192.168.1.2/24
+----| MySQL
| radius:radpass@mysql.uxx.ac.th/radius
|
+------------------+ user@uxx.ac.th
|
|
|
+------------------+ IP: 192.168.0.4/24
+----| rsyslog
|
|
+------------------+
|
|
+----[ WLC or AP ] IP: 192.168.1.252/24
|
2017-06-13 14:46 -- 2/47
???????????????? Radius server ???????????? eduroam, ?????? ????, ???.?????
?????????????????????????????
????????????????????????????????????????? Radius server ???????????????????????? ????????????????????
??????? ???????????????????? ????????????????????? ????????????????????????? ????????????????????? ???
????????????? ?????????????????????????????????????????????????????? user-eduroam.conf ????????
1. ???????????????????????????????????
apt-get update
apt-get upgrade -y
??????? reboot
apt-get install ntp -y
2. ????????????? freeradius ?????????????????
apt-get install freeradius -y
apt-get install easy-rsa -y
apt-get install wget -y
3. ????????????????????????????????????????
apt-get install gcc make libssl-dev -y
cd /etc/freeradius
wget
tar vxfz freeradius-test-tool.tar.gz
cd tool/wpa_supplicant-2.5/wpa_supplicant
cp defconfig .config
vi .config
CONFIG_EAPOL_TEST=y
#CONFIG_DRIVER_NL80211=y
make eapol_test
cp eapol_test ../../bin
ref:
4. ??????????????????????????????????
cd /etc/freeradius
wget
5. ?????????????????????????
tar vxfz freeradius-2-eduroam.tar.gz
2017-06-13 14:46 -- 3/47
???????????????? Radius server ???????????? eduroam, ?????? ????, ???.?????
??????????
- radiusd-eduroam.conf
????????????????? ????????????????????? radiusd.conf
- sites-available/eduroam
???????????????????????????????? eduroam
- sites-available/eduroam-inner-tunnel
???????????????????????????????? eduroam-inner-tunnel
- sites-available/eduroam-status
?????????????????????????????? radius status
- clients-eduroam.conf
????????????????????????????????????? UniNet Radius ???? client ?????????????????????? IdP
- proxy-eduroam.conf
?????????????????????????? UniNet Radius ???? home server ?????????????????????? SP
- eap-eduroam.conf
?????????????????????????????????? EAP
- eduroam-realm-checks.conf
?????????????????????????????????????????????????
- modules/files-eduroam
??????????????????????????????????????????????? (user-eduroam)
- users-eduroam
????????????????????????????? ???????????????????????????????????????????????
- modules/ldap-eduroam
????????????????????????????????????????????? LDAP
- modules/mschap-eduroam
????????????????????????????????????????????? Active Directory
-
ldap.attrmap-eduroam
dictionary-eduroam
acct_users-eduroam
preproxy_users-eduroam
6. ????????? radiusd.conf
????????????????????????????????? radiusd-eduroam.conf
vi radiusd.conf
# Change some configurations in radiusd.conf as show below
# PROXY CONFIGURATION
#
proxy_requests = yes
$INCLUDE proxy.conf
# eduroam
#$INCLUDE proxy-eduroam.conf
# CLIENTS CONFIGURATION
2017-06-13 14:46 -- 4/47
???????????????? Radius server ???????????? eduroam, ?????? ????, ???.?????
#
$INCLUDE clients.conf
# eduroam
#$INCLUDE clients-eduroam.conf
modules {
# Debian
$INCLUDE ${confdir}/modules/
# Extensible Authentication Protocol
#
# For all EAP related authentications.
# Now in another file, because it is very large.
#
#$INCLUDE eap.conf
# eduroam
$INCLUDE eap-eduroam.conf
# Include another file that has the SQL-related ..
# This is another file only because it tends to ..
#
#$INCLUDE sql.conf
# eduroaam
#$INCLUDE sql-eduroam.conf
}
7. ????????? proxy-eduroam.conf
??????????????????
vi proxy-eduroam.conf
#
# realm for local service
#
realm uxx.ac.th {
auth_pool = localhost
}
8. ????????? sites- available/eduroam
??????????????????
vi sites-available/eduroam
authorize {
# Change realm to be LOCAL for local user
if( ("%{Realm}" =~ /uxx.ac.th$$/) ) {
update control {
Proxy-To-Realm := LOCAL
}
}
}
2017-06-13 14:46 -- 5/47
................
................
In order to avoid copyright disputes, this page is only a partial summary.
To fulfill the demand for quickly locating and searching documents.
It is intelligent file search solution for home and business.
Related download
- how to connect to the rer620 using the web hmi abb
- b ethernet package contents deploy the access point netgear
- hardening red hat enterprise linux 5
- reference manual procedures
- basic router configuration cisco
- dual band wi fi extender 610 user guide bt shop
- quick install guide d link
- 1 mounting the e3 emerge nortek control
- dual band wi fi extender 600 user guide bt
- emc data domain operating system initial configuration guide
Related searches
- circumference to radius converter
- circumference to radius calculator
- center and radius of the circle calculator
- find center and radius of equation calculator
- center radius form of a circle calculator
- center and radius calculator
- center points to radius calculator
- radius of a circle calculator equation
- center and radius of circle calculator
- radius formula calculator
- radius of a circle calculator
- identify the center and radius calculator