OpenSSH socks5 터널의 양말 포장지로 tsocks를 사용하려고합니다.
내 tsocks.conf는 다음과 같습니다.
wishi@kage ~ % cat /etc/tsocks.conf
# This is the configuration for libtsocks (transparent socks)
# Lines beginning with # and blank lines are ignored
#
# This sample configuration shows the simplest (and most common) use of
# tsocks. This is a basic LAN, this machine can access anything on the
# local ethernet (192.168.0.*) but anything else has to use the SOCKS version
# 4 server on the firewall. Further details can be found in the man pages,
# tsocks(8) and tsocks.conf(5) and a more complex example is presented in
# tsocks.conf.complex.example
# We can access 192.168.0.* directly
local = 192.168.0.0/255.255.255.0
# Otherwise we use the server
server = 192.168.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 = 5000
그래서:
ssh -D 5000 me@server
그리고 다른 터미널에서 :
tsocks transgui
transgui 응용 프로그램에 대한 네트워킹이 없습니다. 문제가 무엇인지 궁금합니다.
tsocks
. 같은 뭔가socks_proxy=socks://localhost:5000/
나와SOCKS5_PROXY
.