r11616@catbus: nickm | 2007-01-31 13:51:31 -0500

Tweak Trans/NATDPort documention to be less tool-specific.


svn:r9471
This commit is contained in:
Nick Mathewson 2007-01-31 21:48:53 +00:00
parent eb3cc1e405
commit 8a9a55251f

View File

@ -88,12 +88,13 @@ Windows since that platform lacks getrlimit(). (Default: 1000)
.LP .LP
.TP .TP
\fBControlPort \fR\fIPort\fP \fBControlPort \fR\fIPort\fP
If set, Tor will accept connections on If set, Tor will accept connections on this port and allow those
this port (Usually: 9051), and allow those connections to control the Tor process using the connections to control the Tor process using the Tor Control Protocol
Tor Control Protocol (described in control-spec.txt). Note: unless you also (described in control-spec.txt). Note: unless you also specify one of
specify one of \fBHashedControlPassword\fP or \fBCookieAuthentication\fP, \fBHashedControlPassword\fP or \fBCookieAuthentication\fP, setting
setting this option will cause Tor to allow any process on the local host to this option will cause Tor to allow any process on the local host to
control it. This option is required if you would like to use Tor with \fBdns-proxy-tor\fP. control it. This option is required for many Tor controllers; most use
the value of 9051.
.LP .LP
.TP .TP
\fBControlListenAddress \fR\fIIP\fR[:\fIPORT\fR]\fP \fBControlListenAddress \fR\fIIP\fR[:\fIPORT\fR]\fP
@ -527,12 +528,13 @@ When a controller asks for a virtual (unused) address with the
'MAPADDRESS' command, Tor picks an unassigned address from this range. 'MAPADDRESS' command, Tor picks an unassigned address from this range.
(Default: 127.192.0.0/10) (Default: 127.192.0.0/10)
When using \fBdns-proxy-tor\fP to answer queries over a network you'll When providing proxy server service to a larger using a tool like
want to change this address to "10.192.0.0/10" or "172.16.0.0/12". dns-proxy-tor,
The default \fBVirtualAddrNetwork \fR\fIAddress\fB address range on a change this address to "10.192.0.0/10" or "172.16.0.0/12".
The default \fBVirtualAddrNetwork\fP address range on a
properly configured machine will route to the loopback interface. properly configured machine will route to the loopback interface.
For local use \fBdns-proxy-tor\fP doesn't require a change to the For local use, no change to the
default \fBVirtualAddrNetwork \fR\fIAddress\fB setting. default \fBVirtualAddrNetwork\fP setting is needed.
.LP .LP
.TP .TP
\fBAllowNonRFC953Hostnames \fR\fB0\fR|\fB1\fR\fP \fBAllowNonRFC953Hostnames \fR\fB0\fR|\fB1\fR\fP
@ -552,23 +554,36 @@ building slower.
.LP .LP
.TP .TP
\fBTransPort\fP \fR\fIPORT\fP \fBTransPort\fP \fR\fIPORT\fP
Enable transparent proxy support on \fR\fIPORT\fP (Usually: 9040). If non-zero, enables transparent proxy support on \fR\fIPORT\fP (by
This is required to enable support for \fBdns-proxy-tor\fP. convention, 9040).
ControlPort must be set when using \fBTransPort\fP. If you're planning .\" This is required to enable support for \fBdns-proxy-tor\fP.
.\" ControlPort must be set when using \fBTransPort\fP.
Requires OS support for transparent proxies, such as BSDs' pf or
Linux's IPTables.
If you're planning
to use Tor as a transparent proxy for a network, you'll want to examine to use Tor as a transparent proxy for a network, you'll want to examine
and change VirtualAddrNetwork from the default setting. You'll also want and change VirtualAddrNetwork from the default setting. You'll also want
to set the TransListenAddress option for the network you'd like to proxy. to set the TransListenAddress option for the network you'd like to proxy.
(Default: 0).
.LP .LP
.TP .TP
\fBTransListenAddress\fP \fR\fIAddress\fB/\fIbits\fP \fBTransListenAddress\fP \fR\fIIP\fR[:\fIPORT\fR]\fP
Optionally listen on \fR\fIAddress\fB/\fIbits\fP as a transparent proxy Bind to this address to listen for transparent proxy connections.
server. This is useful for exporting a transparent proxy server (Default: 127.0.0.1).
This is useful for exporting a transparent proxy server
to an entire network. to an entire network.
.LP .LP
.TP .TP
\fBNatdPort\fP \fR\fIPORT\fP \fBNATDPort\fP \fR\fIPORT\fP
This option allows users of ipfw (FreeBSD, etc) to send connections through tor in a manner Allow old versions of ipwf (as included in old versions of FreeBSD,
similar to the TransPort. This option is only for people who cannot use TransPort. etc.) to send connections through Tor using the NATD protocol.
This option is only for people who cannot
use TransPort.
.LP
.TP
\fBNATDListenAddress\fP \fR\fIIP\fR[:\fIPORT\fR]\fP
Bind to this address to listen for NATD connections.
(Default: 127.0.0.1).
.LP .LP
.TP .TP
.SH SERVER OPTIONS .SH SERVER OPTIONS