N
N
NO_GLITCH2015-06-08 23:45:08
linux
NO_GLITCH, 2015-06-08 23:45:08

How to route socks5 proxy?

1. I create ssh proxy on local system
ssh -f -C2qTnN -D 9987 [email protected]
2. In Firefox I specify socks5 proxy 127.0.0.1:9987
3. On server xxx.xxx.xxx.xxx I create ssh -proxy
ssh -f -C2qTnN -D 9988 [email protected]

Question:
how to redirect all socks5 traffic through the ssh tunnel yyy.yyy.yyy.yyy
for the first server using standard means

Answer the question

In order to leave comments, you need to log in

1 answer(s)
C
Chamie, 2015-06-09
@Chamie

Google on "socks proxy chaining" turned up a question on StackOverflow .
The essence of the answer from there:
You can simply forward the local port to the first server in the chain, and access it:
ssh -L 9987:localhost:9988 [email protected]

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question