Fix documentation about how not to be an OP

svn:r2342
This commit is contained in:
Nick Mathewson 2004-09-10 18:54:21 +00:00
parent 45fb420c96
commit 8ab26650ee
2 changed files with 4 additions and 2 deletions

View File

@ -128,7 +128,9 @@ A list of preferred nodes to use for the rendezvous point, if possible.
A list of nodes to never use when choosing a rendezvous point. A list of nodes to never use when choosing a rendezvous point.
.TP .TP
\fBsocksport \fR\fIPORT\fP \fBsocksport \fR\fIPORT\fP
Bind to this port to listen for connections from socks-speaking applications. Bind to this port to listen for connections from SOCKS-speaking applications.
Set this to 0 if you don't want to allow application connections. (Default:
9050)
.TP .TP
\fBsocksbindaddress \fR\fIIP\fP \fBsocksbindaddress \fR\fIIP\fP
Bind to this address to listen for connections from socks-speaking applications. (Default: 127.0.0.1) You can also specify a port (e.g. 192.168.0.1:9100). This directive can be specified multiple times to bind to multiple addresses/ports. Bind to this address to listen for connections from socks-speaking applications. (Default: 127.0.0.1) You can also specify a port (e.g. 192.168.0.1:9100). This directive can be specified multiple times to bind to multiple addresses/ports.

View File

@ -4,7 +4,7 @@
# servers, and from them they get a list of currently up nodes. # servers, and from them they get a list of currently up nodes.
RouterFile @CONFDIR@/dirservers RouterFile @CONFDIR@/dirservers
# Comment out if you don't want to allow applications to connect. # Replace this with "SocksPort 0" if you don't want clients to connect.
SocksPort 9050 SocksPort 9050
SocksBindAddress 127.0.0.1 # accept connections only from localhost SocksBindAddress 127.0.0.1 # accept connections only from localhost
#SocksBindAddress 192.168.0.1:9100 # listen on a chosen IP/port #SocksBindAddress 192.168.0.1:9100 # listen on a chosen IP/port