ibm-information-center/dist/eclipse/plugins/i5OS.ic.rzalr_5.4.0.1/rzalradvvpn110.htm

180 lines
5.7 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 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();
}
}
}
// 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 (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
}
// onNext()
//
// This function is called when the user clicks on the Next button on the form
function onNext() {
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;
}
}
}
}
window.location = "rzalradvvpnfinal.htm";
//END NON-TRANSLATABLE
}
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>
The remote data endpoint you specified for the remote key server is
<script type="text/javascript" language="Javascript">
var theDew = "";
var toText = " to ";
var maskText = " with mask ";
var subnet = "subnet ";
//START NON-TRANSLATABLE
var eight = parseInt(parent.hidden.savevalue[18]);
switch (eight) {
case 0:
case 1:
theDew = parent.hidden.savevalue[19];
break;
case 4:
theDew = parent.hidden.savevalue[19] + toText + parent.hidden.savevalue[20];
break;
case 5:
theDew = subnet + parent.hidden.savevalue[19] + maskText + parent.hidden.savevalue[20];
break;
case 2:
case 3:
case 7:
theDew = parent.hidden.savevalue[12];
break;
case 6:
theDew = "Any IP address";
break;
default:
theDew = "Unknown";
break;
}
document.write(theDew);
//END NON-TRANSLATABLE
</script>
<title>VPN planning advisor</title>
<BODY>
You will be applying the ports that you select to this data endpoint.</p>
<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>&nbsp;</td>
<td width=122>Remote port:</td>
<td><label for="anyportQ"><INPUT TYPE="radio" NAME="remport" id="anyportQ" VALUE="any" checked>Any port</label></td>
</tr>
<tr><td width=29>&nbsp;</td>
<td width=122>&nbsp;</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>
<form action=submit name="form7">
<p>&nbsp;</p>
<p>&nbsp;</p>
<CENTER>
<input name=submit type="button" value="&nbsp;&lt&lt Back&nbsp" onClick="onBack()">
<input name=submit type="button" value="&nbsp;Next &gt;&gt;&nbsp" onClick="onNext()">
</CENTER>
</form>
</BODY>
</html>