aboutsummaryrefslogtreecommitdiffstats
path: root/config/authng/www/wizards/authng_wizard.xml
diff options
context:
space:
mode:
Diffstat (limited to 'config/authng/www/wizards/authng_wizard.xml')
-rw-r--r--config/authng/www/wizards/authng_wizard.xml496
1 files changed, 0 insertions, 496 deletions
diff --git a/config/authng/www/wizards/authng_wizard.xml b/config/authng/www/wizards/authng_wizard.xml
deleted file mode 100644
index 94796e2f..00000000
--- a/config/authng/www/wizards/authng_wizard.xml
+++ /dev/null
@@ -1,496 +0,0 @@
-<?xml version="1.0" encoding="utf-8" ?>
-<pfsensewizard>
-<copyright>
-/* $Id$ */
-/* ========================================================================== */
-/*
- authng_wizard.xml
- part of pfSense (http://www.pfSense.com)
- Copyright (C) 2007 Daniel S. Haischt <me@daniel.stefan.haischt.name>
- All rights reserved.
-
- Based on m0n0wall (http://m0n0.ch/wall)
- Copyright (C) 2003-2006 Manuel Kasper <mk@neon1.net>.
- 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.
- */
-/* ========================================================================== */
-</copyright>
-<totalsteps>8</totalsteps>
-<step>
- <id>1</id>
- <title>pfSense AuthNG Wizard</title>
- <disableheader>true</disableheader>
- <description>
- This wizard will guide you through the initial configuration of
- the pfSense authentication system.
- </description>
- <fields>
- <field>
- <name>Next</name>
- <type>submit</type>
- </field>
- </fields>
-</step>
-<step>
- <id>2</id>
- <title>pfSense Backend settings</title>
- <description>
- On this screen you will define where to define pfSense users and groups
- </description>
- <fields>
- <field>
- <name>PrincipalStore</name>
- <type>select</type>
- <donotdisable>true</donotdisable>
- <bindstofield>installedpackages->authng->config->principal_store</bindstofield>
- <options>
- <option>
- <name>XML</name>
- <value>xml</value>
- </option>
- <option>
- <name>LDAP</name>
- <value>ldap</value>
- </option>
- <option>
- <name>DB</name>
- <value>db</value>
- </option>
- </options>
- </field>
- <field>
- <name>Backend</name>
- <type>select</type>
- <donotdisable>true</donotdisable>
- <bindstofield>installedpackages->authng->config->backend</bindstofield>
- <options>
- <option>
- <name>htpasswd</name>
- <value>htpasswd</value>
- </option>
- <option>
- <name>PAM</name>
- <value>pam</value>
- </option>
- <option>
- <name>Radius</name>
- <value>radius</value>
- </option>
- <option>
- <name>passwd</name>
- <value>passwd</value>
- </option>
- <option>
- <name>LDAP</name>
- <value>ldap</value>
- </option>
- </options>
- </field>
- <field>
- <name>AuthenticationMethod</name>
- <type>select</type>
- <donotdisable>true</donotdisable>
- <bindstofield>installedpackages->authng->config->auth_method</bindstofield>
- <options>
- <option>
- <name>Session</name>
- <value>session</value>
- </option>
- <option>
- <name>Basic</name>
- <value>basic</value>
- </option>
- </options>
- </field>
- </fields
-</step>
-<step>
- <id>3</id>
- <title>Time Server Information</title>
- <description>Please enter the time, date and time zone.</description>
- <fields>
- <field>
- <name>Time server dns name</name>
- <description>Enter the name of the time server.</description>
- <type>input</type>
- <bindstofield>system->timeservers</bindstofield>
- </field>
- <field>
- <name>Timezone</name>
- <type>timezone_select</type>
- <bindstofield>system->timezone</bindstofield>
- </field>
- <field>
- <name>Next</name>
- <type>submit</type>
- </field>
- </fields>
-</step>
-<step>
- <id>4</id>
- <disableallfieldsbydefault>true</disableallfieldsbydefault>
- <title>Configure WAN Interface</title>
- <description>On this screen we will configure the Wide Area Network information.</description>
- <javascriptafterformdisplay>
- var selectedItem = 0;
- if(document.forms[0].ipaddress.value == 'dhcp') {
- selectedItem = 1;
- document.forms[0].ipaddress.value = '';
- } else if(document.forms[0].ipaddress.value == 'PPPoE') {
- selectedItem = 2;
- document.forms[0].ipaddress.value = '';
- } else if(document.forms[0].ipaddress.value == 'PPTP') {
- selectedItem = 3;
- document.forms[0].ipaddress.value = '';
- } else if(document.forms[0].ipaddress.value == 'BigPond') {
- selectedItem = 4;
- document.forms[0].ipaddress.value = '';
- } else {
- selectedItem = 0;
- }
- document.forms[0].selectedtype.selectedIndex = selectedItem;
- enableitems(selectedItem);
- </javascriptafterformdisplay>
- <fields>
- <field>
- <name>SelectedType</name>
- <type>select</type>
- <donotdisable>true</donotdisable>
- <options>
- <option>
- <name>Static</name>
- <value>Static</value>
- <enablefields>ipaddress,subnetmask,gateway</enablefields>
- </option>
- <option>
- <name>DHCP</name>
- <value>dhcp</value>
- <enablefields>dhcphostname</enablefields>
- </option>
- <option>
- <name>PPPoE</name>
- <value>pppoe</value>
- <enablefields>pppoeusername,pppoepassword,pppoeservicename,pppoedialondemand,pppoeidletimeout</enablefields>
- </option>
- <option>
- <name>PPTP</name>
- <value>pptp</value>
- <enablefields>pptpusername,pptppassword,pptplocalipaddress,pptplocalsubnet,pptpremoteipaddress,pptpdialondemand,pptpidletimeout
- </enablefields>
- </option>
- <option>
- <name>BigPond</name>
- <value>bigpond</value>
- <enablefields>bigpondusername,bigpondpassword,bigpondauthenticationserver,bigpondauthenticationdomain,bigpondminheartbeatinterval</enablefields>
- </option>
- </options>
- </field>
- <field>
- <name>General configuration</name>
- <type>listtopic</type>
- </field>
- <field>
- <donotdisable>true</donotdisable>
- <name>MAC Address</name>
- <bindstofield>interfaces->wan->spoofmac</bindstofield>
- <type>input</type>
- <description> This field can be used to modify ("spoof") the MAC address of the WAN interface (may be required with some cable connections) Enter a MAC address in the following format: xx:xx:xx:xx:xx:xx or leave blank</description>
- </field>
- <field>
- <donotdisable>true</donotdisable>
- <name>MTU</name>
- <type>input</type>
- <bindstofield>interfaces->wan->mtu</bindstofield>
- <description> If you enter a value in this field, then MSS clamping for TCP connections to the value entered above minus 40 (TCP/IP header size) will be in effect. If you leave this field blank, an MTU of 1492 bytes for PPPoE and 1500 bytes for all other connection types will be assumed.</description>
- </field>
- <field>
- <name>Static IP Configuration</name>
- <type>listtopic</type>
- </field>
- <field>
- <name>IP Address</name>
- <bindstofield>interfaces->wan->ipaddr</bindstofield>
- <type>input</type>
- <typehint> / </typehint>
- <combinefieldsbegin>true</combinefieldsbegin>
- </field>
- <field>
- <combinefieldsend>true</combinefieldsend>
- <dontdisplayname>true</dontdisplayname>
- <dontcombinecells>true</dontcombinecells>
- <name>Subnet Mask</name>
- <bindstofield>interfaces->wan->subnet</bindstofield>
- <type>subnet_select</type>
- </field>
- <field>
- <name>Gateway</name>
- <bindstofield>interfaces->wan->gateway</bindstofield>
- <type>input</type>
- </field>
- <field>
- <name>DHCP client configuration</name>
- <type>listtopic</type>
- </field>
- <field>
- <name>DHCP Hostname</name>
- <type>input</type>
- <bindstofield>interfaces->wan->dhcphostname</bindstofield>
- <description> The value in this field is sent as the DHCP client identifier and hostname when requesting a DHCP lease. Some ISPs may require this (for client identification).</description>
- </field>
- <field>
- <name>PPPoE configuration</name>
- <type>listtopic</type>
- </field>
- <field>
- <name>PPPoE Username</name>
- <type>input</type>
- <bindstofield>pppoe->username</bindstofield>
- </field>
- <field>
- <name>PPPoE Password</name>
- <type>input</type>
- <bindstofield>pppoe->password</bindstofield>
- </field>
- <field>
- <name>PPPoE Service name</name>
- <type>input</type>
- <description>Hint: this field can usually be left empty</description>
- </field>
- <field>
- <name>PPPoE Dial on demand</name>
- <typehint>Enable Dial-On-Demand mode</typehint>
- <type>checkbox</type>
- <description>This option causes the interface to operate in dial-on-demand mode, allowing you to have a virtual full time connection. The interface is configured, but the actual connection of the link is delayed until qualifying outgoing traffic is detected.</description>
- </field>
- <field>
- <name>PPPoE Idle timeout</name>
- <type>input</type>
- <description>If no qualifying outgoing packets are transmitted for the specified number of seconds, the connection is brought down. An idle timeout of zero disables this feature.</description>
- </field>
- <field>
- <name>PPTP configuration</name>
- <type>listtopic</type>
- </field>
- <field>
- <name>PPTP Username</name>
- <type>input</type>
- <bindstofield>pptp->username</bindstofield>
- </field>
- <field>
- <name>PPTP Password</name>
- <type>input</type>
- <bindstofield>pptp->password</bindstofield>
- </field>
- <field>
- <combinefieldsbegin>true</combinefieldsbegin>
- <name>PPTP Local IP Address</name>
- <type>input</type>
- <typehint> / </typehint>
- <bindstofield>pptp->local</bindstofield>
- </field>
- <field>
- <combinefieldsend>true</combinefieldsend>
- <dontdisplayname>true</dontdisplayname>
- <dontcombinecells>true</dontcombinecells>
- <name>pptplocalsubnet</name>
- <bindstofield>pptp->subnet</bindstofield>
- <type>subnet_select</type>
- </field>
- <field>
- <name>PPTP Remote IP Address</name>
- <bindstofield>pptp->remote</bindstofield>
- <type>input</type>
- </field>
- <field>
- <name>PPTP Dial on demand</name>
- <typehint>Enable Dial-On-Demand mode</typehint>
- <type>checkbox</type>
- <description>This option causes the interface to operate in dial-on-demand mode, allowing you to have a virtual full time connection. The interface is configured, but the actual connection of the link is delayed until qualifying outgoing traffic is detected.</description>
- </field>
- <field>
- <name>PPTP Idle timeout</name>
- <type>input</type>
- <description>If no qualifying outgoing packets are transmitted for the specified number of seconds, the connection is brought down. An idle timeout of zero disables this feature.</description>
- </field>
- <field>
- <name>BigPond configuration</name>
- <type>listtopic</type>
- </field>
- <field>
- <name>BigPond Username</name>
- <type>input</type>
- <bindstofield>bigpond->username</bindstofield>
- </field>
- <field>
- <name>BigPond Password</name>
- <type>input</type>
- <bindstofield>bigpond->password</bindstofield>
- </field>
- <field>
- <name>BigPond Authentication server</name>
- <type>input</type>
- <bindstofield>bigpond->authserver</bindstofield>
- <description>If this field is left empty, the default ("dce-server") is used.</description>
- </field>
- <field>
- <name>BigPond Authentication domain</name>
- <type>input</type>
- <bindstofield>bigpond->authdomain</bindstofield>
- <description>If this field is left empty, the domain name assigned via DHCP will be used. Note: the BigPond client implicitly sets the "Allow DNS server list to be overridden by DHCP/PPP on WAN" on the System: General setup page.</description>
- </field>
- <field>
- <name>BigPond min heartbeat interval</name>
- <type>input</type>
- <typehint>seconds</typehint>
- <bindstofield>bigpond->minheartbeatinterval</bindstofield>
- <description> Setting this to a sensible value (e.g. 60 seconds) can protect against DoS attacks.</description>
- </field>
- <field>
- <name>RFC1918 Networks</name>
- <type>listtopic</type>
- </field>
- <field>
- <donotdisable>true</donotdisable>
- <name>Block RFC1918 Private Networks</name>
- <description> When set, this option blocks traffic from IP addresses that are reserved for private networks as per RFC 1918 (10/8, 172.16/12, 192.168/16) as well as loopback addresses (127/8). You should generally leave this option turned on, unless your WAN network lies in such a private address space, too.</description>
- <type>checkbox</type>
- <bindstofield>interfaces->wan->blockpriv</bindstofield>
- <typehint>Block private networks from entering via WAN</typehint>
- </field>
- <field>
- <name>Block bogon networks</name>
- <type>listtopic</type>
- </field>
- <field>
- <donotdisable>true</donotdisable>
- <name>Block bogon networks</name>
- <description>Block bogon networks when set, this option blocks traffic from IP addresses that are reserved (but not RFC 1918) or not yet assigned by IANA. Bogons are prefixes that should never appear in the Internet routing table, and obviously should not appear as the source address in any packets you receive.</description>
- <type>checkbox</type>
- <bindstofield>interfaces->wan->blockbogons</bindstofield>
- <typehint>Block non-Internet routed networks from entering via WAN</typehint>
- </field>
- <field>
- <name>Next</name>
- <type>submit</type>
- </field>
- </fields>
- <stepsubmitbeforesave>
- if($_POST['selectedtype'] == "Static") { } else {
- $_POST['ipaddress'] = $_POST['selectedtype'];
- $config['interfaces']['wan']['ipaddr'] = $_POST['selectedtype'];
- write_config();
- }
- </stepsubmitbeforesave>
-</step>
-<step>
- <id>5</id>
- <title>Configure LAN Interface</title>
- <description>On this screen we will configure the Local Area Network information.</description>
- <fields>
- <field>
- <name>LAN IP Address</name>
- <type>input</type>
- <bindstofield>interfaces->lan->ipaddr</bindstofield>
- <description>Type dhcp if this interface uses dhcp to obtain its ip address.</description>
- </field>
- <field>
- <name>Subnet Mask</name>
- <type>subnet_select</type>
- <bindstofield>interfaces->lan->subnet</bindstofield>
- </field>
- <field>
- <name>Next</name>
- <type>submit</type>
- </field>
- </fields>
- <stepsubmitphpaction>
- $ft = split("\.", $_POST['lanipaddress']);
- $ft_ip = $ft[0] . "." . $ft[1] . "." . $ft[2] . ".";
- $config['dhcpd']['lan']['range']['from'] = $ft_ip . "10";
- $highestip = gen_subnet_max($_POST['lanipaddress'], $config['interfaces']['lan']['subnet']);
- $hi = split("\.", $highestip);
- $highestip = $hi[3]-10;
- $config['dhcpd']['lan']['range']['to'] = $ft_ip . $highestip;
- </stepsubmitphpaction>
-</step>
-<step>
- <id>6</id>
- <title>Set Admin WebGUI Password</title>
- <description>On this screen we will set the Admin password which is used to access the WebGUI and also SSH services if you wish to enable.</description>
- <fields>
- <field>
- <name>Admin Password</name>
- <type>password</type>
- </field>
- <field>
- <name>Admin Password AGAIN</name>
- <type>password</type>
- </field>
- <field>
- <name>Next</name>
- <type>submit</type>
- </field>
- </fields>
- <stepsubmitphpaction>
- if($_POST['adminpassword'] != "") {
- if($_POST['adminpassword'] == $_POST['adminpasswordagain']) {
- $fd = popen("/usr/sbin/pw usermod -n root -H 0", "w");
- $salt = md5(time());
- $crypted_pw = crypt($_POST['adminpassword'],$salt);
- fwrite($fd, $crypted_pw);
- pclose($fd);
- $config['system']['password'] = crypt($_POST['adminpassword']);
- write_config();
- system_password_configure();
- } else {
- print_info_box_np("Passwords do not match! Please press back in your browser window and correct.");
- die;
- }
- }
- </stepsubmitphpaction>
-</step>
-<step>
- <id>7</id>
- <title>Reload configuration</title>
- <disableheader>true</disableheader>
- <description>Click 'Reload' to reload pfSense with new changes. If you changed the password, pfSense will ask you to log in again.</description>
- <fields>
- <field>
- <name>Reload</name>
- <type>submit</type>
- </field>
- </fields>
-</step>
-<step>
- <id>8</id>
- <title>Reload in progress</title>
- <description>A reload is now in progress. Please wait. &lt;p&gt; The system will automatically try to access $myurl in 120 seconds. &lt;p&gt; You can click on the icon above to access the site more quickly.
- &lt;meta http-equiv="refresh" content="60; url=$myurl" &gt;</description>
- <stepafterformdisplay>
- reload_all();
- </stepafterformdisplay>
-</step>
-</pfsensewizard>