ssh forward connection from one host with no proxy



Hi all

I have been trying to use ssh to bypass firewall, see the current
configuration

machines:
laptop_at_work (http internet only)
custssh_server (no internet access)
ssh_outside (can ssh into cutssh_server)

At laptop_at_work I have access to the internet through a proxy, but
my webmail URL is blocked.
At ssh_outside I can do a wget http://www.cnn.com, it works.
So I want ssh_outside who has full internet connection to act as a
proxy/gateway for me at laptop_at_work, using custssh_server as a
middle gateway between me (laptop_at_work) and and the internet
(ssh_outside)

I have tried

at ssh_outside machine
$ ssh -o "GatewayPorts yes" -g -c arcfour -R *:8885:10.9.8.2:80 -N
user@custssh_server

at custssh_server
telnet localhost 8885

Connected to localhost.localdomain (127.0.0.1).
Escape character is '^]'.
GET http://www.cnn.com HTTP/1.0
HTTP/1.1 400 Bad Request
Date: Thu, 02 Oct 2008 19:07:04 GMT
Server: cisco-IOS
Accept-Ranges: none

400 Bad Request
Connection closed by foreign host.


I see the localhost (custssh_server) forwards the request to
ssh_outside machine router, which is 10.9.8.2 at port 80.

I want those requests to go through the 10.9.8.2 gateway, but looks
like they are requesting data at port 80, which is the router port and
obviously is not going to work.

So, I ask if there is any chance to make those requests at
custssh_server goes to the 10.9.8.2 gateway and not the 10.9.8.2:80

Thanks

Claudio
.



Relevant Pages

  • It was a Stark and Dormy Night (OT?)
    ... Naturally I will honor the request that ... I thank the author for a good effort and for the Christmas greetings. ... knock on the door. ... "He does it via the Internet." ...
    (sci.archaeology)
  • Re: localhost is all that will work
    ... Bad Request message that I receive here as well. ... ISAPI Filters tab -- ASP.NET_1.1.4322.2032 with a low priority. ... Cisco PIX firewall which again my Internet provider assured me was properly ... > webserver answers) ...
    (microsoft.public.inetserver.iis)
  • Re: Reply To settings - was - Re: Debian 7.5 amd64 xfce GUI shutdown and restart do not work
    ... message to which I am responding, appears to be a troll. ... enhancement request for the alpine package. ... Gmail appears to not have provision for making Requests For Change, ... using different definitions for an internet troll. ...
    (Debian-User)
  • Re: Reply To settings - was - Re: Debian 7.5 amd64 xfce GUI shutdown and restart do not work
    ... message to which I am responding, appears to be a troll. ... enhancement request for the alpine package. ... Gmail appears to not have provision for making Requests For Change, ... using different definitions for an internet troll. ...
    (Debian-User)
  • Re: Pinball EXPO changes?
    ... I signed up for By Request years ago and enjoyed the free ... internet access and Cabinet Sauvignon with Edam & crackers. ... my Wyndam By Request card had a diet coke and box ...
    (rec.games.pinball)