A Django project providing certain hooks for OpenVPN servers to implement user accounts and traffic accounting.
JavaScript Python PHP
Permalink
Failed to load latest commit information.
app Cleaned up mgmtlib, refactored get_status() Jan 27, 2013
media Navigation now shows selected page, CSS additions Jan 27, 2013
templates Navigation now shows selected page, CSS additions Jan 27, 2013
.gitignore Getting rid of .DS_Store pollution... Jan 20, 2013
README Warning about code being unstable right now :) Jan 20, 2013
__init__.py initial commit Apr 9, 2011
graphtest.py initial commit Apr 9, 2011
manage.py initial commit Apr 9, 2011
mgmtlib.py Cleaned up mgmtlib, refactored get_status() Jan 27, 2013
openvpn_auth.py Removed purple references in openvpn scripts Jan 27, 2013
openvpn_connect.py Removed purple references in openvpn scripts Jan 27, 2013
openvpn_disconnect.py Removed purple references in openvpn scripts Jan 27, 2013
openvpn_update.py Removed purple references in openvpn scripts Jan 27, 2013
sendmail.py initial commit Apr 9, 2011
settings-dist.py
urls.py Removing references to purple Jan 20, 2013

README

NOTE: This is under heavy development right now (01/2013) and
may not be usable right now.

INSTALL:

* move settings-dist.py to settings.py and change contents
* configure openvpn.conf like this:
	management localhost 7505 /etc/openvpn/mgmt.txt
	client-connect /opt/purple/openvpn_connect.py
	client-disconnect /opt/purple/openvpn_disconnect.py
	auth-user-pass-verify /opt/purple/openvpn_auth.py via-file
	script-security 2
	tmp-dir /dev/shm
* create mgmt.txt, it should contain the management interface password
  and nothing else.
* ./manage.py syncdb, runserver