Skip to content

Latest commit

 

History

History
43 lines (31 loc) · 1.21 KB

README.md

File metadata and controls

43 lines (31 loc) · 1.21 KB

eduroam-test-web-based

Code for eduroam test via web based service

It is a service which emulates user connecting to the access point connected to the eduroam (http://eduroam.org) infrastructure. You can use your test accounts to test wheter your users will be able to authenticate with eduroam outside your institution.

Requirement

  • You have to your local RADIUS server connected to the eduroam.

Instalation

  • Store the script to /usr/lib/cgi-bin/
  • Enable CGI scripts in Apache web server
  • Configure apache to poin to the eduroam-test.cgi script, e.g.:
   ScriptAlias /eduroam-test/ /usr/lib/cgi-bin/
   <Directory /usr/lib/cgi-bin/>
	Options -Indexes -FollowSymLinks +ExecCGI
	Order allow,deny
	Allow from all

	SetHandler cgi-script
   </Directory>
  • Or if you would like to have nice UI, then store index.html in /var/www/eduroam-test and point Apache to it:
    Alias /eduroam-test/ /var/www/eduroam-test/
    <Directory /var/www/eduroam-test/>
	Options -Indexes -FollowSymLinks
        Order allow,deny
	Allow from all

	DirectoryIndex index.html
    </Directory>
  • Configure RADIUS server IP and shared secret in the script

Usage

  • Just go to https:///eduroam-test/eduroam-test.cgi