.
All rights reserved.
*/
/* ========================================================================== */
/*
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
1. Redistributions of source code must retain the above copyright notice,
this list of conditions and the following disclaimer.
2. Redistributions in binary form must reproduce the above copyright
notice, this list of conditions and the following disclaimer in the
documentation and/or other materials provided with the distribution.
THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES,
INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY
AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY,
OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
POSSIBILITY OF SUCH DAMAGE.
*/
/* ========================================================================== */
]]>
Describe your package here
Describe your package requirements here
Currently there are no FAQ items provided.
freeradius
1.1.2
FreeRADIUS: Users
/usr/local/pkg/freeradius.inc
FreeRADIUS
radiusd.sh
radiusd
The FreeRADIUS daemon.
Users
/pkg.php?xml=freeradius.xml
Clients
/pkg.php?xml=freeradiusclients.xml
Settings
/pkg_edit.php?xml=freeradiussettings.xml&id=0
Username
username
Description
description
IP address
ip
Subnet Mask
subnetmask
Multiple Connection
multiconnect
Expiration
expiration
Session time
sessiontime
Online time
onlinetime
VLAN ID
vlanid
/usr/local/pkg/
077
- http://www.pfsense.org/packages/config/freeradiusclients.xml
/usr/local/pkg/
077
- http://www.pfsense.org/packages/config/freeradiussettings.xml
/usr/local/pkg/
077
- http://www.pfsense.org/packages/config/freeradius.inc
Username
username
Enter the username.
input
Password
password
Enter the password for this username.
password
ip
IP address
Framed-IP-Address. If you want this user to be assigned a specific IP address from radius, enter the IP
address here. Continuous IP address is available with "+" suffix(example:192.168.1.5+. It may help for assigning the
different IP address to multiple simultaneous connections). IMPORTANT, you MUST enter an IP address here if you checked
"RADIUS issued IP" on vpn pptp or vpn pppoe configuration.
input
subnetmask
subnetmask
Framed-IP-Netmask
input
gateway
gateway
Framed-Route
input
multiconnect
Number of Multiple connection
The available number of multiple simultaneous connections with this username.
input
expiration
Expiration
You may enter the date that this account will stop working here.use Mmm dd yyyy example: 01 Jan 2007 will be Jan 01 2007
input
sessiontime
Session time
Time this user has until relogin in seconds
input
onlinetime
Online time
A time string may be a list of simple time strings separated with vertical bars `|' or commas `,'.
Each simple time string must begin either with a day-of-week abbreviation (one of `Su', `Mo', `Tu', `We', `Th', `Fr', `Sa'), or `Wk' for any day from Monday to Friday inclusive, or `Any' or `Al' for any day.
Following the day may be a range of hours separated with a hyphen, using 24-hour time. The range of hours may cross 0; for example `2300-0700' means any time except 7 AM to 11 PM. If no time is given, calls may be made at any time on the specified day(s).
The time string may also be the single word `Never', which does not match any time.
Here are a few sample time strings with an explanation of what they mean.
`Wk2305-0855,Sa,Su2305-1655'
This means weekdays before 8:55 AM or after 11:05 PM, any time Saturday, or Sunday before 4:55 PM or after 11:05 PM. These are approximately the times during which night rates apply to phone calls in the U.S.A. Note that this time string uses, for example, `2305' rather than `2300'; this will ensure a cheap rate even if the computer clock is running up to five minutes ahead of the real time.
`Wk0905-2255,Su1705-2255'
This means weekdays from 9:05 AM to 10:55 PM, or Sunday from 5:05 PM to 10:55 PM. This is approximately the opposite of the previous example.
`Any'
This means any day. Since no time is specified, it means any time on any day.
input
description
Description
You may enter a description here for your reference (not parsed).
input
vlanid
VLAN ID
This setting can be used for switches/wireless access points that support the following radius parameters:
Tunnel-Type = VLAN
Tunnel-Medium-Type = IEEE-802
Tunnel-Private-Group-ID = "insert vlan identifier here"
This was implemented and tested with HP Procurve Switches (3500yl, and 2626). HP Procurve switches support using either the VLAN ID or the VLAN name, while other switches will only work using the VLAN ID.
]]>
input
additionaloptions
Additional RADIUS Options
You may append extra custom RADIUS options to this user account (separated by commas).
IMPORTANT: If you don't format this field correctly, FreeRADIUS may not properly start because the users file will contain a syntax error.
]]>
textarea
10
75
freeradius_users_resync();
freeradius_users_resync();
freeradius_install_command();
freeradius_deinstall_command();