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

225 lines
8.6 KiB
HTML
Raw Permalink 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 language = "Javascript" src = "../rzahg/icextwindow.js"></script>
<script type="text/javascript" language="JavaScript1.2">
<!-- //////////
//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 activate(imgDocID,imgObjName) {
document.images[imgDocID].src = eval(imgObjName + ".src")
}
// 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() {
// Create image objects, preload all active and inactive images.
//mid = new Image;
//mid.src = "rzalr512.gif"; //default image
mid1 = new Image;
mid1.src = "rzalr520.gif"; //gateway to gateway
mid2 = new Image;
mid2.src = "rzalr522.gif"; //host to host
mid3 = new Image;
mid3.src = "rzalr521.gif"; //host to gateway
if (parent.hidden.savevalue[5] != "") {
document.form1.congroup.value = parent.hidden.savevalue[5];
}
if (parseInt(parent.hidden.savevalue[6]) == 1) {
document.form1.local[0].checked = true;
activate('doc_icon','mid1');
} else {
if (parseInt(parent.hidden.savevalue[6]) == 2) {
document.form1.local[1].checked = true;
activate('doc_icon','mid2');
} else {
if (parseInt(parent.hidden.savevalue[6]) == 3) {
document.form1.local[2].checked = true;
activate('doc_icon','mid3');
}
}
}
//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 = "rzalradvvpn10.htm";
//END NON-TRANSLATABLE
}
// onNext()
//
// This function is called when the user clicks on the Next button on the form
function onNext() {
var errMessage1 = "You did not enter a name for this connection group. Click OK and enter a connection group name.";
var errMessage2 = "The connection group name you entered is not valid. The name can be up to 32 alphanumeric characters. Click OK and enter a valid connection group name.";
var errMessage3 = "You did not select how you plan to use your VPN. Click OK and check one of the options listed.";
//START NON-TRANSLATABLE
var newOne;
var one1 = "";
var one = document.form1.congroup.value;
//if the user did not enter a connection group name
if (one == "") {
//Give error message
alert(errMessage1);
document.form1.congroup.focus();
return;
} else {
//Search for any spaces and get rid of them
re = /\s*/;
newOne = one.split(re);
// Filter out non-alphanumeric characters
for (var i = 0; i < newOne.length; i++) {
if ((newOne[i].charCodeAt(0) >= 48 && newOne[i].charCodeAt(0) <= 57) ||
(newOne[i].charCodeAt(0) >= 65 && newOne[i].charCodeAt(0) <= 90) ||
(newOne[i].charCodeAt(0) >= 97 && newOne[i].charCodeAt(0) <= 122)) {
one1 += newOne[i];
}
}
//Ensure that they entered at least one valid value
if (one1 != "") {
//Connection group name is now valid, save it to hidden frame
parent.hidden.savevalue[5] = one1;
} else {
alert(errMessage2);
document.form1.congroup.select();
document.form1.congroup.focus();
return;
}
}
//Save VPN type
if (document.form1.local[0].checked) {
//gateway to gateway
parent.hidden.savevalue[6] = 1;
} else {
if (document.form1.local[1].checked) {
//host to host
parent.hidden.savevalue[6] = 2;
} else {
if (document.form1.local[2].checked) {
//host to gateway
parent.hidden.savevalue[6] = 3;
} else {
//Nothing selected
alert(errMessage3);
return;
}
}
}
window.location="rzalradvvpn20.htm";
//END NON-TRANSLATABLE
}
//////////-->
</script>
<title>VPN planning advisor</title>
</head>
<!-- TRNOTE Do not translate the double quoted text in the next line -->
<body onload="restoreValues()">
<h2>VPN planning advisor</h2>
<strong>System roles</strong>
<p>Use this page to specify a name for your <a href="javascript:popupWindow('rzalrcon.htm');">dynamic-key group</a><img src="../images/popup.gif" alt="Link to definition" border="0">
and to identify the role your system plays in the VPN. Determining the role of your system is one of the first steps in successful planning.</p>
<p>The goal of the advisor is to guide you as you configure your system for VPN. Your system is always the <em>local</em> system in the connection.
The advisor asks questions about the remote system to get you thinking about what information you will need to gather when you begin actually configuring the connection.
</P>
<p>You will configure your system as either a VPN host or a VPN gateway, depending on how you plan to use the VPN. In either case, the <a href="javascript:popupWindow('rzalrconep.htm');">connection endpoint</a><img src="../images/popup.gif" alt="Link to definition" border="0"> resides on your system. Your system is a host when the application runs on it as well. In other words, the connection endpoint and <a href="javascript:popupWindow('rzalrdep.htm');">data endpoints</a><img src="../images/popup.gif" alt="Link to definition" border="0"> are the same.</p>
<p>Your system is a gateway when the application runs on some other computer in your local network and your system routes IP traffic for that computer. In this case, the connection endpoint and the data endpoint are different.</p>
<form action="submit" name="form1">
<table cellspacing="2">
<tr>
<td colspan="3">How do you plan to use your VPN?</td>
</tr>
<tr>
<td>&nbsp;</td>
</tr>
<tr>
<td valign="top"><input type="radio" name="local" id="sysQ1" value="one" onclick="activate('doc_icon','mid1');" checked></td>
<td><label for="sysQ1">My system is in a branch office intranet connecting to the corporate intranet (gateway-to-gateway)</label></td><td valign="top" rowspan="6"><img src="rzalr520.gif" name="doc_icon" alt="Network diagram that illustrates a VPN connection between two iSeries servers across the Internet. "></td>
</tr>
<tr>
<td>&nbsp;</td>
</tr>
<tr>
<td valign="top"><input type="radio" id="sysQ2" name="local" value="two" onclick="activate('doc_icon','mid2');"></td>
<td><label for="sysQ2">My system is connecting to a computer at another company (host-to-host)</label></td>
</tr>
<tr>
<td>&nbsp;</td>
</tr>
<tr>
<td valign="top"><input type="radio" name="local" id="sysQ3" value="three" onclick="activate('doc_icon','mid3');"></td>
<td><label for="sysQ3">My system is a single computer connecting to the corporate intranet (host-to-gateway)</label></td>
</tr>
<tr>
<td>&nbsp;</td>
<td>&nbsp;</td>
</tr>
<tr>
<td colspan="3" align="left"><label for="dyngrpQ">Enter a name for the dynamic-key group:</label></td>
</tr>
<tr>
<td colspan="3"><input type="text" name="congroup" id="dyngrpQ" maxlength="32" size="33"></td>
<td>
</td>
</tr>
</table>
<br><BR>
<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>