Revision d07b96a5
Added by Jim Pingle almost 14 years ago
usr/local/www/vpn_l2tp.php | ||
---|---|---|
321 | 321 |
<td width="22%" valign="top" class="vncellreq"><?=gettext("Server address");?></td> |
322 | 322 |
<td width="78%" class="vtable"> |
323 | 323 |
<?=$mandfldhtml;?><input name="localip" type="text" class="formfld unknown" id="localip" size="20" value="<?=htmlspecialchars($pconfig['localip']);?>" /> |
324 |
<br /> |
|
325 |
<?=gettext("Enter the IP address the L2TP server should use on its side for all clients.");?></td> |
|
324 |
<br/> |
|
325 |
<?=gettext("Enter the IP address the L2TP server should give to clients for use as their \"gateway\""); ?>. |
|
326 |
<br/> |
|
327 |
<?=gettext("Typically this is set to an unused IP just outside of the client range"); ?>. |
|
328 |
<br/> |
|
329 |
<br/> |
|
330 |
<?=gettext("NOTE: This should NOT be set to any IP address currently in use on this firewall"); ?>.</td> |
|
326 | 331 |
</tr> |
327 | 332 |
<tr> |
328 | 333 |
<td width="22%" valign="top" class="vncellreq"><?=gettext("Remote address range");?></td> |
usr/local/www/vpn_pppoe_edit.php | ||
---|---|---|
138 | 138 |
for($x=0; $x<4999; $x++) { |
139 | 139 |
if ($_POST["username{$x}"]) { |
140 | 140 |
if (empty($_POST["password{$x}"])) |
141 |
$input_errors[] = gettext("No password specified for username ") . $_POST["username{$x}"];
|
|
141 |
$input_errors[] = sprintf(gettext("No password specified for username %s"),$_POST["username{$x}"]);
|
|
142 | 142 |
if ($_POST["ip{$x}"] <> "" && !is_ipaddr($_POST["ip{$x}"])) |
143 |
$input_errors[] = gettext("Incorrect ip address specified for username ") . $_POST["username{$x}"];
|
|
143 |
$input_errors[] = sprintf(gettext("Incorrect ip address specified for username %s"),$_POST["username{$x}"]);
|
|
144 | 144 |
} |
145 | 145 |
} |
146 | 146 |
} |
... | ... | |
424 | 424 |
<td width="22%" valign="top" class="vncellreq"><?=gettext("Server address"); ?></td> |
425 | 425 |
<td width="78%" class="vtable"> |
426 | 426 |
<?=$mandfldhtml;?><input name="localip" type="text" class="formfld unknown" id="localip" size="20" value="<?=htmlspecialchars($pconfig['localip']);?>"> |
427 |
<br> |
|
428 |
<?=gettext("Enter the IP address the PPPoE server should use on its side " . |
|
429 |
"for all clients"); ?>.</td> |
|
427 |
<br/> |
|
428 |
<?=gettext("Enter the IP address the PPPoE server should give to clients for use as their \"gateway\""); ?>. |
|
429 |
<br/> |
|
430 |
<?=gettext("Typically this is set to an unused IP just outside of the client range"); ?>. |
|
431 |
<br/> |
|
432 |
<br/> |
|
433 |
<?=gettext("NOTE: This should NOT be set to any IP address currently in use on this firewall"); ?>.</td> |
|
430 | 434 |
</tr> |
431 | 435 |
<tr> |
432 | 436 |
<td width="22%" valign="top" class="vncellreq"><?=gettext("Remote address range"); ?></td> |
usr/local/www/vpn_pptp.php | ||
---|---|---|
359 | 359 |
<?=gettext("Typically this is set to an unused IP just outside of the client range"); ?>. |
360 | 360 |
<br/> |
361 | 361 |
<br/> |
362 |
<?=gettext("NOTE: This should NOT be set to any IP address currently in use on this firewall"); ?>.
|
|
362 |
<?=gettext("NOTE: This should NOT be set to any IP address currently in use on this firewall"); ?>.</td>
|
|
363 | 363 |
</tr> |
364 | 364 |
<tr> |
365 | 365 |
<td width="22%" valign="top" class="vncellreq"><?=gettext("Remote address " . |
Also available in: Unified diff
Sync note for "server address" between PPTP/PPPoE/L2TP for consistency.