1119 lines
57 KiB
HTML
1119 lines
57 KiB
HTML
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 4.0//EN">
|
|
<HTML><HEAD>
|
|
|
|
|
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
|
<LINK rel="stylesheet" type="text/css" href="../rzahg/ic.css">
|
|
<script language = "Javascript" src = "../rzahg/iccommon.js"></script>
|
|
<script language = "Javascript" src = "../rzahg/icextwindow.js"></script>
|
|
<script type="text/javascript" language="Javascript">
|
|
|
|
<!-- //////////
|
|
//START NON-TRANSLATABLE
|
|
//Obtain name of HTML file in parent frame.
|
|
var parentDir = parent.window.location.href.substring(0,location.href.lastIndexOf('/')+1);
|
|
var parentUrl = parent.window.location.href.substring(parentDir.length,parent.window.location.href.length+1);
|
|
if (parentUrl.indexOf("#") >= 0) { parentUrl = parentUrl.substring(0,parentUrl.indexOf("#"));}
|
|
|
|
function restoreValues() {
|
|
//Is the hidden frame already loaded with the correct html?
|
|
if (parentUrl != "rzalradvvpnwelcome.htm") {
|
|
window.location = "rzalradvvpnwelcome.htm"; //load advisor frameset
|
|
return;
|
|
} else {
|
|
//Obtain name of HTML file in hidden frame.
|
|
var hiddenDir = parent.hidden.window.location.href.substring(0,location.href.lastIndexOf('/')+1);
|
|
var hiddenUrl = parent.hidden.window.location.href.substring(hiddenDir.length,parent.hidden.window.location.href.length+1);
|
|
if (hiddenUrl.indexOf("#") >= 0) { hiddenUrl = hiddenUrl.substring(0,hiddenUrl.indexOf("#"));}
|
|
if (hiddenUrl != "rzalradvvpnhidden.htm") {
|
|
//Correct HTML not loaded, load it
|
|
parent.hidden.window.location = "rzalradvvpnhidden.htm";
|
|
} else { //already loaded
|
|
restoreValues2();
|
|
}
|
|
}
|
|
}
|
|
|
|
function changeHidden() {
|
|
if (document.form1.idtype[0].selected == true) {
|
|
MM_showHideLayers('ipsegs','','show');
|
|
MM_showHideLayers('textin','','hide');
|
|
MM_showHideLayers('ranger','','hide');
|
|
MM_showHideLayers('subber','','hide');
|
|
} else {
|
|
if (document.form1.idtype[1].selected == true) {
|
|
MM_showHideLayers('ranger','','show');
|
|
MM_showHideLayers('ipsegs','','hide');
|
|
MM_showHideLayers('textin','','hide');
|
|
MM_showHideLayers('subber','','hide');
|
|
} else {
|
|
if (document.form1.idtype[2].selected == true) {
|
|
MM_showHideLayers('ranger','','hide');
|
|
MM_showHideLayers('ipsegs','','hide');
|
|
MM_showHideLayers('textin','','hide');
|
|
MM_showHideLayers('subber','','show');
|
|
} else {
|
|
if (document.form1.idtype[3].selected == true) {
|
|
MM_showHideLayers('ranger','','hide');
|
|
MM_showHideLayers('ipsegs','','hide');
|
|
MM_showHideLayers('textin','','hide');
|
|
MM_showHideLayers('subber','','hide');
|
|
} else {
|
|
if (document.form1.idtype[4].selected == true) {
|
|
MM_showHideLayers('textin','','show');
|
|
MM_showHideLayers('ipsegs','','hide');
|
|
MM_showHideLayers('ranger','','hide');
|
|
MM_showHideLayers('subber','','hide');
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
// restoreValues2()
|
|
//
|
|
// This function is called when the the page is loaded. The function
|
|
// checks the applet to see if any values had been previously set. If
|
|
// values differ from page defaults, change values to match what user
|
|
// had selected.
|
|
function restoreValues2() {
|
|
if ((parent.hidden.savevalue[25] != "") ||
|
|
(navigator.appName == "Microsoft Internet Explorer" && parent.hidden.savevalue[69] != "")) {
|
|
if (parseInt(parent.hidden.savevalue[25]) == 0) {
|
|
//ip version 4 address
|
|
document.form1.idtype[0].selected = true;
|
|
MM_showHideLayers('textin','','hide');
|
|
MM_showHideLayers('ranger','','hide');
|
|
MM_showHideLayers('subber','','hide');
|
|
MM_showHideLayers('ipsegs','','show');
|
|
if (isNS && !isNS6 == true) {
|
|
document.layers.ipsegs.document.form2.ip1.value = parent.hidden.savevalue[69];
|
|
document.layers.ipsegs.document.form2.ip2.value = parent.hidden.savevalue[70];
|
|
document.layers.ipsegs.document.form2.ip3.value = parent.hidden.savevalue[71];
|
|
document.layers.ipsegs.document.form2.ip4.value = parent.hidden.savevalue[72];
|
|
document.layers.textin.document.form3.reset;
|
|
document.layers.ranger.document.form4.reset;
|
|
document.layers.subber.document.form5.reset;
|
|
} else {
|
|
document.form2.ip1.value = parent.hidden.savevalue[69];
|
|
document.form2.ip2.value = parent.hidden.savevalue[70];
|
|
document.form2.ip3.value = parent.hidden.savevalue[71];
|
|
document.form2.ip4.value = parent.hidden.savevalue[72];
|
|
document.form3.reset;
|
|
document.form4.reset;
|
|
document.form5.reset;
|
|
}
|
|
} else {
|
|
if (parseInt(parent.hidden.savevalue[25]) == 1) {
|
|
//range
|
|
document.form1.idtype[1].selected = true;
|
|
MM_showHideLayers('textin','','hide');
|
|
MM_showHideLayers('ipsegs','','hide');
|
|
MM_showHideLayers('subber','','hide');
|
|
MM_showHideLayers('ranger','','show');
|
|
if (isNS && !isNS6 == true) {
|
|
document.layers.ranger.document.form4.ip5.value = parent.hidden.savevalue[69];
|
|
document.layers.ranger.document.form4.ip6.value = parent.hidden.savevalue[70];
|
|
document.layers.ranger.document.form4.ip7.value = parent.hidden.savevalue[71];
|
|
document.layers.ranger.document.form4.ip8.value = parent.hidden.savevalue[72];
|
|
document.layers.ranger.document.form4.ip9.value = parent.hidden.savevalue[73];
|
|
document.layers.ranger.document.form4.ip10.value = parent.hidden.savevalue[74];
|
|
document.layers.ranger.document.form4.ip11.value = parent.hidden.savevalue[75];
|
|
document.layers.ranger.document.form4.ip12.value = parent.hidden.savevalue[76];
|
|
document.layers.ipsegs.document.form2.reset;
|
|
document.layers.textin.document.form3.reset;
|
|
document.layers.subber.document.form5.reset;
|
|
} else {
|
|
document.form4.ip5.value = parent.hidden.savevalue[69];
|
|
document.form4.ip6.value = parent.hidden.savevalue[70];
|
|
document.form4.ip7.value = parent.hidden.savevalue[71];
|
|
document.form4.ip8.value = parent.hidden.savevalue[72];
|
|
document.form4.ip9.value = parent.hidden.savevalue[73];
|
|
document.form4.ip10.value = parent.hidden.savevalue[74];
|
|
document.form4.ip11.value = parent.hidden.savevalue[75];
|
|
document.form4.ip12.value = parent.hidden.savevalue[76];
|
|
document.form2.reset;
|
|
document.form3.reset;
|
|
document.form5.reset;
|
|
}
|
|
} else {
|
|
if (parseInt(parent.hidden.savevalue[25]) == 2) {
|
|
//subnet
|
|
document.form1.idtype[2].selected = true;
|
|
MM_showHideLayers('textin','','hide');
|
|
MM_showHideLayers('ranger','','hide');
|
|
MM_showHideLayers('ipsegs','','hide');
|
|
MM_showHideLayers('subber','','show');
|
|
if (isNS && !isNS6 == true) {
|
|
document.layers.subber.document.form5.sub1.value = parent.hidden.savevalue[69];
|
|
document.layers.subber.document.form5.sub2.value = parent.hidden.savevalue[70];
|
|
document.layers.subber.document.form5.sub3.value = parent.hidden.savevalue[71];
|
|
document.layers.subber.document.form5.sub4.value = parent.hidden.savevalue[72];
|
|
document.layers.subber.document.form5.mask1.value = parent.hidden.savevalue[73];
|
|
document.layers.subber.document.form5.mask2.value = parent.hidden.savevalue[74];
|
|
document.layers.subber.document.form5.mask3.value = parent.hidden.savevalue[75];
|
|
document.layers.subber.document.form5.mask4.value = parent.hidden.savevalue[76];
|
|
document.layers.ipsegs.document.form2.reset;
|
|
document.layers.textin.document.form3.reset;
|
|
document.layers.ranger.document.form4.reset;
|
|
} else {
|
|
document.form5.sub1.value = parent.hidden.savevalue[69];
|
|
document.form5.sub2.value = parent.hidden.savevalue[70];
|
|
document.form5.sub3.value = parent.hidden.savevalue[71];
|
|
document.form5.sub4.value = parent.hidden.savevalue[72];
|
|
document.form5.mask1.value = parent.hidden.savevalue[73];
|
|
document.form5.mask2.value = parent.hidden.savevalue[74];
|
|
document.form5.mask3.value = parent.hidden.savevalue[75];
|
|
document.form5.mask4.value = parent.hidden.savevalue[76];
|
|
document.form2.reset;
|
|
document.form3.reset;
|
|
document.form4.reset;
|
|
}
|
|
} else {
|
|
if (parseInt(parent.hidden.savevalue[25]) == 3) {
|
|
//any ip
|
|
document.form1.idtype[3].selected = true;
|
|
MM_showHideLayers('textin','','hide');
|
|
MM_showHideLayers('ranger','','hide');
|
|
MM_showHideLayers('subber','','hide');
|
|
MM_showHideLayers('ipsegs','','hide');
|
|
if (isNS && !isNS6 == true) {
|
|
document.layers.ipsegs.document.form2.reset;
|
|
document.layers.textin.document.form3.reset;
|
|
document.layers.ranger.document.form4.reset;
|
|
document.layers.subber.document.form5.reset;
|
|
} else {
|
|
document.form2.reset;
|
|
document.form3.reset;
|
|
document.form4.reset;
|
|
document.form5.reset;
|
|
}
|
|
} else {
|
|
if (parseInt(parent.hidden.savevalue[25]) == 4) {
|
|
//host name
|
|
document.form1.idtype[4].selected = true;
|
|
MM_showHideLayers('ranger','','hide');
|
|
MM_showHideLayers('ipsegs','','hide');
|
|
MM_showHideLayers('subber','','hide');
|
|
MM_showHideLayers('textin','','show');
|
|
if (isNS && !isNS6 == true) {
|
|
document.layers.textin.document.form3.idtext.value = parent.hidden.savevalue[26];
|
|
document.layers.ipsegs.document.form2.reset;
|
|
document.layers.ranger.document.form4.reset;
|
|
} else {
|
|
document.form3.idtext.value = parent.hidden.savevalue[26];
|
|
document.form2.reset;
|
|
document.form4.reset;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
} else {
|
|
//Nothing was saved in hidden frame, probably the 1st load of the page
|
|
MM_showHideLayers('textin','','hide');
|
|
MM_showHideLayers('ranger','','hide');
|
|
MM_showHideLayers('subber','','show');
|
|
MM_showHideLayers('ipsegs','','hide');
|
|
if (isNS && !isNS6 == true) {
|
|
document.layers.subber.document.form5.mask1.value = "255";
|
|
document.layers.subber.document.form5.mask2.value = "255";
|
|
document.layers.subber.document.form5.mask3.value = "255";
|
|
document.layers.subber.document.form5.mask4.value = "0";
|
|
} else {
|
|
document.form5.mask1.value = "255";
|
|
document.form5.mask2.value = "255";
|
|
document.form5.mask3.value = "255";
|
|
document.form5.mask4.value = "0";
|
|
}
|
|
}
|
|
|
|
if (parseInt(parent.hidden.savevalue[33]) == 1) {
|
|
document.form6.remport[1].checked = true;
|
|
document.form6.remportnum.value = parent.hidden.savevalue[77];
|
|
}
|
|
|
|
//END NON-TRANSLATABLE
|
|
}
|
|
|
|
// onBack()
|
|
//
|
|
// This function is called when the user clicks the Back button on the form.
|
|
// The function loads the previous page of the advisor in the contents frame.
|
|
function onBack() {
|
|
//START NON-TRANSLATABLE
|
|
window.location = "rzalradvvpn80.htm";
|
|
//END NON-TRANSLATABLE
|
|
}
|
|
|
|
// oncheckNS()
|
|
//
|
|
//
|
|
function checkNS() {
|
|
errMessage1 = "The IP address that identifies the remote data endpoint is incorrect. Enter a valid IP address.";
|
|
errMessage2 = "Specify the IP address to identify the remote data endpoint.";
|
|
errMessage3 = "The subnet that identifies the remote data endpoint is incorrect. Enter a valid subnet.";
|
|
errMessage3a = "The mask that identifies the remote data endpoint is incorrect. Enter a valid mask.";
|
|
errMessage4 = "Specify the subnet to identify the remote data endpoint.";
|
|
errMessage4a = "Specify the mask to identify the remote data endpoint.";
|
|
errMessage5 = "The range of addresses that identifies the remote data endpoint is incorrect. Enter a valid range.";
|
|
errMessage6 = "Specify the range of addresses to identify the remote data endpoint.";
|
|
errMessage7 = "The two addresses you entered for the range are identical. Enter starting and ending addresses."
|
|
errMessage9 = "Specify the host name to identify the remote data endpoint.";
|
|
errMessage13 = "Enter a remote port number";
|
|
errMessage14 = "The remote port number you entered is not valid. Port must be an integer between 1 and 65535";
|
|
|
|
//START NON-TRANSLATABLE
|
|
|
|
if (document.form6.remport[0].checked == true) {
|
|
parent.hidden.savevalue[33] = 0;
|
|
} else {
|
|
parent.hidden.savevalue[33] = 1;
|
|
//Save port number
|
|
//Can be any port from 1 to 65535
|
|
if (document.form6.remportnum.value == "") {
|
|
document.form6.remportnum.focus();
|
|
alert(errMessage13);
|
|
return;
|
|
} else {
|
|
if (isNaN(document.form6.remportnum.value)) {
|
|
document.form6.remportnum.select();
|
|
document.form6.remportnum.focus();
|
|
alert(errMessage14);
|
|
return;
|
|
} else {
|
|
if (document.form6.remportnum.value < 1 || document.form6.remportnum.value > 65535) {
|
|
document.form6.remportnum.select();
|
|
document.form6.remportnum.focus();
|
|
alert(errMessage14);
|
|
return;
|
|
} else {
|
|
parent.hidden.savevalue[77] = document.form6.remportnum.value;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
if (document.form1.idtype[0].selected == true) {
|
|
//ip version 4 address selected
|
|
parent.hidden.savevalue[25] = 0;
|
|
if (document.layers.ipsegs.document.form2.ip1.value == "" && document.layers.ipsegs.document.form2.ip2.value == "" &&
|
|
document.layers.ipsegs.document.form2.ip3.value == "" && document.layers.ipsegs.document.form2.ip4.value == "") {
|
|
//no values entered
|
|
alert(errMessage2);
|
|
document.layers.ipsegs.document.form2.ip1.select();
|
|
document.layers.ipsegs.document.form2.ip1.focus();
|
|
return;
|
|
} else {
|
|
//Check ip version 4 address
|
|
add1 = parseInt(document.layers.ipsegs.document.form2.ip1.value);
|
|
add2 = parseInt(document.layers.ipsegs.document.form2.ip2.value);
|
|
add3 = parseInt(document.layers.ipsegs.document.form2.ip3.value);
|
|
add4 = parseInt(document.layers.ipsegs.document.form2.ip4.value);
|
|
//Check the first segment
|
|
if (add1 < 1 || add1 > 255 || isNaN(add1) || document.layers.ipsegs.document.form2.ip1.value == "") {
|
|
alert(errMessage1);
|
|
document.layers.ipsegs.document.form2.ip1.select();
|
|
document.layers.ipsegs.document.form2.ip1.focus();
|
|
return;
|
|
} else {
|
|
//Check the second segment
|
|
if (add2 < 0 || add2 > 255 || isNaN(add2) || document.layers.ipsegs.document.form2.ip2.value == "") {
|
|
alert(errMessage1);
|
|
document.layers.ipsegs.document.form2.ip2.select();
|
|
document.layers.ipsegs.document.form2.ip2.focus();
|
|
return;
|
|
} else {
|
|
//Check the third segment
|
|
if (add3 < 0 || add3 > 255 || isNaN(add3) || document.layers.ipsegs.document.form2.ip3.value == "") {
|
|
alert(errMessage1);
|
|
document.layers.ipsegs.document.form2.ip3.select();
|
|
document.layers.ipsegs.document.form2.ip3.focus();
|
|
return;
|
|
} else {
|
|
//Check the fourth segment
|
|
if (add4 < 0 || add4 > 255 || isNaN(add4) || document.layers.ipsegs.document.form2.ip4.value == "") {
|
|
alert(errMessage1);
|
|
document.layers.ipsegs.document.form2.ip4.select();
|
|
document.layers.ipsegs.document.form2.ip4.focus();
|
|
return;
|
|
} else {
|
|
//IP address is valid
|
|
parent.hidden.savevalue[26] = add1 + "." + add2 + "." + add3 + "." + add4;
|
|
parent.hidden.savevalue[69] = add1;
|
|
parent.hidden.savevalue[70] = add2;
|
|
parent.hidden.savevalue[71] = add3;
|
|
parent.hidden.savevalue[72] = add4;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
} else {
|
|
if (document.form1.idtype[1].selected == true) {
|
|
//range selected
|
|
parent.hidden.savevalue[25] = 1;
|
|
if (document.layers.ranger.document.form4.ip5.value == "" && document.layers.ranger.document.form4.ip6.value == "" &&
|
|
document.layers.ranger.document.form4.ip7.value == "" && document.layers.ranger.document.form4.ip8.value == "" &&
|
|
document.layers.ranger.document.form4.ip9.value == "" && document.layers.ranger.document.form4.ip10.value == "" &&
|
|
document.layers.ranger.document.form4.ip11.value == "" && document.layers.ranger.document.form4.ip12.value == "") {
|
|
//no values entered
|
|
alert(errMessage6);
|
|
document.layers.ranger.document.form4.ip5.select();
|
|
document.layers.ranger.document.form4.ip5.focus();
|
|
return;
|
|
} else {
|
|
//Check range
|
|
add5 = parseInt(document.layers.ranger.document.form4.ip5.value);
|
|
add6 = parseInt(document.layers.ranger.document.form4.ip6.value);
|
|
add7 = parseInt(document.layers.ranger.document.form4.ip7.value);
|
|
add8 = parseInt(document.layers.ranger.document.form4.ip8.value);
|
|
add9 = parseInt(document.layers.ranger.document.form4.ip9.value);
|
|
add10 = parseInt(document.layers.ranger.document.form4.ip10.value);
|
|
add11 = parseInt(document.layers.ranger.document.form4.ip11.value);
|
|
add12 = parseInt(document.layers.ranger.document.form4.ip12.value);
|
|
//Check the first segment
|
|
if (add5 < 1 || add5 > 255 || isNaN(add5) || document.layers.ranger.document.form4.ip5.value == "") {
|
|
alert(errMessage5);
|
|
document.layers.ranger.document.form4.ip5.select();
|
|
document.layers.ranger.document.form4.ip5.focus();
|
|
return;
|
|
} else {
|
|
//Check the second segment
|
|
if (add6 < 0 || add6 > 255 || isNaN(add6) || document.layers.ranger.document.form4.ip6.value == "") {
|
|
alert(errMessage5);
|
|
document.layers.ranger.document.form4.ip6.select();
|
|
document.layers.ranger.document.form4.ip6.focus();
|
|
return;
|
|
} else {
|
|
//Check the third segment
|
|
if (add7 < 0 || add7 > 255 || isNaN(add7) || document.layers.ranger.document.form4.ip7.value == "") {
|
|
alert(errMessage5);
|
|
document.layers.ranger.document.form4.ip7.select();
|
|
document.layers.ranger.document.form4.ip7.focus();
|
|
return;
|
|
} else {
|
|
//Check the fourth segment
|
|
if (add8 < 0 || add8 > 255 || isNaN(add8) || document.layers.ranger.document.form4.ip8.value == "") {
|
|
alert(errMessage5);
|
|
document.layers.ranger.document.form4.ip8.select();
|
|
document.layers.ranger.document.form4.ip8.focus();
|
|
return;
|
|
} else {
|
|
//Check the first segment of 2nd address
|
|
if (add9 < 1 || add9 > 255 || isNaN(add9) || document.layers.ranger.document.form4.ip9.value == "") {
|
|
alert(errMessage5);
|
|
document.layers.ranger.document.form4.ip9.select();
|
|
document.layers.ranger.document.form4.ip9.focus();
|
|
return;
|
|
} else {
|
|
//Check the second segment of 2nd address
|
|
if (add10 < 0 || add10 > 255 || isNaN(add10) || document.layers.ranger.document.form4.ip10.value == "") {
|
|
alert(errMessage5);
|
|
document.layers.ranger.document.form4.ip10.select();
|
|
document.layers.ranger.document.form4.ip10.focus();
|
|
return;
|
|
} else {
|
|
//Check the third segment of 2nd address
|
|
if (add11 < 0 || add11 > 255 || isNaN(add11) || document.layers.ranger.document.form4.ip11.value == "") {
|
|
alert(errMessage5);
|
|
document.layers.ranger.document.form4.ip11.select();
|
|
document.layers.ranger.document.form4.ip11.focus();
|
|
return;
|
|
} else {
|
|
//Check the fourth segment of 2nd address
|
|
if (add12 < 0 || add12 > 255 || isNaN(add12) || document.layers.ranger.document.form4.ip12.value == "") {
|
|
alert(errMessage5);
|
|
document.layers.ranger.document.form4.ip12.select();
|
|
document.layers.ranger.document.form4.ip12.focus();
|
|
return;
|
|
} else {
|
|
//IP address range is valid
|
|
if ((add5 == add9) && (add6 == add10) && (add7 == add11) && (add8 == add12)) {
|
|
//addresses equal each other, and that is not good
|
|
alert(errMessage7);
|
|
return;
|
|
} else {
|
|
//Store smallest address in first slot
|
|
if ((add9 > add5) ||
|
|
((add9 == add5) && (add10 > add6)) ||
|
|
((add9 == add5) && (add10 == add6) && (add11 > add7)) ||
|
|
((add9 == add5) && (add10 == add6) && (add11 == add7) && (add12 > add8))) {
|
|
//First address is smaller
|
|
parent.hidden.savevalue[26] = add5 + "." + add6 + "." + add7 + "." + add8;
|
|
parent.hidden.savevalue[69] = add5;
|
|
parent.hidden.savevalue[70] = add6;
|
|
parent.hidden.savevalue[71] = add7;
|
|
parent.hidden.savevalue[72] = add8;
|
|
parent.hidden.savevalue[27] = add9 + "." + add10 + "." + add11 + "." + add12;
|
|
parent.hidden.savevalue[73] = add9;
|
|
parent.hidden.savevalue[74] = add10;
|
|
parent.hidden.savevalue[75] = add11;
|
|
parent.hidden.savevalue[76] = add12;
|
|
} else {
|
|
//Second address is smaller
|
|
parent.hidden.savevalue[27] = add5 + "." + add6 + "." + add7 + "." + add8;
|
|
parent.hidden.savevalue[73] = add5;
|
|
parent.hidden.savevalue[74] = add6;
|
|
parent.hidden.savevalue[75] = add7;
|
|
parent.hidden.savevalue[76] = add8;
|
|
parent.hidden.savevalue[26] = add9 + "." + add10 + "." + add11 + "." + add12;
|
|
parent.hidden.savevalue[69] = add9;
|
|
parent.hidden.savevalue[70] = add10;
|
|
parent.hidden.savevalue[71] = add11;
|
|
parent.hidden.savevalue[72] = add12;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
} else {
|
|
if (document.form1.idtype[2].selected == true) {
|
|
//subnet selected
|
|
parent.hidden.savevalue[25] = 2;
|
|
if (document.layers.subber.document.form5.sub1.value == "" && document.layers.subber.document.form5.sub2.value == "" &&
|
|
document.layers.subber.document.form5.sub3.value == "" && document.layers.subber.document.form5.sub4.value == "") {
|
|
//no values entered
|
|
alert(errMessage4);
|
|
document.layers.subber.document.form5.sub1.select();
|
|
document.layers.subber.document.form5.sub1.focus();
|
|
return;
|
|
} else {
|
|
//Check subnet and mask
|
|
su1 = parseInt(document.layers.subber.document.form5.sub1.value);
|
|
su2 = parseInt(document.layers.subber.document.form5.sub2.value);
|
|
su3 = parseInt(document.layers.subber.document.form5.sub3.value);
|
|
su4 = parseInt(document.layers.subber.document.form5.sub4.value);
|
|
mas1 = parseInt(document.layers.subber.document.form5.mask1.value);
|
|
mas2 = parseInt(document.layers.subber.document.form5.mask2.value);
|
|
mas3 = parseInt(document.layers.subber.document.form5.mask3.value);
|
|
mas4 = parseInt(document.layers.subber.document.form5.mask4.value);
|
|
//Check the first segment
|
|
if (su1 < 1 ||su1 > 255 || isNaN(su1) || document.layers.subber.document.form5.sub1.value == "") {
|
|
alert(errMessage3);
|
|
document.layers.subber.document.form5.sub1.select();
|
|
document.layers.subber.document.form5.sub1.focus();
|
|
return;
|
|
} else {
|
|
//Check the second segment
|
|
if (su2 < 0 || su2 > 255 || isNaN(su2) || document.layers.subber.document.form5.sub2.value == "") {
|
|
alert(errMessage3);
|
|
document.layers.subber.document.form5.sub2.select();
|
|
document.layers.subber.document.form5.sub2.focus();
|
|
return;
|
|
} else {
|
|
//Check the third segment
|
|
if (su3 < 0 || su3 > 255 || isNaN(su3) || document.layers.subber.document.form5.sub3.value == "") {
|
|
alert(errMessage3);
|
|
document.layers.subber.document.form5.sub3.select();
|
|
document.layers.subber.document.form5.sub3.focus();
|
|
return;
|
|
} else {
|
|
//Check the fourth segment
|
|
if (su4 < 0 || su4 > 255 || isNaN(su4) || document.layers.subber.document.form5.sub4.value == "") {
|
|
alert(errMessage3);
|
|
document.layers.subber.document.form5.sub4.select();
|
|
document.layers.subber.document.form5.sub4.focus();
|
|
return;
|
|
} else {
|
|
if (document.layers.subber.document.form5.mask1.value == "" && document.layers.subber.document.form5.mask2.value == "" &&
|
|
document.layers.subber.document.form5.mask3.value == "" && document.layers.subber.document.form5.mask4.value == "") {
|
|
//no values entered
|
|
alert(errMessage4a);
|
|
document.layers.subber.document.form5.mask1.select();
|
|
document.layers.subber.document.form5.mask1.focus();
|
|
return;
|
|
} else {
|
|
if ((mas1 != 255 && mas1 != 254 && mas1 != 252 &&
|
|
mas1 != 248 && mas1 != 240 && mas1 != 224 &&
|
|
mas1 != 192 && mas1 != 128 && mas1 != 0 && !(isNaN(mas1))) || (isNaN(mas1))) {
|
|
alert(errMessage3a);
|
|
document.layers.subber.document.form5.mask1.select();
|
|
document.layers.subber.document.form5.mask1.focus();
|
|
return;
|
|
} else {
|
|
//Check the second segment
|
|
if ((mas2 != 255 && mas2 != 254 && mas2 != 252 &&
|
|
mas2 != 248 && mas2 != 240 && mas2 != 224 &&
|
|
mas2 != 192 && mas2 != 128 && mas2 != 0 && !(isNaN(mas2))) || (isNaN(mas2))) {
|
|
alert(errMessage3a);
|
|
document.layers.subber.document.form5.mask2.select();
|
|
document.layers.subber.document.form5.mask2.focus();
|
|
return;
|
|
} else {
|
|
//Check the third segment
|
|
if ((mas3 != 255 && mas3 != 254 && mas3 != 252 &&
|
|
mas3 != 248 && mas3 != 240 && mas3 != 224 &&
|
|
mas3 != 192 && mas3 != 128 && mas3 != 0 && !(isNaN(mas3))) || (isNaN(mas3))) {
|
|
alert(errMessage3a);
|
|
document.layers.subber.document.form5.mask3.select();
|
|
document.layers.subber.document.form5.mask3.focus();
|
|
return;
|
|
} else {
|
|
//Check the fourth segment
|
|
if ((mas4 != 255 && mas4 != 254 && mas4 != 252 &&
|
|
mas4 != 248 && mas4 != 240 && mas4 != 224 &&
|
|
mas4 != 192 && mas4 != 128 && mas4 != 0 && !(isNaN(mas4))) || (isNaN(mas4))) {
|
|
alert(errMessage3a);
|
|
document.layers.subber.document.form5.mask4.select();
|
|
document.layers.subber.document.form5.mask4.focus();
|
|
return;
|
|
} else {
|
|
//subnet and mask are valid
|
|
parent.hidden.savevalue[26] = su1 + "." + su2 + "." + su3 + "." + su4;
|
|
parent.hidden.savevalue[69] = su1;
|
|
parent.hidden.savevalue[70] = su2;
|
|
parent.hidden.savevalue[71] = su3;
|
|
parent.hidden.savevalue[72] = su4;
|
|
parent.hidden.savevalue[27] = mas1 + "." + mas2 + "." + mas3 + "." + mas4;
|
|
parent.hidden.savevalue[73] = mas1;
|
|
parent.hidden.savevalue[74] = mas2;
|
|
parent.hidden.savevalue[75] = mas3;
|
|
parent.hidden.savevalue[76] = mas4;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
} else {
|
|
if (document.form1.idtype[3].selected == true) {
|
|
//any ip address selected
|
|
parent.hidden.savevalue[25] = 3;
|
|
} else {
|
|
if (document.form1.idtype[4].selected == true) {
|
|
//hostname selected
|
|
parent.hidden.savevalue[25] = 4;
|
|
if (document.layers.textin.document.form3.idtext.value == "") {
|
|
//Give error message
|
|
alert(errMessage9);
|
|
document.layers.textin.document.form3.idtext.focus();
|
|
return;
|
|
} else {
|
|
//hostname is valid
|
|
parent.hidden.savevalue[26] = document.layers.textin.document.form3.idtext.value;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
window.location = "rzalradvvpnfinal.htm";
|
|
//END NON-TRANSLATABLE
|
|
}
|
|
|
|
// oncheckIE()
|
|
//
|
|
//
|
|
function checkIE() {
|
|
errMessage1 = "The IP address that identifies the remote data endpoint is incorrect. Enter a valid IP address.";
|
|
errMessage2 = "Specify the IP address to identify the remote data endpoint.";
|
|
errMessage3 = "The subnet that identifies the remote data endpoint is incorrect. Enter a valid subnet.";
|
|
errMessage3a = "The mask that identifies the remote data endpoint is incorrect. Enter a valid mask.";
|
|
errMessage4 = "Specify the subnet to identify the remote data endpoint.";
|
|
errMessage4a = "Specify the mask to identify the remote data endpoint.";
|
|
errMessage5 = "The range of addresses that identifies the remote data endpoint is incorrect. Enter a valid range.";
|
|
errMessage6 = "Specify the range of addresses to identify the remote data endpoint.";
|
|
errMessage7 = "The two addresses you entered for the range are identical. Enter starting and ending addresses."
|
|
errMessage9 = "Specify the host name to identify the remote data endpoint.";
|
|
errMessage13 = "Enter a remote port number";
|
|
errMessage14 = "The remote port number you entered is not valid. Port must be an integer between 1 and 65535";
|
|
|
|
//START NON-TRANSLATABLE
|
|
if (document.form6.remport[0].checked == true) {
|
|
parent.hidden.savevalue[33] = 0;
|
|
} else {
|
|
parent.hidden.savevalue[33] = 1;
|
|
//Save port number
|
|
//Can be any port from 1 to 65535
|
|
if (document.form6.remportnum.value == "") {
|
|
document.form6.remportnum.focus();
|
|
alert(errMessage13);
|
|
return;
|
|
} else {
|
|
if (isNaN(document.form6.remportnum.value)) {
|
|
document.form6.remportnum.select();
|
|
document.form6.remportnum.focus();
|
|
alert(errMessage14);
|
|
return;
|
|
} else {
|
|
if (document.form6.remportnum.value < 1 || document.form6.remportnum.value > 65535) {
|
|
document.form6.remportnum.select();
|
|
document.form6.remportnum.focus();
|
|
alert(errMessage14);
|
|
return;
|
|
} else {
|
|
parent.hidden.savevalue[77] = document.form6.remportnum.value;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
if (document.form1.idtype[0].selected == true) {
|
|
//ip version 4 address selected
|
|
parent.hidden.savevalue[25] = 0;
|
|
if (document.form2.ip1.value == "" && document.form2.ip2.value == "" &&
|
|
document.form2.ip3.value == "" && document.form2.ip4.value == "") {
|
|
//no values entered
|
|
alert(errMessage2);
|
|
document.form2.ip1.select();
|
|
document.form2.ip1.focus();
|
|
return;
|
|
} else {
|
|
//Check ip version 4 address
|
|
add1 = parseInt(document.form2.ip1.value);
|
|
add2 = parseInt(document.form2.ip2.value);
|
|
add3 = parseInt(document.form2.ip3.value);
|
|
add4 = parseInt(document.form2.ip4.value);
|
|
//Check the first segment
|
|
if (add1 < 1 || add1 > 255 || isNaN(add1) || document.form2.ip1.value == "") {
|
|
alert(errMessage1);
|
|
document.form2.ip1.select();
|
|
document.form2.ip1.focus();
|
|
return;
|
|
} else {
|
|
//Check the second segment
|
|
if (add2 < 0 || add2 > 255 || isNaN(add2) || document.form2.ip2.value == "") {
|
|
alert(errMessage1);
|
|
document.form2.ip2.select();
|
|
document.form2.ip2.focus();
|
|
return;
|
|
} else {
|
|
//Check the third segment
|
|
if (add3 < 0 || add3 > 255 || isNaN(add3) || document.form2.ip3.value == "") {
|
|
alert(errMessage1);
|
|
document.form2.ip3.select();
|
|
document.form2.ip3.focus();
|
|
return;
|
|
} else {
|
|
//Check the fourth segment
|
|
if (add4 < 0 || add4 > 255 || isNaN(add4) || document.form2.ip4.value == "") {
|
|
alert(errMessage1);
|
|
document.form2.ip4.select();
|
|
document.form2.ip4.focus();
|
|
return;
|
|
} else {
|
|
//IP address is valid
|
|
parent.hidden.savevalue[26] = add1 + "." + add2 + "." + add3 + "." + add4;
|
|
parent.hidden.savevalue[69] = add1;
|
|
parent.hidden.savevalue[70] = add2;
|
|
parent.hidden.savevalue[71] = add3;
|
|
parent.hidden.savevalue[72] = add4;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
} else {
|
|
if (document.form1.idtype[1].selected == true) {
|
|
//range selected
|
|
parent.hidden.savevalue[25] = 1;
|
|
if (document.form4.ip5.value == "" && document.form4.ip6.value == "" &&
|
|
document.form4.ip7.value == "" && document.form4.ip8.value == "" &&
|
|
document.form4.ip9.value == "" && document.form4.ip10.value == "" &&
|
|
document.form4.ip11.value == "" && document.form4.ip12.value == "") {
|
|
//no values entered
|
|
alert(errMessage6);
|
|
document.form4.ip5.select();
|
|
document.form4.ip5.focus();
|
|
return;
|
|
} else {
|
|
//Check range
|
|
add5 = parseInt(document.form4.ip5.value);
|
|
add6 = parseInt(document.form4.ip6.value);
|
|
add7 = parseInt(document.form4.ip7.value);
|
|
add8 = parseInt(document.form4.ip8.value);
|
|
add9 = parseInt(document.form4.ip9.value);
|
|
add10 = parseInt(document.form4.ip10.value);
|
|
add11 = parseInt(document.form4.ip11.value);
|
|
add12 = parseInt(document.form4.ip12.value);
|
|
//Check the first segment
|
|
if (add5 < 1 || add5 > 255 || isNaN(add5) || document.form4.ip5.value == "") {
|
|
alert(errMessage5);
|
|
document.form4.ip5.select();
|
|
document.form4.ip5.focus();
|
|
return;
|
|
} else {
|
|
//Check the second segment
|
|
if (add6 < 0 || add6 > 255 || isNaN(add6) || document.form4.ip6.value == "") {
|
|
alert(errMessage5);
|
|
document.form4.ip6.select();
|
|
document.form4.ip6.focus();
|
|
return;
|
|
} else {
|
|
//Check the third segment
|
|
if (add7 < 0 || add7 > 255 || isNaN(add7) || document.form4.ip7.value == "") {
|
|
alert(errMessage5);
|
|
document.form4.ip7.select();
|
|
document.form4.ip7.focus();
|
|
return;
|
|
} else {
|
|
//Check the fourth segment
|
|
if (add8 < 0 || add8 > 255 || isNaN(add8) || document.form4.ip8.value == "") {
|
|
alert(errMessage5);
|
|
document.form4.ip8.select();
|
|
document.form4.ip8.focus();
|
|
return;
|
|
} else {
|
|
//Check the first segment of 2nd address
|
|
if (add9 < 1 || add9 > 255 || isNaN(add9) || document.form4.ip9.value == "") {
|
|
alert(errMessage5);
|
|
document.form4.ip9.select();
|
|
document.form4.ip9.focus();
|
|
return;
|
|
} else {
|
|
//Check the second segment of 2nd address
|
|
if (add10 < 0 || add10 > 255 || isNaN(add10) || document.form4.ip10.value == "") {
|
|
alert(errMessage5);
|
|
document.form4.ip10.select();
|
|
document.form4.ip10.focus();
|
|
return;
|
|
} else {
|
|
//Check the third segment of 2nd address
|
|
if (add11 < 0 || add11 > 255 || isNaN(add11) || document.form4.ip11.value == "") {
|
|
alert(errMessage5);
|
|
document.form4.ip11.select();
|
|
document.form4.ip11.focus();
|
|
return;
|
|
} else {
|
|
//Check the fourth segment of 2nd address
|
|
if (add12 < 0 || add12 > 255 || isNaN(add12) || document.form4.ip12.value == "") {
|
|
alert(errMessage5);
|
|
document.form4.ip12.select();
|
|
document.form4.ip12.focus();
|
|
return;
|
|
} else {
|
|
//IP address range is valid
|
|
if ((add5 == add9) && (add6 == add10) && (add7 == add11) && (add8 == add12)) {
|
|
//addresses equal each other, and that is not good
|
|
alert(errMessage7);
|
|
return;
|
|
} else {
|
|
//Store smallest address in first slot
|
|
if ((add9 > add5) ||
|
|
((add9 == add5) && (add10 > add6)) ||
|
|
((add9 == add5) && (add10 == add6) && (add11 > add7)) ||
|
|
((add9 == add5) && (add10 == add6) && (add11 == add7) && (add12 > add8))) {
|
|
//First address is smaller
|
|
parent.hidden.savevalue[26] = add5 + "." + add6 + "." + add7 + "." + add8;
|
|
parent.hidden.savevalue[69] = add5;
|
|
parent.hidden.savevalue[70] = add6;
|
|
parent.hidden.savevalue[71] = add7;
|
|
parent.hidden.savevalue[72] = add8;
|
|
parent.hidden.savevalue[27] = add9 + "." + add10 + "." + add11 + "." + add12;
|
|
parent.hidden.savevalue[73] = add9;
|
|
parent.hidden.savevalue[74] = add10;
|
|
parent.hidden.savevalue[75] = add11;
|
|
parent.hidden.savevalue[76] = add12;
|
|
} else {
|
|
//Second address is smaller
|
|
parent.hidden.savevalue[27] = add5 + "." + add6 + "." + add7 + "." + add8;
|
|
parent.hidden.savevalue[73] = add5;
|
|
parent.hidden.savevalue[74] = add6;
|
|
parent.hidden.savevalue[75] = add7;
|
|
parent.hidden.savevalue[76] = add8;
|
|
parent.hidden.savevalue[26] = add9 + "." + add10 + "." + add11 + "." + add12;
|
|
parent.hidden.savevalue[69] = add9;
|
|
parent.hidden.savevalue[70] = add10;
|
|
parent.hidden.savevalue[71] = add11;
|
|
parent.hidden.savevalue[72] = add12;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
} else {
|
|
if (document.form1.idtype[2].selected == true) {
|
|
//subnet selected
|
|
parent.hidden.savevalue[25] = 2;
|
|
if (document.form5.sub1.value == "" && document.form5.sub2.value == "" &&
|
|
document.form5.sub3.value == "" && document.form5.sub4.value == "") {
|
|
//no values entered
|
|
alert(errMessage4);
|
|
document.form5.sub1.select();
|
|
document.form5.sub1.focus();
|
|
return;
|
|
} else {
|
|
//Check subnet and mask
|
|
su1 = parseInt(document.form5.sub1.value);
|
|
su2 = parseInt(document.form5.sub2.value);
|
|
su3 = parseInt(document.form5.sub3.value);
|
|
su4 = parseInt(document.form5.sub4.value);
|
|
mas1 = parseInt(document.form5.mask1.value);
|
|
mas2 = parseInt(document.form5.mask2.value);
|
|
mas3 = parseInt(document.form5.mask3.value);
|
|
mas4 = parseInt(document.form5.mask4.value);
|
|
//Check the first segment
|
|
if (su1 < 2 ||su1 > 255 || isNaN(su1) || document.form5.sub1.value == "") {
|
|
alert(errMessage3);
|
|
document.form5.sub1.select();
|
|
document.form5.sub1.focus();
|
|
return;
|
|
} else {
|
|
//Check the second segment
|
|
if (su2 < 0 || su2 > 255 || isNaN(su2) || document.form5.sub2.value == "") {
|
|
alert(errMessage3);
|
|
document.form5.sub2.select();
|
|
document.form5.sub2.focus();
|
|
return;
|
|
} else {
|
|
//Check the third segment
|
|
if (su3 < 0 || su3 > 255 || isNaN(su3) || document.form5.sub3.value == "") {
|
|
alert(errMessage3);
|
|
document.form5.sub3.select();
|
|
document.form5.sub3.focus();
|
|
return;
|
|
} else {
|
|
//Check the fourth segment
|
|
if (su4 < 0 || su4 > 255 || isNaN(su4) || document.form5.sub4.value == "") {
|
|
alert(errMessage3);
|
|
document.form5.sub4.select();
|
|
document.form5.sub4.focus();
|
|
return;
|
|
} else {
|
|
if (document.form5.mask1.value == "" && document.form5.mask2.value == "" &&
|
|
document.form5.mask3.value == "" && document.form5.mask4.value == "") {
|
|
//no values entered
|
|
alert(errMessage4a);
|
|
document.form5.mask1.select();
|
|
document.form5.mask1.focus();
|
|
return;
|
|
} else {
|
|
if ((mas1 != 255 && mas1 != 254 && mas1 != 252 &&
|
|
mas1 != 248 && mas1 != 240 && mas1 != 224 &&
|
|
mas1 != 192 && mas1 != 128 && mas1 != 0 && !(isNaN(mas1))) || (isNaN(mas1))) {
|
|
alert(errMessage3a);
|
|
document.form5.mask1.select();
|
|
document.form5.mask1.focus();
|
|
return;
|
|
} else {
|
|
//Check the second segment
|
|
if ((mas2 != 255 && mas2 != 254 && mas2 != 252 &&
|
|
mas2 != 248 && mas2 != 240 && mas2 != 224 &&
|
|
mas2 != 192 && mas2 != 128 && mas2 != 0 && !(isNaN(mas2))) || (isNaN(mas2))) {
|
|
alert(errMessage3a);
|
|
document.form5.mask2.select();
|
|
document.form5.mask2.focus();
|
|
return;
|
|
} else {
|
|
//Check the third segment
|
|
if ((mas3 != 255 && mas3 != 254 && mas3 != 252 &&
|
|
mas3 != 248 && mas3 != 240 && mas3 != 224 &&
|
|
mas3 != 192 && mas3 != 128 && mas3 != 0 && !(isNaN(mas3))) || (isNaN(mas3))) {
|
|
alert(errMessage3a);
|
|
document.form5.mask3.select();
|
|
document.form5.mask3.focus();
|
|
return;
|
|
} else {
|
|
//Check the fourth segment
|
|
if ((mas4 != 255 && mas4 != 254 && mas4 != 252 &&
|
|
mas4 != 248 && mas4 != 240 && mas4 != 224 &&
|
|
mas4 != 192 && mas4 != 128 && mas4 != 0 && !(isNaN(mas4))) || (isNaN(mas4))) {
|
|
alert(errMessage3a);
|
|
document.form5.mask4.select();
|
|
document.form5.mask4.focus();
|
|
return;
|
|
} else {
|
|
//subnet and mask are valid
|
|
parent.hidden.savevalue[26] = su1 + "." + su2 + "." + su3 + "." + su4;
|
|
parent.hidden.savevalue[69] = su1;
|
|
parent.hidden.savevalue[70] = su2;
|
|
parent.hidden.savevalue[71] = su3;
|
|
parent.hidden.savevalue[72] = su4;
|
|
parent.hidden.savevalue[27] = mas1 + "." + mas2 + "." + mas3 + "." + mas4;
|
|
parent.hidden.savevalue[73] = mas1;
|
|
parent.hidden.savevalue[74] = mas2;
|
|
parent.hidden.savevalue[75] = mas3;
|
|
parent.hidden.savevalue[76] = mas4;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
} else {
|
|
if (document.form1.idtype[3].selected == true) {
|
|
//any ip address selected
|
|
parent.hidden.savevalue[25] = 3;
|
|
} else {
|
|
if (document.form1.idtype[4].selected == true) {
|
|
//hostname selected
|
|
parent.hidden.savevalue[25] = 4;
|
|
if (document.form3.idtext.value == "") {
|
|
//Give error message
|
|
alert(errMessage9);
|
|
document.form3.idtext.focus();
|
|
return;
|
|
} else {
|
|
//hostname is valid
|
|
parent.hidden.savevalue[26] = document.form3.idtext.value;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
window.location = "rzalradvvpnfinal.htm";
|
|
//END NON-TRANSLATABLE
|
|
}
|
|
|
|
// onNext()
|
|
//
|
|
// This function is called when the user clicks on the Next button on the form
|
|
function onNext() {
|
|
if (isNS && !isNS6 == true) {
|
|
checkNS();
|
|
} else {
|
|
checkIE();
|
|
}
|
|
return;
|
|
}
|
|
|
|
function selectPort() {
|
|
document.form6.remport[1].checked = true;
|
|
}
|
|
|
|
//////////-->
|
|
</script>
|
|
<title>VPN planning advisor</title>
|
|
</head>
|
|
|
|
<BODY onLoad="restoreValues()">
|
|
|
|
<H2>VPN planning advisor</H2>
|
|
<STRONG>Identify remote data endpoints</STRONG>
|
|
|
|
<p>Specify what remote port the connection will protect. You can either select <strong>Any</strong> or specify a specific port.</p>
|
|
<form action=submit name="form6">
|
|
<table>
|
|
<tr><td width=29> </td>
|
|
<td width=122>Remote port:</td>
|
|
<td><label for="anyportQ"><INPUT TYPE="radio" id="anyportQ" NAME="remport" VALUE="any" checked>Any port</label></td>
|
|
</tr>
|
|
<tr><td width=29> </td>
|
|
<td width=122> </td>
|
|
<td><label for="portQ"><INPUT TYPE="radio" id="portQ" NAME="remport" VALUE="port">Port: <INPUT TYPE=text NAME="remportnum" SIZE=7 id="portQ" maxlength=5 onFocus="selectPort()"></label></td>
|
|
</tr>
|
|
</table>
|
|
</form>
|
|
|
|
<P>Select an identifier type for the remote <a href="javascript:popupWindow('rzalrdep.htm');">data endpoints</a><img src="../images/popup.gif" alt="Link to definition" border="0"> of the connection and then enter its associated identifier. If you do not have this information readily available, select <strong>Any IP address</strong>. This will allow the advisor to continue on to the next page, however, when you actually configure your VPN you will want to narrow the remote data endpoint down to its exact value.</p>
|
|
<form action=submit name="form1">
|
|
<table>
|
|
<tr>
|
|
<td><label for="thefirstid">Identifier type:</label></td>
|
|
<td>
|
|
<SELECT NAME="idtype" id="thefirstid" onChange="changeHidden();">
|
|
<OPTION>IP version 4 address</OPTION>
|
|
<OPTION>IP address range</OPTION>
|
|
<OPTION SELECTED>IP version 4 subnet</OPTION>
|
|
<OPTION>Any IP address</OPTION>
|
|
<OPTION>Host name</OPTION>
|
|
</SELECT>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
</form>
|
|
|
|
<div id="ipsegs" style="position: absolute;">
|
|
<form action=submit name="form2">
|
|
<table>
|
|
<tr>
|
|
<td><label for="idQ1"> Enter the identifier:</label></td>
|
|
<td><INPUT TYPE="text" SIZE=3 MAXLENGTH=3 NAME="ip1" id="idQ1"><STRONG> . </STRONG>
|
|
<INPUT TYPE="text" SIZE=3 MAXLENGTH=3 NAME="ip2" id="idQ1"><STRONG> . </STRONG>
|
|
<INPUT TYPE="text" SIZE=3 MAXLENGTH=3 NAME="ip3" id="idQ1"><STRONG> . </STRONG>
|
|
<INPUT TYPE="text" SIZE=3 MAXLENGTH=3 NAME="ip4" id="idQ1"></td>
|
|
</tr>
|
|
</table>
|
|
</form>
|
|
</div>
|
|
|
|
<div id="textin" style="position: absolute;">
|
|
<form action=submit name="form3">
|
|
<table>
|
|
<tr>
|
|
<td><label for="idQ2"> Enter the identifier:</label></td>
|
|
<td><INPUT TYPE=text id="idQ2" NAME="idtext" MAXLENGTH=128 SIZE=20></td>
|
|
</tr>
|
|
</table>
|
|
</form>
|
|
</div>
|
|
|
|
<div id="ranger" style="position: absolute;">
|
|
<form action=submit name="form4">
|
|
<table>
|
|
<tr>
|
|
<td><label for="idQ3"> Enter the identifier:</label></td>
|
|
<td><INPUT TYPE="text" SIZE=3 MAXLENGTH=3 NAME="ip5" id="idQ3"><STRONG> . </STRONG>
|
|
<INPUT TYPE="text" SIZE=3 MAXLENGTH=3 NAME="ip6" id="idQ3"><STRONG> . </STRONG>
|
|
<INPUT TYPE="text" SIZE=3 MAXLENGTH=3 NAME="ip7" id="idQ3"><STRONG> . </STRONG>
|
|
<INPUT TYPE="text" SIZE=3 MAXLENGTH=3 NAME="ip8" id="idQ3"> to
|
|
<INPUT TYPE="text" SIZE=3 MAXLENGTH=3 NAME="ip9" id="idQ3"><STRONG> . </STRONG>
|
|
<INPUT TYPE="text" SIZE=3 MAXLENGTH=3 NAME="ip10" id="idQ3"><STRONG> . </STRONG>
|
|
<INPUT TYPE="text" SIZE=3 MAXLENGTH=3 NAME="ip11" id="idQ3"><STRONG> . </STRONG>
|
|
<INPUT TYPE="text" SIZE=3 MAXLENGTH=3 NAME="ip12" id="idQ3"></td>
|
|
</tr>
|
|
</table>
|
|
</form>
|
|
</div>
|
|
|
|
<div id="subber" style="position: absolute;">
|
|
<form action=submit name="form5">
|
|
<table>
|
|
<tr>
|
|
<td><label for="subQ"> Enter the subnet:</label></td>
|
|
<td><INPUT TYPE="text" SIZE=3 MAXLENGTH=3 NAME="sub1" id="subQ"><STRONG> . </STRONG>
|
|
<INPUT TYPE="text" SIZE=3 MAXLENGTH=3 NAME="sub2" id="subQ"><STRONG> . </STRONG>
|
|
<INPUT TYPE="text" SIZE=3 MAXLENGTH=3 NAME="sub3" id="subQ"><STRONG> . </STRONG>
|
|
<INPUT TYPE="text" SIZE=3 MAXLENGTH=3 NAME="sub4" id="subQ"></td>
|
|
</tr>
|
|
<tr>
|
|
<td><label for="maskQ"> Enter the mask:</label></td>
|
|
<td><INPUT TYPE="text" SIZE=3 MAXLENGTH=3 NAME="mask1" id="maskQ"><STRONG> . </STRONG>
|
|
<INPUT TYPE="text" SIZE=3 MAXLENGTH=3 NAME="mask2" id="maskQ"><STRONG> . </STRONG>
|
|
<INPUT TYPE="text" SIZE=3 MAXLENGTH=3 NAME="mask3" id="maskQ"><STRONG> . </STRONG>
|
|
<INPUT TYPE="text" SIZE=3 MAXLENGTH=3 NAME="mask4" id="maskQ"></td>
|
|
</tr>
|
|
</table>
|
|
</form>
|
|
</div>
|
|
|
|
<form action=submit name="form7">
|
|
<p> </p>
|
|
<p> </p>
|
|
<CENTER>
|
|
<input name=submit type="button" value=" << Back " onClick="onBack()">
|
|
<input name=submit type="button" value=" Next >> " onClick="onNext()">
|
|
</CENTER>
|
|
</form>
|
|
|
|
</BODY>
|
|
|
|
</html>
|
|
|