You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
yacy_search_server/htroot/Settings_ServerAccess.inc

51 lines
2.5 KiB

<p><form action="SettingsAck_p.html" method="post" enctype="multipart/form-data">
<fieldset><legend id="general">Server Access Settings</legend>
<p>
<table border="0" cellspacing="5">
<tr valign="top">
<td>IP-Number filter:</td>
<td><input name="serverfilter" type="text" size="50" maxlength="1000" value="#[serverfilter]#"></td>
<td><strong>Here you can restrict access to the server.</strong> By default, the access is not limited,
because this function is needed to spawn the p2p index-sharing function.
If you block access to your server (setting anything else than '*'), then you will also be blocked
from using other peers' indexes for search service.
However, blocking access may be correct in enterprise environments where you only want to index your
company's own web pages.</td>
</tr>
<!--
<tr valign="top">
<td><input name="serveruser" type="text" size="16" maxlength="16" value="#[serveruser]#"></td>
<td></td>
<td></td>
</tr>
<tr valign="top">
<td>Password:</td>
<td><input name="serverpw1" type="password" size="16" maxlength="16" value=""></td>
<td></td>
</tr>
<tr valign="top">
<td>Password (repeat same as above):</td>
<td><input name="serverpw2" type="password" size="16" maxlength="16" value=""></td>
<td></td>
</tr>
-->
<tr valign="top">
<td>staticIP (optional):</td>
<td><input name="staticIP" type="text" size="32" maxlength="80" value="#[staticIP]#"></td>
<td><strong>The staticIP can help that your peer can be reached by other peers in case that your
peer is behind a firewall or proxy.</strong> You can create a tunnel through the firewall/proxy
(look out for 'tunneling through https proxy with connect command') and create
an access point for incoming connections.
This access address can be set here (either as IP number or domain name).
If the address of outgoing connections is equal to the address of incoming connections,
you don't need to set anything here, please leave it blank.<br>
ATTENTION: Your current IP is recognized as "#[clientIP]#".
If the value you enter here does not match with this IP,
you will not be able to access the server pages anymore.</td>
</tr>
<tr valign="top">
<td colspan="3"><input type="submit" name="serveraccount" value="Submit"></td>
</tr>
</table>
</fieldset>
</form>