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. freeradiusauthorizedmacs 2.1.12 FreeRADIUS: MACs /usr/local/pkg/freeradius.inc FreeRADIUS Modify FreeRADIUS macs, clients, and settings.
Services
/pkg.php?xml=freeradiusauthorizedmacs.xml
radiusd radiusd.sh radiusd Users /pkg.php?xml=freeradius.xml MACs /pkg.php?xml=freeradiusauthorizedmacs.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 LDAP /pkg_edit.php?xml=freeradiusmodulesldap.xml&id=0 View config /freeradius_view_config.php XMLRPC Sync /pkg_edit.php?xml=freeradiussync.xml&id=0 /usr/local/pkg/ 0755 http://www.pfsense.org/packages/config/freeradius2/freeradius.inc /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/freeradiussync.xml /usr/local/pkg/ 0755 http://www.pfsense.org/packages/config/freeradius2/freeradiusmodulesldap.xml /usr/local/pkg/ 0755 http://www.pfsense.org/packages/config/freeradius2/freeradiusauthorizedmacs.xml MAC Address varmacsaddress Simult. Connections varmacssimultaneousconnect IP Address varmacsframedipaddress Expiration Date varmacsexpiration Session Timeout varmacssessiontimeout Possible Login Times varmacslogintime VLAN ID varmacsvlanid Description description on GENERAL CONFIGURATION listtopic sortable sortable 0 sorting MAC Addressvarmacsaddress/%FILTERTEXT%/i Simultaneous Connectionsvarmacssimultaneousconnect/%FILTERTEXT%/i IP Addressvarmacsframedipaddress/%FILTERTEXT%/i Expiration Datevarmacsexpiration/%FILTERTEXT%/i Session Timeoutvarmacssessiontimeout/%FILTERTEXT%/i Possible Login Timesvarmacslogintime/%FILTERTEXT%/i VLAN IDvarmacsvlanid/%FILTERTEXT%/i Descriptiondescription/%FILTERTEXT%/i MAC Address varmacsaddress If you do not want to use MAC address but custom options then leave this field empty.]]> input MISCELLANEOUS CONFIGURATION listtopic Redirection URL varmacsswisprredirectionurl input Number of simultaneous connections varmacssimultaneousconnect input Description description input NETWORK CONFIGURATION listtopic IP Address varmacsframedipaddress Framed-IP-Address must be supported by NAS.

If you want this MAC address 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 varmacsframedipnetmask Framed-IP-Netmask must be supported by NAS. (e.g. 255.255.255.0)]]> input Gateway varmacsframedroute 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 varmacsvlanid 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 varmacsexpiration input Session Timeout varmacssessiontimeout input Possible Login Times varmacslogintime 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
Amount of Time varmacsamountoftime input Time Period varmacspointoftime select daily TRAFFIC AND BANDWIDTH listtopic Amount of Download and Upload Traffic varmacsmaxtotaloctets MegaByte (MB). There is a bug in CP which counts the real traffic six times faster. To set a real limit of 100MB you have to enter 600MB here.]]> input Time Period varmacsmaxtotaloctetstimerange select daily Maximum Bandwidth Down varmacsmaxbandwidthdown KiloBits per second.]]> input Maximum Bandwidth Up varmacsmaxbandwidthup KiloBits per second.]]> input ADVANCED CONFIGURATION listtopic Additional RADIUS Attributes on the TOP of this entry varmacstopadditionaloptions You may append custom RADIUS options to this MAC address 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 authorized_macs file (View config -> macs).]]>
textarea 4 75
Additional RADIUS Attributes (CHECK-ITEM). varmacscheckitemsadditionaloptions You may append custom RADIUS options to this MAC address 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 authorized_macs file (View config -> macs).]]>
textarea 4 75
Additional RADIUS Attributes (REPLY-ITEM). varmacsreplyitemsadditionaloptions You may append custom RADIUS options to this MAC address 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: 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 authorized_macs file (View config -> macs).]]>
textarea 4 75
freeradius_authorizedmacs_resync(); freeradius_authorizedmacs_resync();