From 7771d72802c805dbb602e3e3a0f299a58ac64b1c Mon Sep 17 00:00:00 2001 From: Charlie Root Date: Sun, 11 Dec 2011 17:12:59 +0000 Subject: just some cosmetic GUI changes. --- config/freeradius2/freeradius.xml | 141 ++++++++++++++-------------- config/freeradius2/freeradiusclients.xml | 13 ++- config/freeradius2/freeradiusinterfaces.xml | 23 +++-- config/freeradius2/freeradiussettings.xml | 126 ++++++++++++++----------- 4 files changed, 165 insertions(+), 138 deletions(-) (limited to 'config/freeradius2') diff --git a/config/freeradius2/freeradius.xml b/config/freeradius2/freeradius.xml index 40685657..c58f35d7 100755 --- a/config/freeradius2/freeradius.xml +++ b/config/freeradius2/freeradius.xml @@ -46,7 +46,7 @@ Describe your package requirements here Currently there are no FAQ items provided. freeradius - 1.1.2 + 2.1.12 FreeRADIUS: Users /usr/local/pkg/freeradius.inc @@ -92,7 +92,7 @@ description - IP address + IP Address ip @@ -100,19 +100,19 @@ subnetmask - Multiple Connection + Simultaneous Connections multiconnect - Expiration + Expiration Time expiration - Session time + Session Time sessiontime - Online time + Online Time onlinetime @@ -141,6 +141,10 @@ http://www.pfsense.org/packages/config/freeradius2/freeradius.inc + + GENERAL CONFIGURATION + listtopic + Username username @@ -156,102 +160,93 @@ + Number of simultaneous connections + multiconnect + The maximum of simultaneous connections with this username. + + input + + + NETWORK CONFIGURATION + listtopic + + + IP Address ip - IP address - + 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
- subnetmask - subnetmask - Framed-IP-Netmask. Needs support of the NAS (Switch) Example: 255.255.255.0 + Subnet Mask + subnetmask + Framed-IP-Netmask must be supported by NAS. (e.g. 255.255.255.0)]]> input - gateway - gateway - Framed-Route. Needs support of the NAS (Switch). Order is: Subnet Gateway Metric Example: 192.168.10.0 192.168.10.1 1 + 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 - multiconnect - Number of Multiple connection - The available number of multiple simultaneous connections with this username. - + 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 - Expiration - You may enter the date that this account will stop working here.use Mmm dd yyyy example: 01 Jan 2007 will be Jan 01 2007 + Expiration Time + expiration + Enter the date when this account should expire. Format is: Mmm dd yyyy (e.g. Jan 01 2012). input - sessiontime - Session time - Time this user has until relogin in seconds + Session Time + sessiontime + Enter the time this user has until relogin in seconds. input - onlinetime 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
- description - Description - You may enter a description here for your reference (not parsed). - input - + MISCELLANEOUS CONFIGURATION + listtopic + - vlanid - VLAN ID -
- - This setting can be used for switches/wireless access points that support the following radius parameters:
- Tunnel-Type = VLAN
- Tunnel-Medium-Type = IEEE-802
- Tunnel-Private-Group-ID = "insert vlan identifier here"

