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