Digital Marketing

Chaining multiple SSH proxies

For A->B->C->D->Internet
[hostA]$ ssh -2 -C -D 55557 -L 55556:127.0.0.1:55556 -L 55555:127.0.0.1:55555 user@B
[hostB]$ ssh -2 -C -D 55556 -L 55555:127.0.0.1:55555 user@C
[hostC]$ ssh -2 -C -D 55555 user@D
Note that for each hop, you need an additional matching forwarder -L on the previous hosts in the chain.
References:

Comments

Popular posts from this blog

Make online money from the Internet