. 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 2.1.12 FreeRADIUS: Users /usr/local/pkg/freeradius.inc FreeRADIUS Modify FreeRADIUS users, clients, and settings.
Services
/pkg.php?xml=freeradius.xml
FreeRADIUS radiusd.sh radiusd The FreeRADIUS daemon. Users /pkg.php?xml=freeradius.xml NAS / Clients /pkg.php?xml=freeradiusclients.xml Interfaces /pkg.php?xml=freeradiusinterfaces.xml Settings /pkg_edit.php?xml=freeradiussettings.xml&id=0 Username username Description description IP Address ip Subnet Mask subnetmask Simultaneous Connections multiconnect Expiration Time expiration Session Time sessiontime Online Time onlinetime VLAN ID vlanid /usr/local/pkg/ 0755 http://www.pfsense.org/packages/config/freeradius2/freeradiusclients.xml /usr/local/pkg/ 0755 http://www.pfsense.org/packages/config/freeradius2/freeradiussettings.xml /usr/local/pkg/ 0755 http://www.pfsense.org/packages/config/freeradius2/freeradiusinterfaces.xml /usr/local/pkg/ 0755 http://www.pfsense.org/packages/config/freeradius2/freeradius.inc GENERAL CONFIGURATION listtopic Username username Enter the username. input Password password Enter the password for this username. password Number of simultaneous connections multiconnect The maximum of simultaneous connections with this username. input NETWORK CONFIGURATION listtopic IP Address ip Framed-IP-Address must be supported by NAS.
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 (e.g. 192.168.1.5+). Could be useful for simultaneous connections.
IMPORTANT: You must enter an IP address here if you checked "RADIUS issued IP" on VPN PPTP or VPN PPPoE configuration.]]>
input
Subnet Mask subnetmask Framed-IP-Netmask must be supported by NAS. (e.g. 255.255.255.0)]]> input Gateway gateway Framed-Route must be supported by NAS. Format is: Subnet Gateway Metric (e.g. 192.168.10.0 192.168.10.1 1).]]> input VLAN ID vlanid Must be supported by the NAS.
This setting can be used for a NAS that supports the following RADIUS parameters:

Tunnel-Type = VLAN
Tunnel-Medium-Type = IEEE-802
Tunnel-Private-Group-ID = "THIS IS YOUR INPUT"]]>
input
TIME CONFIGURATION listtopic Expiration Time expiration Enter the date when this account should expire. Format is: Mmm dd yyyy (e.g. Jan 01 2012). input Session Time sessiontime Enter the time this user has until relogin in seconds. input Online time onlinetime Every time string contains a day (Mo,Tu,We,Th,Fr,Sa,Su) or all weekdays which is from monday till friday (Wk).

Wk0855-2305,Sa,Su2230-0230

This means weekdays after 8:55 AM and before 11:05 PM | any time on saturday | sunday after 10:30 PM and before 02:30 AM.]]>
input
MISCELLANEOUS CONFIGURATION listtopic Description description Enter any description for this user you like. input Additional RADIUS Options additionaloptions You may append (after all options from above) custom RADIUS options to this user account (separated by commas).
IMPORTANT: If you don't format this field correctly freeRADIUS will not start because of syntax errors.
Verify your changes by checking users file (/usr/local/etc/raddb/users).]]>
textarea 10 75
freeradius_users_resync(); freeradius_users_resync(); freeradius_install_command(); freeradius_settings_resync(); freeradius_clients_resync(); freeradius_users_resync(); exec("chown -R root:wheel /usr/local/etc/raddb"); exec("chown -R root:wheel /usr/local/lib/freeradius-2.1.12"); exec("rm -f /usr/local/etc/raddb/sites-enabled/control-socket"); freeradius_deinstall_command();