- - This was implemented and tested with HP Procurve Switches (3500yl, and 2626). HP Procurve switches support using either the VLAN ID or the VLAN name, while other switches will only work using the VLAN ID. - ]]> -
+ Description + description + Enter any description for this user you like. input
- additionaloptions Additional RADIUS Options - - You may append extra custom RADIUS options to this user account (separated by commas).
- IMPORTANT: If you don't format this field correctly, FreeRADIUS may not properly start because the users file will contain a syntax error. - ]]> + 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 diff --git a/config/freeradius2/freeradiusclients.xml b/config/freeradius2/freeradiusclients.xml index 6719c6b4..2b5d9d0c 100755 --- a/config/freeradius2/freeradiusclients.xml +++ b/config/freeradius2/freeradiusclients.xml @@ -86,7 +86,7 @@ varclientproto
- Client NAS Type + Client Type varclientnastype @@ -103,6 +103,10 @@ + + GENERAL CONFIGURATION + listtopic + Client IP Address varclientip @@ -135,6 +139,10 @@ password + + MISCELLANEOUS CONFIGURATION + listtopic + Client Protocol varclientproto @@ -145,10 +153,9 @@ - - Client NAS Type + Client Type varclientnastype Enter the NAS type of the client. This is used by checkrad.pl for simultaneous use checks. (Default: other) select diff --git a/config/freeradius2/freeradiusinterfaces.xml b/config/freeradius2/freeradiusinterfaces.xml index f2de1008..c00cd6b1 100755 --- a/config/freeradius2/freeradiusinterfaces.xml +++ b/config/freeradius2/freeradiusinterfaces.xml @@ -11,7 +11,7 @@ part of pfSense (http://www.pfSense.com) Copyright (C) 2007 to whom it may belong All rights reserved. - + Based on m0n0wall (http://m0n0.ch/wall) Copyright (C) 2003-2006 Manuel Kasper . All rights reserved. @@ -42,7 +42,7 @@ /* ========================================================================== */ ]]> - Describe your package here. + Describe your package here Describe your package requirements here Currently there are no FAQ items provided. freeradiusinterfaces @@ -70,7 +70,7 @@ - Listening Interface + Interface IP Address varinterfaceip @@ -92,9 +92,13 @@ - Listening Interface + GENERAL CONFIGURATION + listtopic + + + Interface IP Address varinterfaceip - Enter the IP address of the listening interface. e.g. 192.168.100.1 (Default: *) + input * @@ -102,7 +106,12 @@ Port varinterfaceport - Enter the port number of the listening interface. e.g. 1812 (Default: 1812) + + You could use this as an example:
+ auth = 1812
+ acct = 1813
+ proxy = 1814
+ IMPORTANT: For every interface type listening on the same IP address you need different ports.]]>
input 1812 @@ -148,4 +157,4 @@ freeradius_settings_resync(); - + \ No newline at end of file diff --git a/config/freeradius2/freeradiussettings.xml b/config/freeradius2/freeradiussettings.xml index 286cc1fd..e918c249 100755 --- a/config/freeradius2/freeradiussettings.xml +++ b/config/freeradius2/freeradiussettings.xml @@ -71,61 +71,8 @@ - Logging Destination of RADIUS - varsettingslogdir - Choose the destination where freeRADIUS should log. Logging must be enabled.(Default: radius.log) - select - files - - - - - - - - - RADIUS Logging - varsettingsauth - Choose if you want to enable logging. (Default: Disabled) - select - no - - - - - - - Log Bad Authentication Attempts - varsettingsauthbadpass - Choose if you want to log bad authentication attempts. Logging must be enabled. (Default: no) - select - no - - - - - - - Log good authentication attempts? - varsettingsauthgoodpass - Choose if you want to log good authentication attempts. Logging must be enabled. (Default: no) - select - no - - - - - - - Log Stripped Names - varsettingsstrippednames - Choose if you want to log the full User-Name attribute as it was found in the request. Logging must be enabled. (Default: no) - select - no - - - - + GENERAL CONFIGURATION + listtopic Maximum Requests Server @@ -192,6 +139,71 @@ + + LOGGING CONFIGURATION + listtopic + + + Logging Destination of RADIUS + varsettingslogdir + Choose the destination where freeRADIUS should log. Logging must be enabled.(Default: radius.log) + select + files + + + + + + + + + RADIUS Logging + varsettingsauth + Choose if you want to enable logging. (Default: Disabled) + select + no + + + + + + + Log Bad Authentication Attempts + varsettingsauthbadpass + Choose if you want to log bad authentication attempts. Logging must be enabled. (Default: no) + select + no + + + + + + + Log good authentication attempts? + varsettingsauthgoodpass + Choose if you want to log good authentication attempts. Logging must be enabled. (Default: no) + select + no + + + + + + + Log Stripped Names + varsettingsstrippednames + Choose if you want to log the full User-Name attribute as it was found in the request. Logging must be enabled. (Default: no) + select + no + + + + + + + SECURITY CONFIGURATION + listtopic + Maximum Number of Attributes varsettingsmaxattributes @@ -206,6 +218,10 @@ input 1 + + THREAD POOL CONFIGURATION + listtopic + Number of Threads After Start varsettingsstartservers -- cgit v1.2.3