P
P
podust2015-05-14 16:51:13
linux
podust, 2015-05-14 16:51:13

Why doesn't proxification of console commands via Dante work?

If anyone knows, please tell me. I need to proxy the traffic of certain console applications through an SSH tunnel (i.e. Socks proxy), for this I chose the Dante Proxy wrapper. I set it up according to Feng Shui, exporting the environment variable : Run

SOCKS_PROXY=127.0.0.1:666

:

socksify curl ipecho.net/plain

Kurl throws out an error (7) Couldn't connect to server. Tried to export SOCKS5_PROXY, SOCKS4_PROXY. I even tried to write the config and put it in /etc/socks.conf - the same crap. Socks-proxy works as expected in this case, i.e. in theory it should work.

Interestingly, nothing is written to the logs, although there are lines in the environment variables:

SOCKS_DEBUG="2"
SOCKS_LOGOUTPUT="/home/user/logsock.txt"


Tell me, what could be the matter?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
P
podust, 2015-05-14
@podust

I decided not to waste time and try another tool: proxychains. Earned the first time.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question