-
- | =gettext("Authentication method"); ?> |
-
+ | =gettext("Phase 1 proposal (Authentication)"); ?> |
+
+
+ | =gettext("Authentication method"); ?> |
+
-
-
+
=gettext("Must match the setting chosen on the remote side"); ?>.
-
+
|
- | =gettext("Negotiation mode"); ?> |
-
+ | =gettext("Negotiation mode"); ?> |
+
=gettext("Aggressive is more flexible, but less secure"); ?>.
+ $modes = array("main" => "Main", "aggressive" => "Aggressive");
+ foreach ($modes as $mode => $mdescr) :
+?>
+
+
+
+
+ =gettext("Aggressive is more flexible, but less secure"); ?>.
+
|
- | =gettext("My identifier"); ?> |
-
- |
- | =gettext("Peer identifier"); ?> |
-
-
- $id_params) :
- if ($pconfig['mobile'] && !$id_params['mobile']) {
- continue;
- }
- ?>
-
-
-
-
- =gettext("Peer identifier"); ?> |
+
+
+ array( 'desc' => gettext('Peer IP address'), 'mobile' => false ),
+ 'address' => array( 'desc' => gettext('IP address'), 'mobile' => false ),
+ 'fqdn' => array( 'desc' => gettext('Distinguished name'), 'mobile' => true ),
+ 'user_fqdn' => array( 'desc' => gettext('User distinguished name'), 'mobile' => true ),
+ 'asn1dn' => array( 'desc' => gettext('ASN.1 distinguished Name'), 'mobile' => true ),
+ 'keyid tag' => array( 'desc' =>gettext('KeyID tag'), 'mobile' => true ));
+ foreach ($peer_identifier_list as $id_type => $id_params) :
+ if (!empty($pconfig['mobile']) && !$id_params['mobile']) {
+ continue;
+ }
?>
-
=gettext("NOTE: This is known as the \"group\" setting on some VPN client implementations"); ?>.
+
+
+
+
+
+ =gettext("NOTE: This is known as the \"group\" setting on some VPN client implementations"); ?>.
|
- | =gettext("Pre-Shared Key"); ?> |
-
-
-
-
-
+ | =gettext("Pre-Shared Key"); ?> |
+
+ " />
+
=gettext("Input your Pre-Shared Key string"); ?>.
-
+
|
- | =gettext("My Certificate"); ?> |
-
+ | =gettext("My Certificate"); ?> |
+
-
-
-
+
+
+
-
-
+
=gettext("Select a certificate previously configured in the Certificate Manager"); ?>.
-
+
|
- | =gettext("My Certificate Authority"); ?> |
-
+ | =gettext("My Certificate Authority"); ?> |
+
-
-
+ $config__ca = isset($config['ca']) ? $config['ca'] : array();
+ foreach ($config__ca as $ca) :
+ $selected = "";
+ if ($pconfig['caref'] == $ca['refid']) {
+ $selected = "selected=\"selected\"";
+ }
+ ?>
+
+
-
-
+
=gettext("Select a certificate authority previously configured in the Certificate Manager"); ?>.
-
+
|
-
-