/[projects]/openvpn/openvpn-auth_mysql/README
ViewVC logotype

Contents of /openvpn/openvpn-auth_mysql/README

Parent Directory Parent Directory | Revision Log Revision Log


Revision 113 - (show annotations) (download)
Wed Oct 29 19:45:52 2008 UTC (15 years, 6 months ago) by torben
File size: 755 byte(s)
Added openvpn tools

1 auth-mysql (c) 2005 by Torben H. Nielsen
2
3 this is a openvpn authentication plugin, which reads the user info from a
4 mysql database.
5
6 For this plugin, please use the table structure as defined in vpnauth.sql.
7
8 The plugin can be configured with the following parameters, which describes
9 how the plugin should connect to mysql (with default values in parenthesis)
10 - host (localhost)
11 - username (vpnauth) //This user should have select and update rights on the
12 table
13 - password (vpnauth)
14 - db (vpnauth)
15 - table (vpnauth)
16 - port (3306)
17
18
19 Usage examples:
20 ;connect with the default values:
21 plugin /usr/lib/openvpn/auth-mysql.so
22
23 ;Override some of the values;
24 plugin /usr/lib/openvpn/auth-mysql.so "host=mysqlserver01 password=secret"

  ViewVC Help
Powered by ViewVC 1.1.20