[GLLUG] Re: Questions about Cygwin/XFree86 - ports and SSH
tunneling and XP routing
Jolyon Michael Vincent
vincen21 at msu.edu
Mon Nov 10 19:12:07 EST 2003
Melson, Paul writes:
> I'm not sure I follow you. `XWin -query 192.168.0.9` makes an XDMCP connection to 192.168.0.9. If that works across the local network, and 192.168.0.9 is running the OpenSSH daemon, you should be able to tunnel both X11 and XDMCP over the same SSH connection with no trouble. Try this from a Cygwin shell:
>
> ssh [user]@192.168.0.9 -XNf -L 177:127.0.0.1:177 && /usr/X11R6/bin/XWin.exe -query 127.0.0.1
>
> Alternately, if you're connecting to it through a different Linux/BSD firewall that's running OpenSSH, you can set up the port forwarding like this:
>
> ssh [user]@[fw-addr] -Nf -L 177:192.168.0.9:177 -R 6000:127.0.0.1:6000 && /usr/X11R6/bin/XWin.exe -query 127.0.0.1
>
> The above example assumes that there's no X server listening on port 6000 of the firewall, filtered or otherwise.
>
> Anyway, once you identify which tunneling scenario meets your needs, translating this into a PuTTY config should be straightforward.
>
> PaulM
>
> -----Original Message-----
> I see now that I misunderstand what X11 and XDMCP are. I was wondering to
> myself how I was going to setup putty to tunnel this and the answer is I
> won't. I used the following command in the Cygwin bash shell to make the
> connection described in my original post:
> XWin.exe -query 192.168.0.9
> Can I use Cygwin to make a XDMCP connection?
>
>
> _______________________________________________
> linux-user mailing list
> linux-user at egr.msu.edu
> http://www.egr.msu.edu/mailman/listinfo/linux-user
This sounds very interesting, and close to the goals I have for my own
network. Can I network cgywn(sp) and XP home with linux 6.0 somehow to the
outside world through a linksys wireless router?
even better, can I get cgywin to run a vnc client to connect between my LAN
and a lan at .edu when the .edu lan is also behind a firewall of sorts?
local lan machines at the .edu range around say... 192.168.21.176
Don't get your free email at hotmail.com
http://www.???.org is much better.
More information about the linux-user
mailing list