[TriLUG] SSH question ( 14th )

Brian McCullough via TriLUG trilug at trilug.org
Mon Jun 14 14:44:06 EDT 2021


On Mon, Jun 14, 2021 at 12:38:33PM -0400, Triangle Linux Users Group discussion list wrote:
> Apologies if I missed why this wouldn't work. I've only quickly scanned the
> thread, but thought of an idea that might be helpful.
> 
> For situations like this, I generally use ssh's -D option. The invocation
> usually goes something like:
> 
> $ ssh -D localhost:8080 user at B
> 
> Then I configure my browser to use localhost:8080 as a SOCKS proxy. Now
> connections that I make with that browser all go through machine B.

Just to make sure that I am doing this correctly.


In "A", I issued: ssh -D localhost:8080 me at B
I then opened Firefox, went to Network Settings and told it that I
wanted to Manually set the Proxy Settings.  I went to the SOCKS ( 5 )
field and told it that the host name was "localhost" and the port was
8080.
I then went to the address bar, and entered "http://B/u/r/l" and got the
result that I expected, not a surprise.
Finally, I went to the address bar, and entered "http://C/u/r/l" and got
a 504 Gateway Timeout.


Did I do everything correctly ( apparently ), and should I continue
trying to configure mod_proxy on B?



Thanks,
Brian




More information about the TriLUG mailing list