diff options
author | Dexter Morgan <dmorgan@mageia.org> | 2011-06-02 20:51:50 +0000 |
---|---|---|
committer | Dexter Morgan <dmorgan@mageia.org> | 2011-06-02 20:51:50 +0000 |
commit | f1d6b8a9d3c06f74e904959887cf043d09aff687 (patch) | |
tree | 969cb9fdc3becc19b1f2a21c3a9e3cc2e15f39e6 /firewall_wizard/firewall.wiz | |
download | drakwizard-f1d6b8a9d3c06f74e904959887cf043d09aff687.tar drakwizard-f1d6b8a9d3c06f74e904959887cf043d09aff687.tar.gz drakwizard-f1d6b8a9d3c06f74e904959887cf043d09aff687.tar.bz2 drakwizard-f1d6b8a9d3c06f74e904959887cf043d09aff687.tar.xz drakwizard-f1d6b8a9d3c06f74e904959887cf043d09aff687.zip |
Branch for updates
Diffstat (limited to 'firewall_wizard/firewall.wiz')
-rw-r--r-- | firewall_wizard/firewall.wiz | 280 |
1 files changed, 280 insertions, 0 deletions
diff --git a/firewall_wizard/firewall.wiz b/firewall_wizard/firewall.wiz new file mode 100644 index 00000000..c4e20f81 --- /dev/null +++ b/firewall_wizard/firewall.wiz @@ -0,0 +1,280 @@ +<?xml version="1.0"?> + + +<Wizard + name="general" + libScript="__WIZ_HOME__/common/scripts/functions.sh" + wizardTitle="Firewall wizard" + imagePosition="top" + defaultImage="__WIZ_HOME__/firewall_wizard/images/firewall.png" + perlModule="__WIZ_HOME__/firewall_wizard/scripts/FWconf.pm" +> + + <Variable + name="protectionLevel" + comment="The firewall protection level" + shellVariable="wiz_firewall_level" + defaultValue="1" + > + </Variable> + + <Variable + name="firewallDevice" + comment="The device for the firewall connection" + shellVariable="wiz_ext_device" + defaultValue="eth0" + > + </Variable> + + <Page + helpURL="file:/usr/share/doc/mandrake/${LANG}/ref.html/wiz-firewall.html" + name="Welcome" + executionLevel="NORMAL" + nextFinish="false" + canBack="true" + canCancel="true" + > + + <Target + targetName="ask_level" + jumpIndex="0" + > + </Target> + + <Info + helpText="Firewall Configuration Wizard" + > + </Info> + + + <Info + helpText="The firewall protects your internal network from unauthorized accesses from the Internet." + > + </Info> + + <Info + helpText="This wizard will help you configuring your server firewall." + > + </Info> + </Page> + + <Page + helpURL="file:/usr/share/doc/mandrake/${LANG}/ref.html/wiz-firewall.html" + name="ask_level" + executionLevel="NORMAL" + nextFinish="false" + canBack="true" + canCancel="true" + > + + <Info + helpText="Protection Level" + > + </Info> + + + <Info + helpText="The firewall can be configured to offer different levels of protection; choose the level that corresponds to your needs. If you don't know, the Medium level is usually the most appropriate." + > + </Info> + + + <Chooser + name="chooser1" + variableName="protectionLevel" + defaultOptionScript="echo $wiz_firewall_level" + helpFontName="Default" + helpFontStyle="plain" + helpFontSize="12" + editable="false" + > + + <Option + value="0" + description="None - No protection" + > + </Option> + + <Option + value="1" + description="Low - Light filtering, standard services available" + > + </Option> + + <Option + value="2" + description="Medium - web, ftp and ssh shown to outside" + > + </Option> + + <Option + value="3" + description="Strong - no outside visibility, users limited to web" + > + </Option> + </Chooser> + </Page> + + <Page + helpURL="file:/usr/share/doc/mandrake/${LANG}/ref.html/wiz-firewall.html" + name="choose_net_device" + jumpScript="__WIZ_HOME__/firewall_wizard/scripts/check_ext_device.sh" + executionLevel="NORMAL" + nextFinish="false" + canBack="true" + canCancel="true" + > + + <Target + targetName="doit" + jumpIndex="10" + > + </Target> + + <Target + targetName="error_in_device" + jumpIndex="1" + > + </Target> + + <Info + helpText="Firewall Network Device" + > + </Info> + + + <Info + helpText="The firewall needs to know how your server is connected to Internet; choose the device you are using for the external connection." + > + </Info> + + + <Chooser + name="deviceChooser" + variableName="firewallDevice" + defaultOptionScript="__WIZ_HOME__/firewall_wizard/scripts/compute_ext_device.sh" + fillScript="__WIZ_HOME__/firewall_wizard/scripts/liste_ext_device.sh" + helpText="Device" + helpFontName="Default" + helpFontStyle="plain" + helpFontSize="12" + editable="true" + > + </Chooser> + </Page> + + <Page + helpURL="file:/usr/share/doc/mandrake/${LANG}/ref.html/wiz-firewall.html" + name="error_in_device" + jumpPage="choose_net_device" + nextButtonText="Fix It" + executionLevel="NORMAL" + nextFinish="false" + canBack="true" + canCancel="true" + > + + <Info + helpText="The device name is not correct" + > + </Info> + </Page> + + <Page + helpURL="file:/usr/share/doc/mandrake/${LANG}/ref.html/wiz-firewall.html" + name="doit" + func="do_it" + nextButtonText="Configure" + executionLevel="NORMAL" + nextFinish="false" + canBack="true" + canCancel="true" + > + + <Target + targetName="catastrophic_exit" + jumpIndex="1" + > + </Target> + + <Target + targetName="done" + jumpIndex="10" + > + </Target> + + <Info + helpText="Configuring the Firewall" + > + </Info> + + + <Info + helpText="The wizard collected the following parameters +needed to configure your firewall:" + > + </Info> + + + <Freetext + name="freetext" + variableName="protectionLevel" + helpText="Protection Level:" + editable="false" + > + </Freetext> + + <Freetext + name="freetext1" + variableName="firewallDevice" + helpText="Internet Network Device:" + editable="false" + > + </Freetext> + + + <Info + helpText="To accept these values, and configure your server, click the Next button or use the Back button to correct them." + > + </Info> + </Page> + + <Page + helpURL="file:/usr/share/doc/mandrake/${LANG}/ref.html/wiz-firewall.html" + name="done" + nextButtonText="Quit" + executionLevel="NORMAL" + nextFinish="true" + canBack="false" + canCancel="false" + > + + <Info + helpText="Congratulations" + > + </Info> + + + <Info + helpText="The wizard successfully configured your server firewall." + > + </Info> + </Page> + + <Page + helpURL="file:/usr/share/doc/mandrake/${LANG}/ref.html/wiz-firewall.html" + name="catastrophic_exit" + comment="Exit in case of catastrophhic system error" + nextButtonText="Exit" + executionLevel="NORMAL" + nextFinish="true" + canBack="false" + canCancel="false" + > + + <Info + helpText="Something terrible happened" + > + </Info> + </Page> +</Wizard> |