On 2/22/14, Scott Ferguson <scott.ferguson.debian.u...@gmail.com> wrote:
> On 22/02/14 20:31, Zenaan Harkness wrote:
>> I have an iiNet ADSL link at one place, and an SSH server A running
>> behind that, as well as a HTTPD web server.
>>
>> The Internet connection is by way of an iiNet Bob ADSL modem (and
>> wired and wireless router etc).
>>
>> When I ssh to A, with a DynamicForward configuration, and configure
>> Firefox at my local end to use that SOCKS proxy, I can access my HTTPD
>> at remote site using the HTTPD server's internal IP address
>> (10.1.1.49). SOCKS v4 or v5 both work.
>>
>> But when I try to access the Bob modem at 10.1.1.1, Firefox tells me
>> The connection was reset
>> The connection to the server was reset while the page was loading.
>>
>> Does anyone know why the SOCKS proxy would work for my web server, but
>> not for accessing the inbuilt webserver of the ADSL modem?
>
> No (I'd guess Bob is dropping packets - your logs will tell you,
> Telstra/BigPuddle does the same thing), but.... why not use a reverse
> ssh tunnel e.g. using autossh?

Ah, because it _is_ SSH?

This is SSH, which provides a SOCKS proxy option, for easy tunnelling
of web/firefox traffic, including (I believe) DNS and auto per-server
routing - it all goes through the SOCKS proxy, which goes through SSH.

This is what I have configured.

And it works. At least, it works for lwn.net (public website) and
works for accessing my local web server (internal lan, behind the ADSL
modem), it works for other internal addresses (at the site I am SSHing
into).

But this SSH tunnelled SOCKS proxy does NOT work for accessing one
particular ip address on the internal (remote site) lan - 10.1.1.1,
that is, the ADSL modem (called a Bob device), which I would like to
configure, without having to drive to my friend's place (where this
iiNet connection is) plug in my workstation and configure his modem
from there or using his workstation.

Anyway, autossh looks like it could be useful if my ssh tunnel was
going down every now and then, which is not the case, so I'll bookmark
that one for future reference.

Thanks,
Zenaan


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/CAOsGNST7p5q4rS=oxvufyykael1j2qkcz6u98yrudmye-h-...@mail.gmail.com

Reply via email to