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 hereCurrently there are no FAQ items provided.freeradius1.6.17FreeRADIUS: Users/usr/local/pkg/freeradius.incradiusdradiusd.shradiusdUsers/pkg.php?xml=freeradius.xmlMACs/pkg.php?xml=freeradiusauthorizedmacs.xmlNAS / Clients/pkg.php?xml=freeradiusclients.xmlInterfaces/pkg.php?xml=freeradiusinterfaces.xmlSettings/pkg_edit.php?xml=freeradiussettings.xml&id=0EAP/pkg_edit.php?xml=freeradiuseapconf.xml&id=0SQL/pkg_edit.php?xml=freeradiussqlconf.xml&id=0Certificates/pkg_edit.php?xml=freeradiuscerts.xml&id=0LDAP/pkg_edit.php?xml=freeradiusmodulesldap.xml&id=0View config/freeradius_view_config.phpXMLRPC Sync/pkg_edit.php?xml=freeradiussync.xml&id=0/usr/local/pkg/0755https://packages.pfsense.org/packages/config/freeradius2/freeradius.inc/usr/local/www/0755https://packages.pfsense.org/packages/config/freeradius2/freeradius_view_config.php/usr/local/pkg/0755https://packages.pfsense.org/packages/config/freeradius2/freeradiusclients.xml/usr/local/pkg/0755https://packages.pfsense.org/packages/config/freeradius2/freeradiussettings.xml/usr/local/pkg/0755https://packages.pfsense.org/packages/config/freeradius2/freeradiuseapconf.xml/usr/local/pkg/0755https://packages.pfsense.org/packages/config/freeradius2/freeradiussqlconf.xml/usr/local/pkg/0755https://packages.pfsense.org/packages/config/freeradius2/freeradiusinterfaces.xml/usr/local/pkg/0755https://packages.pfsense.org/packages/config/freeradius2/freeradiuscerts.xml/usr/local/pkg/0755https://packages.pfsense.org/packages/config/freeradius2/freeradiussync.xml/usr/local/pkg/0755https://packages.pfsense.org/packages/config/freeradius2/freeradiusmodulesldap.xml/usr/local/pkg/0755https://packages.pfsense.org/packages/config/freeradius2/freeradiusauthorizedmacs.xmlUsernamevarusersusernameUse One Time PasswordvarusersmotpenableSimult. ConnectionsvaruserssimultaneousconnectIP AddressvarusersframedipaddressExpiration DatevarusersexpirationSession TimeoutvaruserssessiontimeoutPossible Login TimesvaruserslogintimeVLAN IDvarusersvlanidDescriptiondescriptiononGeneral Configurationlisttopicsortablesortable0sortingUsernamevarusersusername/%FILTERTEXT%/iOne-Time-Passwordvarusersmotpenable/%FILTERTEXT%/iSimultaneous Connectionsvaruserssimultaneousconnect/%FILTERTEXT%/iIP Addressvarusersframedipaddress/%FILTERTEXT%/iExpiration Datevarusersexpiration/%FILTERTEXT%/iSession Timeoutvaruserssessiontimeout/%FILTERTEXT%/iPossible Login Timesvaruserslogintime/%FILTERTEXT%/iVLAN IDvarusersvlanid/%FILTERTEXT%/iDescriptiondescription/%FILTERTEXT%/iUsernamevarusersusernameinputPasswordvaruserspasswordpasswordPassword encryptionvaruserspasswordencryptionselectCleartext-PasswordEnable One-Time-Password for this uservarusersmotpenable IMPORTANT: You need to enabled mOTP first in FreeRADIUS => Settings (Default: unchecked)]]>checkboxvarusersmotpinitsecret,varusersmotppin,varusersmotpoffsetInit-SecretvarusersmotpinitsecretpasswordPINvarusersmotppinpasswordTime Offsetvarusersmotpoffset
1. Write down the first 9 digits of the Epoch-Time on the client.
2. Check with date +%s the Epoch-Time on your FreeRADIUS server and write down the first 9 digits.
3. Subtract both values, multiply the result with 10 and enter the value in this field. Example: 30 or -180 (Default: 0)]]>input0Miscellaneous ConfigurationlisttopicNumber of simultaneous connectionsvaruserssimultaneousconnectinputRedirection URLvaruserswisprredirectionurlinputDescriptiondescriptioninputNetwork ConfigurationlisttopicIP AddressvarusersframedipaddressFramed-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.]]>inputSubnet MaskvarusersframedipnetmaskFramed-IP-Netmask must be supported by NAS. (e.g. 255.255.255.0)]]>inputGatewayvarusersframedrouteFramed-Route must be supported by NAS. Format is: Subnet Gateway Metric (e.g. 192.168.10.0 192.168.10.1 1).]]>inputVLAN IDvarusersvlanid
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"]]>inputTime ConfigurationlisttopicExpiration DatevarusersexpirationinputSession TimeoutvaruserssessiontimeoutinputPossible Login Timesvaruserslogintime
Every time string contains a day (Mo,Tu,We,Th,Fr,Sa,Su) or all weekdays which is from monday till friday (Wk).
All weekdays plus weekend which means all days from monday till sunday is (Al).
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.]]>inputAmount of TimevarusersamountoftimeinputTime PeriodvaruserspointoftimeselectdailyTraffic and BandwidthlisttopicAmount of Download and Upload TrafficvarusersmaxtotaloctetsMegaByte (MB). There is a bug in CP (pfSense v2.0.x) which counts the real traffic many times faster and incorrect.]]>inputTime PeriodvarusersmaxtotaloctetstimerangeselectdailyMaximum Bandwidth DownvarusersmaxbandwidthdownKiloBits per second.]]>inputMaximum Bandwidth UpvarusersmaxbandwidthupKiloBits per second.]]>inputAccounting Interim IntervalvarusersacctinterimintervalinputAdvanced ConfigurationlisttopicAdditional RADIUS Attributes on the TOP of this entryvaruserstopadditionaloptions
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 a 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 (View config -> users).]]>textarea475Additional RADIUS Attributes (CHECK-ITEM).varuserscheckitemsadditionaloptions
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 a vertical bar (|).
Example: Max-Daily-Session := 36000
IMPORTANT: If you don't format this field correctly freeRADIUS will not start because of syntax errors.
Verify your changes by checking users file (View config -> users).]]>textarea475Additional RADIUS Attributes (REPLY-ITEM).varusersreplyitemsadditionaloptions
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 a vertical bar (|).
IMPORTANT: If you don't format this field correctly freeRADIUS will not start because of syntax errors.
Verify your changes by checking users file (View config -> users).]]>textarea475
freeradius_users_resync();
freeradius_settings_resync();
sleep(1);
freeradius_users_resync();
freeradius_install_command();
freeradius_deinstall_command();