Dear Expert (Installation Request)
sekchel lee
sekchel at gmail.com
Fri Sep 30 03:56:25 CEST 2011
Dear Expert(Installation Request)
Cent5 (server)
Freeradius
cent5(NAS1)
pptp,oepnvpn
The expenses will be paid by US dollar
mailto:sekchel at gmail.com <sekchel at gmail.com>
My current status
----------------------------------------------------------------------------------
cent5 install
yum update
yum install net-snmp net-snmp-devel mysql-devel libtool-ltdl-devel php-mysql
#Because of dialup ----
# wget freeradius2-2.1.7-7.el5.src.rpm
# cp freeradius2-2.1.7-7.el5.src.rpm/dialup_admin /usr/local
yum search freeradius*
yum install freeradius2-mysql
yum instal freeradius2-utils
show variables like 'have_innodb'; check ok
create database radius;
vi /etc/raddb/sql/ndb/admin.sql (radiusid/test1234)
mysql -u root -p mysql < /etc/raddb/sql/ndb/admin.sql
mysql -u root -p radius < /etc/raddb/sql/ndb/schema.sql
mysql -u root -p radius < /etc/raddb/sql/mysql/cui.sql
mysql -u root -p radius < /etc/raddb/sql/mysql/ippool.sql
mysql -u root -p radius < /etc/raddb/sql/mysql/nas.sql
mysql -u root -p radius < /etc/raddb/sql/mysql/wimax.sql
vi /etc/raddb/sql.conf
login = "radiusid"
password = "test1234"
vi /etc/raddb/radiusd.conf
proxy_requests = no
$INCLUDE sql.conf #remove
$INCLUDE sql/mysql/counter.conf #remove
$INCLUDE sqlippool.conf #remove
vi /etc/raddb/sqlippool.conf
$INCLUDE sql/mysql/ippool.conf <== edit
vi /etc/raddb/client.conf
client xx0.x7.1xx.xx4 {
ipaddr = xx0.x7.1xx.xx4
secret = test1234
require_message_authenticator = no
nastype = other # localhost isn't usually a NAS...
}
ln -s /usr/local/dialup_admin/htdocs /var/www/html/dialup
<Directory /var/www/html/dialup>
AuthName "Restricted Area"
AuthType Basic
AuthUserFile /var/www/.htpasswd
require valid-user
</Directory>
htpasswd -cm /var/www/.htpasswd administrator
mysql -u root -p radius < /usr/local/dialup_admin/sql/mysql/badusers.sql
mysql -u root -p radius < /usr/local/dialup_admin/sql/mysql/mtotacct.sql
mysql -u root -p radius < /usr/local/dialup_admin/sql/mysql/totacct.sql
mysql -u root -p radius < /usr/local/dialup_admin/sql/mysql/userinfo.sql (
id int(10) NOT NULL auto_increment,)
vi /etc/httpd/conf.d/php.conf
#AddType application/x-httpd-php-source .phps
#LoadModule php4_module libexec/libphp4.so
#AddModule mod_php4.c
AddType application/x-httpd-php .php
AddType application/x-httpd-php .php3
vi /usr/local/dialup_admin/conf/admin.conf
general_radiusd_base_dir: /usr/sbin Edit
general_strip_realms: yes # remove
sql_username: radiusid
sql_password: test1234
#sql_debug: true
NAS1 ==> client xx0.x7.1xx.xx4
pptpd-1.3.4.tar.gz freeradius-client-1.1.6.tar.gz
openvpn-2.2.1.tar.gz radiusplugin_v2.1a_beta1.tar.gz
openvpn-gui http://www.openvpn.se/files/install_packages_source/
Dependent(tap0901,auth-user-pass auth-user-pass.txt)
nas1 ip_range xx0.x7.1xx.xx5-60 (public ip)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freeradius.org/pipermail/freeradius-users/attachments/20110930/6683a622/attachment.html>
More information about the Freeradius-Users
mailing list