prongs
prongs

Reputation: 9606

how to make two layer ssh tunnel for browsing

I know how to make a one layer tunnel:

ssh -ND 9898 username@mymachine

and then add a sockss proxy localhost:9898 in the browser.

but how to make a two layer tunnel? Suppose mymachine is not directly accessible to me but another machine machineprime is accessible and mymachine is accessible once I am on machineprime. So how do I redirect all my browser requests via machineprime and mymachine to the outer world?

Upvotes: 0

Views: 2230

Answers (1)

prongs
prongs

Reputation: 9606

These links helped me achieve what I wanted:

Upvotes: 1

Related Questions