I am trying to reach an HTTP(S) website from my device's browser. My Device can get to that website only through a double SSH tunnel.
Using this technique, I'm able to set up my Firefox browser to successfully proxy through an SSH tunnel on a server of mine called SERVER1
.
However, SERVER1
can't get to the website that I need. Luckily, SERVER1
can SSH to another SERVER2
who can.
Now, I could run:
SERVER1 $ ssh -D 12345 myuser@SERVER2
and create yet another tunnel from SERVER1
to SERVER2
, but I'm not clear on how to do the "firefox" part without firefox on SERVER1
.
On top of that, the website is on a non standard port (let's say 8765) so I'm not sure the export http_proxy
would work.
How would I go about it? Thanks