[X2go-dev] x2go plugin and proxy?

Heiko Baumann heiko at oss.hboss.de
Wed Feb 16 21:03:53 CET 2011


 openssh's ProxyCommand needs an external tool which does the proxy 
 connect (with auth if required). so the x2go plugin must know proxy ip, 
 proxy port and, if required, proxy user and pass. i dont know if this 
 information is available to an firefox addon (i hope not specially for 
 the auth stuff ;)).

 maybe it is easier to use some kind of java browser plugin to create a 
 local socket to listen on and forward this socket (via browser proxy 
 settings/HTTP CONNECT) to the x2goserver. this way it should be possible 
 to use the browser proxy settings (if java is configured this way -> 
 Java Control Panel). x2goclient could connect to this socket 
 (localhost:someport) without doing any proxy related stuff.

 however this will only work if ssh is listening on port 443 on 
 x2goserver because most proxies only allow HTTP CONNECT on port 443.

 regards
 heiko


 On Wed, 15 Dec 2010 16:33:44 +0100, Milan Knížek 
 <knizek.confy at volny.cz> wrote:
> On Wed, 2010-12-15 at 14:17 +0000, Robin Green wrote:
>> I don't understand. x2goclient *already* uses ssh, and can be 
>> configured
>> to forward all sound etc. over ssh as well.
>>
>> You need to forward ssh traffic through an ssh proxy? Why? That is
>> inefficient - can't you just make the remote server visible on some 
>> port?
>
> I am connecting from LAN hidden by an http proxy. I.e. it is not
> possible to simply "ssh -p 443 x2goserver.com", but the connection 
> must
> be passed through a proxy at "some.local.proxy.address" at port 8080
> (the proxy is without authentication).
>
> Putty allows for proxy setup. I also checked the man page of ssh, it 
> has
> an option "ProxyCommand", which would probably be "connect
> some.local.proxy.address 8080\n".
>
> So the question probably is how to incorporate that ssh option into 
> x2go
> plugin.
>
> Regards,
> Milan




More information about the x2go-dev mailing list