Answer the question
In order to leave comments, you need to log in
How to set up tsocks via TOR?
Hey!
Help set up tsocks.
Do you need to edit any configs other than /etc/tsocks.conf?
By the way, is the config correct?
# 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 = 192.168.0.0/255.255.255.0
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 = 127.0.0.1
# 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 = 9050
[email protected]:~$ tsocks wget toter.ru
--2014-10-12 20:48:26-- http://toter.ru/
wget: Невозможно прочитать /home/uriy/.netrc (Отказано в доступе).
Распознаётся toter.ru (toter.ru)… 144.76.40.132
Подключение к toter.ru (toter.ru)|144.76.40.132|:80... 20:48:26 libtsocks(3942): Need a password in tsocks.conf or $TSOCKS_PASSWORD to authenticate withошибка: В соединении отказано.
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question