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

197 lines
6.1 KiB
HTML
Raw Normal View History

2024-04-02 14:02:31 +00:00
<!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 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[32]) == 1) {
document.form7.localport[1].checked = true;
document.form7.locportnum.value = parent.hidden.savevalue[17];
}
if (parent.hidden.savevalue[34] != "") {
document.form7.protocol.selectedIndex = parent.hidden.savevalue[34];
}
//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
if (parseInt(parent.hidden.savevalue[3]) == 0) {
window.location = "rzalradvvpn40.htm";
} else {
if (parseInt(parent.hidden.savevalue[3]) == 1) {
window.location = "rzalradvvpn130.htm";
}
}
//END NON-TRANSLATABLE
}
// onNext()
//
// This function is called when the user clicks the Next button on the form
function onNext() {
errMessage11 = "Enter a local port number";
errMessage12 = "The local port number you entered is not valid. Port must be an integer between 1 and 65535";
//START NON-TRANSLATABLE
if (document.form7.localport[0].checked == true) {
parent.hidden.savevalue[32] = 0;
} else {
parent.hidden.savevalue[32] = 1;
//Save port number
//Can be any port from 1 to 65535
if (document.form7.locportnum.value == "") {
document.form7.locportnum.focus();
alert(errMessage11);
return;
} else {
if (isNaN(document.form7.locportnum.value)) {
document.form7.locportnum.select();
document.form7.locportnum.focus();
alert(errMessage12);
return;
} else {
if (document.form7.locportnum.value < 1 || document.form7.locportnum.value > 65535) {
document.form7.locportnum.select();
document.form7.locportnum.focus();
alert(errMessage12);
return;
} else {
parent.hidden.savevalue[17] = document.form7.locportnum.value;
}
}
}
}
//Save which protocol is selected
parent.hidden.savevalue[34] = document.form7.protocol.selectedIndex;
window.location = "rzalradvvpn80.htm";
//END NON-TRANSLATABLE
}
function selectPort(){
document.form7.localport[1].checked = true;
}
//////////-->
</script>
<title>VPN planning advisor</title>
</head>
<BODY onLoad="restoreValues()">
<H2>VPN planning advisor</H2>
<STRONG>Identify local data endpoints</STRONG>
<p>The local data endpoint you specified for the local key server is
<script type="text/javascript" language="Javascript">
var unKnown = "Unknown";
//START NON-TRANSLATABLE
var theDew = "";
var eight = parseInt(parent.hidden.savevalue[8]);
switch (eight) {
case 0:
case 1:
theDew = parent.hidden.savevalue[9];
break;
case 2:
case 3:
case 4:
theDew = parent.hidden.savevalue[11];
break;
default:
theDew = unKnown;
break;
}
document.write(theDew);
//END NON-TRANSLATABLE
</script>
You will be applying the ports and protocols that you select to this data endpoint.</p>
<p>Specify what port and protocols the connection will protect. You can either select <strong>Any</strong> or specify a specific port and protocol.</p>
<form action=submit name="form7">
<table>
<tr><td width=29>&nbsp;</td>
<td width=122>Local port:</td>
<td><LABEL for="anyportQ"><INPUT TYPE="radio" NAME="localport" VALUE="any" id="anyportQ" checked>Any port</label>
</td>
</tr>
<tr><td width=29>&nbsp;</td>
<td width=122>&nbsp;</td>
<td><LABEL for="portQ"><INPUT TYPE="radio" NAME="localport" VALUE="port" id="portQ">Port:
<INPUT TYPE=text NAME="locportnum" SIZE=7 id="portQ" maxlength=5 onFocus="selectPort()"></LABEL></td>
</tr>
<tr><td width=29>&nbsp;</td>
<td width=122>&nbsp;</td>
<td>&nbsp;</td>
</tr>
<tr><td width=29>&nbsp;</td>
<td width=122><label for="idfixed">Protocol:</label></td>
<td>&nbsp;<SELECT NAME="protocol" id="idfixed">
<OPTION SELECTED>Any protocol</OPTION>
<OPTION>UDP</OPTION>
<OPTION>TCP</OPTION>
<OPTION>IPSec</OPTION>
<OPTION>AH</OPTION>
<OPTION>ESP</OPTION>
</SELECT>
</td>
</tr>
</table>
</form>
<form action=submit name="form6">
<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>