[Gllug] Port forwarding over ssh...

general_email at technicalbloke.com general_email at technicalbloke.com
Wed Mar 10 18:06:50 UTC 2010


Ege Turgay wrote:
> Hi,
>
> $ curl -v -0 www.google.com
>
> would get you a GET request
>
>
>
> On Wed, 2010-03-10 at 16:29 +0000, general_email at technicalbloke.com
> wrote:
>
>   
>>   Is there a simple
>> way to test if the tunnel is up? Manually send a GET request via telnet
>> maybe??
>>
>> Roger.
>>
>>
>>     
>
>
>
> Best Regards,
> Ege Turgay
>
>   


Hi Eve,

Thanks for your replies. Actually I've just tried with wget...


xxx at xxx:~/tunneling_experiments$ wget
http://192.168.1.73/index.php--2010-03-10 18:02:31-- 
http://192.168.1.73/index.php
Connecting to 192.168.1.73:80... connected.
HTTP request sent, awaiting response... 302 Found
Location: login.php [following]
--2010-03-10 18:02:31--  http://192.168.1.73/login.php
Connecting to 192.168.1.73:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: unspecified [text/html]
Saving to: `login.php.2'

    [ <=>                                   ] 1,372       --.-K/s   in
0s     

2010-03-10 18:02:31 (88.8 MB/s) - `login.php.2' saved [1372]

xxx at xxx:~/tunneling_experiments$ http_proxy=127.0.0.1:9999 wget
http://192.168.1.73/index.php
--2010-03-10 18:02:40--  http://192.168.1.73/index.php
Connecting to 127.0.0.1:9999... connected.
Proxy request sent, awaiting response... No data received.
Retrying.


As you can see the local port is open but I get No data received :(

I'll try your other suggestion next :)

Roger.
-- 
Gllug mailing list  -  Gllug at gllug.org.uk
http://lists.gllug.org.uk/mailman/listinfo/gllug




More information about the GLLUG mailing list