From 8081a5520a441b43a8a7a73f3a90c7aacfaa8e10 Mon Sep 17 00:00:00 2001 From: Timotej Lazar Date: Sun, 24 Feb 2019 21:05:27 +0100 Subject: Move everything one level up --- .../tasks/radius_mysql_pam/howtos/en/index.html | 34 ---------------------- 1 file changed, 34 deletions(-) delete mode 100644 kpov_judge/tasks/radius_mysql_pam/howtos/en/index.html (limited to 'kpov_judge/tasks/radius_mysql_pam/howtos/en/index.html') diff --git a/kpov_judge/tasks/radius_mysql_pam/howtos/en/index.html b/kpov_judge/tasks/radius_mysql_pam/howtos/en/index.html deleted file mode 100644 index ac53a1f..0000000 --- a/kpov_judge/tasks/radius_mysql_pam/howtos/en/index.html +++ /dev/null @@ -1,34 +0,0 @@ - - - - - - - -

Radius mysql:

-

Quick how to:


- Setup the OpenRadius server and add users. Use MySql as the database.

-

Instructions:

-
    -
  1. Create two virtual machines - SimpleArbiter (use the simpleArbiterDhcp.vdi disk) and RadiusServer. Discs for virtual machines are located on polz.si/media/uploads/kpov/virtualke.
  2. -
  3. Create another two virtual machines using the disks VPNCLient.vdi and SimpleArbiterVPN.vdi.
  4. -
  5. Setup both VMs so that they use two network adapters - NAT and Internal network.
  6. -
  7. Login with the username student and password student on both VMs.
  8. -
- -

Part one: Setup OpenRadius.

-
    -
  1. Install OpenRadius on the RadiusServer VM (configuration files are: /etc/openradius/configuration and /etc/openradius/behaviour)
  2. -
  3. Add a user and assign him a shared secret. This should be configured in the /etc/openradius/configuration file. (More info: http://sites.e-advies.nl/openradius/doc-using-openradius.html )
  4. -
  5. Create a connection from SimpleArbiter to RadiusServer using the secret you configured.
  6. -
-

Part two: Install and setup a MySQL database on RadiusServer

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