我的ubuntu7想通过别人的winxp机器上网(ip为172.26.21.3,其上装有ccproxy代理,端口为http 88,socks 1080)。我在ubuntu下装了tsocks。
/etc/囗囗囗囗囗囗.conf内容如下:
# assistance from a socks server
# - Paths - Paths are basically lists of networks and a socks server
# which can be used to reach these networks
# - Default server - A socks server which should be used to access
# networks for which no path is available
# Much more documentation than provided in these comments can be found in
# the man pages, 囗囗囗囗囗囗(8) and 囗囗囗囗囗囗.conf(8)
# Local networks
# For this example this machine can directly access 192.168.0.0/255.255.255.0
# (192.168.0.*) and 10.0.0.0/255.0.0.0 (10.*)
local = 172.26.21.3/255.255.255.255
#local = 10.0.0.0/255.0.0.0
# Paths
# For this example this machine needs to access 150.0.0.0/255.255.0.0 as
# well as port 80 on the network 150.1.0.0/255.255.0.0 through
# the socks 5 server at 10.1.7.25 (if this machines hostname was
# "socks.hello.com" we could also specify that, unless --disable-hostnames
# was specified to ./configure).
#path {
# reaches = 150.0.0.0/255.255.0.0
# reaches = 150.1.0.0:80/255.255.0.0
# server = 10.1.7.25
# server_type = 5
# default_user = delius
# default_pass = hello
#}
# Default server
# For connections that aren't to the local subnets or to 150.0.0.0/255.255.0.0
# the server at 192.168.0.1 should be used (again, hostnames could be used
# too, see note above)
server =172.26.21.3
# Server type defaults to 4 so we need to specify it as 5 for this one
server_type = 5
# The port defaults to 1080 but I've stated it here for clarity
server_port = 1080
我运行tsocks firefox 后出现如下提示:
10:33:59 libtsocks(5949): Malformed configuration pair on line 41 in configuration file, "server =172.26.21.3 "
10:33:59 libtsocks(5949): Connection needs to be made via default server but the default server has not been specified
10:34:06 libtsocks(5949): Connection needs to be made via default server but the default server has not been specified
10:34:06 libtsocks(5949): Connection needs to be made via default server but the default server has not been specified
10:34:06 libtsocks(5949): Connection needs to be made via default server but the default server has not been specified
10:34:06 libtsocks(5949): Connection needs to be made via default server but the default server has not been specified
10:34:06 libtsocks(5949): Connection needs to be made via default server but the default server has not been specified
10:34:06 libtsocks(5949): Connection needs to be made via default server but the default server has not been specified
请问各位高手这是怎么回事啊?
关于tsocks的设置使用问题
-
- 帖子: 23
- 注册时间: 2007-10-25 19:54
- skyx
- 论坛版主
- 帖子: 9202
- 注册时间: 2006-12-23 13:46
- 来自: Azores Islands
- 联系:
-
- 帖子: 2
- 注册时间: 2008-02-06 21:47
tsocks的用户用密码使用
path {
# reaches = 150.0.0.0/255.255.0.0
# reaches = 150.1.0.0:80/255.255.0.0
server = 10.1.7.25
server_type = 5
default_user = delius
default_pass = hello
}
default_user = delius
default_pass = hello
# reaches = 150.0.0.0/255.255.0.0
# reaches = 150.1.0.0:80/255.255.0.0
server = 10.1.7.25
server_type = 5
default_user = delius
default_pass = hello
}
default_user = delius
default_pass = hello
-
- 帖子: 11
- 注册时间: 2009-03-02 1:12
- 来自: http://www.ugoes.cn
- 联系: