Giter VIP home page Giter VIP logo

vagrant-freeradius's Introduction

Vagrant file for Free RADIUS server.

This is vagrant file for installing FreeRADIUS server with mysql as authorization data storage on Ubuntu 14.04 64 bit.

Commands for installing server and configuring it are in provisioner file. Commands install freeradius and mysql. After installation, database is created and sql is enabled inside freeradius config files.

Installation

If you know vagrant and have it already installed you just need to clone this repo in a folder on your system and run vagrant up inside folder to set up the VM.

If you don't want to use vagrant for some reason, download ubuntu 14.04 iso, setup a VM in virtualbox, vmware or kvm or any other hypervisor. Copy content of file provisioner in any file inside vm and execute it with sudo.

Testing

If everything goes well, ssh into the vm and run following to verify:

radtest bob passbob 127.0.0.1 100 testing123

#####Expected Output:

Sending Access-Request of id 242 to 127.0.0.1 port 1812
	User-Name = "bob"
	User-Password = "passbob"
	NAS-IP-Address = 127.0.1.1
	NAS-Port = 100
	Message-Authenticator = 0x00000000000000000000000000000000
rad_recv: Access-Accept packet from host 127.0.0.1 port 1812, id=242, length=32
	Reply-Message = "Hello Bob!"

vagrant-freeradius's People

Contributors

haisum avatar

Watchers

James Cloos avatar Andrew Wall avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.