如果您决定通过运行服务器来帮助Tor网络成长,可按如下步骤进行:
Running a Tor server can consume a large amount of bandwidth; however, Tor allows you to limit the amount of bandwidth that you are willing to contribute to the Tor network. You can run a server, while still keeping your network connection usable for your own use.
The average rate is the maximum long-term average bandwidth allowed (in kilobytes per second). For example, you might want to choose 2 megabytes per second (2048 KB/s), or 50 kilobytes per second (a medium-speed cable connection). Tor requires a minimum of 20 kilobytes per second to run a server.
The maximum rate is a pool of bytes used to fulfill requests during short periods of traffic higher than your specified average rate, but still maintains the average over a long period. A low average rate but a high maximum rate enforces a long-term average while still allowing more traffic during peak times if the average hasn't been reached lately. If your average rate is the same as your maximum rate, then Tor will never exceed the specified rate. Your maximum rate must always be greater than or equal to your average rate.
It is important to remember that Tor measures bandwidth in bytes, not bits. Also, Tor only looks at incoming bytes instead of outgoing bytes. For example, if your server acts as a directory mirror, you may be sending more outgoing bytes than incoming. If you find this is the case and is putting too much strain on your bandwidth, you should consider unchecking the checkbox labeled Mirror the server directory.
一项退出策略由零行到多行组成,每行代表了一项动作,只要通过您服务器的连接匹配其中某行指定的地址或端口,相应动作就会被执行。
策略中的地址可以是IP地址(比如 123.45.67.8)、IP地址与掩码(比如 123.45.0.0/16),或者通配符"*",这里的"*"表示"匹配所有地址"。
每项策略都关联有一个端口或者一段范围内的端口,合法的端口范围是从 1 到 65535,或者你可以指定一个"*"以匹配所有"所有端口"。