📄 iprules.html
字号:
<html>
<head>
</head>
<body vlink="#0000FF" link="#0000FF">
<font size="2" face="Verdana, Times New Roman">
<!-- back to navi start -->
<font size="-2"><-- <a href="navi.html" target="jkp_navi">Navigation</a><br><br>
</font>
<!-- back to navi end -->
<font size="+1"><b>
IP rules
</b></font>
<br><br>
'IP rules' are a feature to restrict access to certain services to a specific set of computers (e.g. the local network).<br><br>
There are two kinds of IP rulesets:
<ol>
<li>'deny'-based rulesets. This means all hosts are declined by default and you define certain hosts which may connect to the service.</li>
<li>'allow'-based rulesets. All hosts are allowed to connect by default and the rule file defines certain hosts which will be decline.</li>
</ol>
Each rule file must begin with "deny all" or "allow all" followed by one or more "allow" or "deny" commands. Each of these lines must look like this:<br><br>
[allow/deny] <i>pattern</i>
<br><br>
<i>pattern</i> is a pattern (with wildcards *, ?) which will be checked against each incoming IP. Read <a href="patternmatch.html">Pattern matching</a> for further information about patterns.<br><br>
<b>Sample deny-based ruleset:</b><br>
<font size="+1"><pre>
deny all
allow 192.168.*
allow 127.*
allow localhost
</pre></font>
This file should allow access to all computers of the local area network.<br>
<b>Sample allow-based ruleset:</b><br>
<font size="+1"><pre>
allow all
deny 111.111.111.111
</pre></font>
This file will allow every computer to connect except for 111.111.111.111<br>
</font>
<!-- /end-tag replace-->
<!-- \end-tag replace-->
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -