From 3a3b1d510eb7b7e22c37bde6b6770d8b77eed8b7 Mon Sep 17 00:00:00 2001 From: Nachtfalke Date: Tue, 17 Jan 2012 22:18:53 +0100 Subject: Update config/freeradius2/freeradiusauthorizedmacs.xml --- config/freeradius2/freeradiusauthorizedmacs.xml | 217 +++++++++++++++++++++++- 1 file changed, 213 insertions(+), 4 deletions(-) (limited to 'config/freeradius2/freeradiusauthorizedmacs.xml') diff --git a/config/freeradius2/freeradiusauthorizedmacs.xml b/config/freeradius2/freeradiusauthorizedmacs.xml index 021f8772..7abd26f5 100644 --- a/config/freeradius2/freeradiusauthorizedmacs.xml +++ b/config/freeradius2/freeradiusauthorizedmacs.xml @@ -166,7 +166,31 @@ MAC Address - varmacaddress + varmacsaddress + + + Simult. Connections + varmacssimultaneousconnect + + + IP Address + varmacsframedipaddress + + + Expiration Date + varmacsexpiration + + + Session Timeout + varmacssessiontimeout + + + Possible Login Times + varmacslogintime + + + VLAN ID + varmacsvlanid Description @@ -180,17 +204,202 @@ MAC Address - varmacaddress - + varmacsaddress + input + + Number of simultaneous connections + varmacssimultaneousconnect + + + 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 Upload Traffic + varmacsamountofbytesinput + bytes. There is a bug in CaptivePortal which counts the traffic six times faster than in reality. So if a MAC address should have 1MB of traffic you must calculate 6+1MB and enter here: 6000000.]]> + input + + + Time Period + varmacspointoftimebytesinput + + select + daily + + + + + + + + + Amount of Download Traffic + varmacsamountofbytesoutput + bytes. There is a bug in CaptivePortal which counts the traffic six times faster than in reality. So if a MAC address should have 1MB of traffic you must calculate 6+1MB and enter here: 6000000.]]> + input + + + Time Period + varmacspointoftimebytesoutput + + select + daily + + + + + + + + + Maximum Download Bandwidth + varmacsmaxbandwidthdown + bits per second).]]> + input + + + Maximum Upload Bandwidth + varmacsmaxbandwidthup + bits per second).]]> + input + + + MISCELLANEOUS CONFIGURATION + listtopic + Description description - + input + + 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(); -- cgit v1.2.3