All rights reserved. Based on m0n0wall (http://m0n0.ch/wall) Copyright (C) 2003-2006 Manuel Kasper . 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 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 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 EAP /pkg_edit.php?xml=freeradiuseapconf.xml&id=0 SQL /pkg_edit.php?xml=freeradiussqlconf.xml&id=0 Certificates /pkg_edit.php?xml=freeradiuscerts.xml&id=0 View config /freeradius_view_config.php /usr/local/www/ 0755 http://www.pfsense.org/packages/config/freeradius2/freeradius_view_config.php /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/freeradiuseapconf.xml /usr/local/pkg/ 0755 http://www.pfsense.org/packages/config/freeradius2/freeradiussqlconf.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/freeradiuscerts.xml /usr/local/pkg/ 0755 http://www.pfsense.org/packages/config/freeradius2/freeradius.inc Username varusersusername Description description IP Address varusersframedipaddress Simultaneous Connections varuserssimultaneousconnect Expiration Date varusersexpiration Session Timeout varuserssessiontimeout Possible Login Times varuserslogintime VLAN ID varusersvlanid GENERAL CONFIGURATION listtopic Username varusersusername input Password varuserspassword password Number of simultaneous connections varuserssimultaneousconnect 1 input NETWORK CONFIGURATION listtopic IP Address varusersframedipaddress 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 varusersframedipnetmask Framed-IP-Netmask must be supported by NAS. (e.g. 255.255.255.0)]]> input Gateway varusersframedroute 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 varusersvlanid 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 Date varusersexpiration input Session Timeout varuserssessiontimeout input Possible Login Times varuserslogintime 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 input Additional RADIUS Options on the TOP of this entry varuserstopadditionaloptions You may append custom RADIUS options to this user account. If the syntax needs it, you have to set quotes and commas.
To put a command in a new line use ar vertical bar (|).

Example: DEFAULT Auth-Type = System

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 4 75
Additional RADIUS Options at the END of this user entry varusersbottomadditionaloptions You may append custom RADIUS options to this user account. If the syntax needs it, you have to set quotes and commas.
To put a command in a new line use ar vertical bar (|).

Example: Service-Type == Login-User,|Login-Service == Telnet,|Login-IP-Host == 192.168.1.2

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 4 75
freeradius_users_resync(); freeradius_users_resync(); freeradius_install_command(); freeradius_clients_resync(); freeradius_users_resync(); freeradius_eapconf_resync(); freeradius_sqlconf_resync(); freeradius_settings_resync(); freeradius_serverdefault_resync(); freeradius_clientcertcnf_resync(); freeradius_servercertcnf_resync(); freeradius_cacertcnf_resync(); freeradius_allcertcnf_resync(); exec("rm -f /usr/local/etc/raddb/sites-enabled/control-socket"); exec("rm -f /usr/local/etc/raddb/sites-enabled/inner-tunnel"); freeradius_deinstall_command();