From b3e6782c5f8160f875dad6c4cc06c2b9b3d5e590 Mon Sep 17 00:00:00 2001 From: "tj9557@student.uni-lj.si" Date: Tue, 30 Dec 2014 11:06:24 +0000 Subject: Translate the instructions and howto into English. git-svn-id: https://svn.lusy.fri.uni-lj.si/kpov-public-svn/kpov-public@136 5cf9fbd1-b2bc-434c-b4b7-e852f4f63414 --- .../tasks/radius_mysql_pam/howtos/en/index.html | 34 ++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 kpov_judge/tasks/radius_mysql_pam/howtos/en/index.html (limited to 'kpov_judge/tasks/radius_mysql_pam') diff --git a/kpov_judge/tasks/radius_mysql_pam/howtos/en/index.html b/kpov_judge/tasks/radius_mysql_pam/howtos/en/index.html new file mode 100644 index 0000000..b774ceb --- /dev/null +++ b/kpov_judge/tasks/radius_mysql_pam/howtos/en/index.html @@ -0,0 +1,34 @@ + + + + + + + +

Radius mysql:

+

Tasks quick how to:


+ Set OpenRadius server and add users. Use MySql for database.

+

Instructions:

+
    +
  1. Create two virtual machines - SimpleArbiter (use disc simpleArbiterDhcp) and RadiusServer. Discs for virtual machines are located on polz.si/media/uploads/kpov/virtualke.
  2. +
  3. Use disks VPNCLient.vdi and SimpleArbiterVPN.vdi to create VMs.
  4. +
  5. On both VMs set two network adapters - NAT and Internal.
  6. +
  7. Login with username student and password student on both VMs.
  8. +
+ +

First: Set OpenRadius.

+
    +
  1. Install OpenRadius on virtual machine RadiusServer (configuration: /etc/openradius/configuration and /etc/openradius/behaviour)
  2. +
  3. Add user and assign him shared secret. Shared secret should be written in /etc/openradius/configuration file. (More info: http://sites.e-advies.nl/openradius/doc-using-openradius.html )
  4. +
  5. Use shared secret to connect form SimpleArbiter to RadiusServer.
  6. +
+

Second: Install and set MySQL database on RadiusServer

+
    +
  1. Use OpenRadius modul RadSQL to store users in database.
  2. +
  3. Set MySQL server: sudo apt-get install mysql-server.
  4. +
  5. Connect to MySQL server: mysql -u root -p.
  6. +
  7. Create database: CREATE DATABASE . Create table users with columns username and password.
  8. +
+ + + -- cgit v1.2.1