Re: X over a reverse SSH tunnel



Tom Brown wrote:

thanks for this tip but i wonder if what i require is possible, i am sure it is but i cant seem to get it working.

I need to be able to do the following


work pc <-> home linux box <-> windows client on home network

Using the following which i run on my work PC i can ssh from home back to work

ssh -R 5050:localhost:22 -p 443 me@xxxxxxxxxxxxxxxxx

You have to set
GatewayPorts yes
in /etc/ssh/sshd_config and be sure port 5050 is permitted by your host firewall to allow this forwarding to work for other hosts on the home side. You might also have to specify the interface to bind to. Try connecting with putty from the windows box to test it.

You might find it easier to run an openvpn tunnel.

Now this works and from my home linux box i can shell back into work. Is there some additional step i can do so that i can run the nomachine client on a home windows box and connect it to the home linux box so that i can use the gui on my work pc ?

make sense??

In the NX client on your windows box, set the host address and port to use the tunnel you have set up - and install the correct client key if you are using freenx and it should work. As long as you don't check the box under 'advanced' that says 'disable encryption of all traffic' everything should run through its internally set up ssh tunnel (which shouldn't care that it is running through your reverse tunnel_.

--
Les Mikesell
lesmikesell@xxxxxxxxx



--
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines



Relevant Pages

  • Re: Juniper Netscreen-SA 1000/neotetis SSL web -terminal and linux klients
    ... >>No, not Windows only. ... >>base OS is Linux... ... I think the client that's used is installed ... Services on the other side through that tunnel. ...
    (comp.os.linux.networking)
  • Re: Tunneling Remote Desktop
    ... Jeffrey Randow (Windows Net. ... Please post all responses to the newsgroups for the benefit ... Set up the tunnel to listen on 127.0.0.2 rather than ... Make a copy of the RD Client and run it ...
    (microsoft.public.windowsxp.work_remotely)
  • Re: IPsec Over Tunnel
    ... As your setup is described Windows XP should be using transport for host to ... it has something to do with the ipsec tunnel endpoint and IP filer list ...
    (microsoft.public.security)
  • Re: Remote Desktop Connection Problem
    ... Al Jarvi (MS-MVP Windows Networking) ... >> Are you calling the correct IP address for the XP Pro Remote Desktop ... >> Anything in the host event log of interest when a Windows 98 client tries ...
    (microsoft.public.windowsxp.work_remotely)
  • Re: Unable to access internet from windows ME client on ICS
    ... > I guess that ICS Pass 192.168.0.x for this adapter. ... >> Windows IP Configuration ... >> There is no problem at all when accessing internet on the host machine ... >> fail to load any web page when operating on the client machine. ...
    (microsoft.public.win2000.new_user)