Hi,
Is it possible to open an induvial port forward from the client machine to the x2go server?
I need this for a windows software to connect to the Linux server.
My first approach wars to use on the client a ssh_config, but the client creates the connection directly from the x2go client application with some ssh libs.
So ok, the next approach wars to use the ssh_config on the Linux site, because for the printer and the file connection, the server open a ssh connection to a ssh-Daemon on the Client site. But the ssh connection use the option "ClearAllForwardings", so the forwards on a config-file are not working.
So someone have an idea for this topic?
Greetings
On 03/16/2018 08:24 AM, Feustel, Thomas wrote:
Hi,
Is it possible to open an induvial port forward from the client machine to the x2go server?
I need this for a windows software to connect to the Linux server.
My first approach wars to use on the client a ssh_config, but the client creates the connection directly from the x2go client application with some ssh libs.
So ok, the next approach wars to use the ssh_config on the Linux site, because for the printer and the file connection, the server open a ssh connection to a ssh-Daemon on the Client site. But the ssh connection use the option “ClearAllForwardings”, so the forwards on a config-file are not working.
So someone have an idea for this topic?
Greetings
x2go-user mailing list x2go-user@lists.x2go.org https://lists.x2go.org/listinfo/x2go-user
Thomas,
We always do our port-forwarding for x2go via a firewall appliance, but you can do this pretty easily by implementing a firewall on the Linux box and doing your port-forwarding from there. On the client side, you simply specify the port for ssh (maybe 222 or 223 or something) and then redirect that port on the server's firewall to the actual ssh port (22).
You can do a quick Google search on port-forwarding with IPTables or ufw to get a feel for how this is done.
Thanks,
Steven G. Spencer, Network Administrator KSC Corporate - The Kelly Supply Family of Companies Office 308-382-8764 Ext. 1131 Mobile 402-765-8010
Am 19.03.2018 um 15:28 schrieb Steven Spencer:
Thomas,
We always do our port-forwarding for x2go via a firewall appliance, but you can do this pretty easily by implementing a firewall on the Linux box and doing your port-forwarding from there. On the client side, you simply specify the port for ssh (maybe 222 or 223 or something) and then redirect that port on the server's firewall to the actual ssh port (22).
You can do a quick Google search on port-forwarding with IPTables or ufw to get a feel for how this is done.
I think you totally misunderstood what Thomas is asking for. He doesn't want to forward/change the ssh port X2Go uses to connect to the server, but rather an equivalent to
ssh -L1234:some.host:3456 user@x2goserver
Kind Regards, Stefan Baur
-- BAUR-ITCS UG (haftungsbeschränkt) Geschäftsführer: Stefan Baur Eichenäckerweg 10, 89081 Ulm | Registergericht Ulm, HRB 724364 Fon/Fax 0731 40 34 66-36/-35 | USt-IdNr.: DE268653243
On 03/19/2018 09:37 AM, Stefan Baur wrote:
Thomas,
We always do our port-forwarding for x2go via a firewall appliance, but you can do this pretty easily by implementing a firewall on the Linux box and doing your port-forwarding from there. On the client side, you simply specify the port for ssh (maybe 222 or 223 or something) and then redirect that port on the server's firewall to the actual ssh port (22).
You can do a quick Google search on port-forwarding with IPTables or ufw to get a feel for how this is done. I think you totally misunderstood what Thomas is asking for. He doesn't want to forward/change the ssh port X2Go uses to connect to
Am 19.03.2018 um 15:28 schrieb Steven Spencer: the server, but rather an equivalent to
ssh -L1234:some.host:3456 user@x2goserver
Kind Regards, Stefan Baur I apologize. That's what happens when you read too quickly. :/
x2go-user mailing list x2go-user@lists.x2go.org https://lists.x2go.org/listinfo/x2go-user
Steven G. Spencer, Network Administrator KSC Corporate - The Kelly Supply Family of Companies Office 308-382-8764 Ext. 1131 Mobile 402-765-8010
Am 16.03.2018 um 14:24 schrieb Feustel, Thomas:
Hi,
Is it possible to open an induvial port forward from the client machine to the x2go server?
I need this for a windows software to connect to the Linux server.
At the moment, this isn't supported within X2GoClient.
You could probably work around this using Keyfile authentication, an SSH Agent (pageant.exe on Windows), a separate call to ssh (plink.exe on Windows), and a few scripts to glue it all together.
Or, seeing as you posted from a company E-Mail address, you could sponsor the development of this feature.
<shameless plug> X2Go also has a commercial side, where various companies - including my own - offer support contracts with guaranteed response times as well as consultancy and paid-for development work if someone wants to see a bug fixed or a new feature added in a certain time frame. What makes my company special is, IMHO:
Our hourly rate for consultancy work and fixing issues outside of a support contract is 125 EUR. With a support contract, you get guaranteed response times and lower hourly rates if you buy a certain amount of hours in advance. </shameless plug>
Kind Regards, Stefan Baur
-- BAUR-ITCS UG (haftungsbeschränkt) Geschäftsführer: Stefan Baur Eichenäckerweg 10, 89081 Ulm | Registergericht Ulm, HRB 724364 Fon/Fax 0731 40 34 66-36/-35 | USt-IdNr.: DE268653243