This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Windows XP & Internet Connection Firewall


Greg Kremer wrote:

Rob,
Thanks a million.  That fix works.

Thanks again for your expertise.

Greg Kremer

rob2 at siklos dot ca wrote:

Go to the properties windows for your internet connection, and click on the Advanced tab. Here is where you probably enabled your firewall. Click on the Settings button and add a new service in the Services tab. In the name/ip address field, put the name of your computer. Put 6000 for both port numbers, and use TCP (i think). Before you click Ok, make sure you check the box for the service you just added.

It's amazing how quick people are to say "it doesn't work" without first checking around a little bit. My first inclination when I hit a problem like this was to try the Settings button and lo and behold there it was, plain as day, how to add a "service" by a port number.

Anyway, one thing that is a little confusing to me is the "In the name/ip address field, put the name of your computer" portion. It is clear that we are talking about two different computers here, his XP machine and his Unix box. So which name goes in that field? The description says "Name or IP address (for example 192.168.0.12) of the computer hosting this service on your network" and the "What's this?" help you can get to by right clicking on that description says "Provides a space for you to type the name or IP address of the computer on your home network where the service resides.". So I would think that you put in the name or IP address of the Unix box.

In fact I did this very same thing allowing a Linux box on my home network to display an XDMCP session to my Cygwin XFree86 server running on my XP box. But my question is this: Can only my Linux box with this IP address put up X traffic through this firewall? IOW if I get another Linux box with another IP address would I need to add another entry here for port 6000 from that IP address? Or can this Name/IP address be an IP range?



Good luck,

Rob.

Quoting Greg Kremer <greg dot kremer at wright dot edu>:



Rob,
Thanks for the quick reply.
The only problem is that in Windows XP you cannot specify port numbers
when you are running the Internet connection firewall that is part of
Windows XP, Unless that can be done via a registry hack.  I would be
much appreciated if someone does know how to do this could let me know.

Thanks,
Greg Kremer

Rob Siklos wrote:



Hi Greg,

Someone correct me if I'm wrong, but I think you have to configure your
firewall to allow incoming connections on port 6000 (this is where X display
info gets sent).


Rob.


----- Original Message ----- From: "Greg Kremer" <greg dot kremer at wright dot edu> To: <cygwin at cygwin dot com> Sent: Wednesday, April 09, 2003 2:59 PM Subject: Windows XP & Internet Connection Firewall






To whom it may concern:

First of all I would like to thank you for making Cygwin and for your
time in helping with the following problem.


I have been troubleshooting a problem I have notice with cygwin. First
system specs:


Pentium 4 2ghz
256Mb Ram
20GB HD
Windows XP Pro Service pack 1
with
Cygwin (just downloaded 1 week ago)

now my question:

When I run cygwin with the Internet Connection Firewall running I can
connect to our UNIX box but I cannot run the Xwindows Applications. If
I run the following command:


emacs -d lc116052:0.0

after about 2 minutes the UNIX box reports "emacs: Cannot connect to X
Server lc116052:0.0. Check the DISPLAY enviroment variable or use '-d'.
Also use the 'xhost' program to verify that it is set to permit
connections from your machine."


If I disable the Internet Connection Firewall the emacs command works



fine.





I was just wondering if there is another work around besides stopping
the Internet Connection Firewall?

Thanks for your help

Greg Kremer


-- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/



















-- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]