Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
X-Injected-Via-Gmane: http://gmane.org/
To: cygwin@cygwin.com
From: Andrew DeFaria <ADeFaria@Salira.com>
Subject: Re: Windows XP & Internet Connection Firewall
Date: Wed, 09 Apr 2003 14:50:35 -0700
Lines: 165
Message-ID: <3E9495AB.1070202@Salira.com>
References: <3E946D8F.4020705@wright.edu> <00ec01c2fecb$180c2320$cc0aa8c0@adexainc.com> <3E94712E.1000403@wright.edu> <1049916443.31520979f07a3@horde.siklos.ca> <3E9475AE.6030706@wright.edu>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
X-Complaints-To: usenet@main.gmane.org
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.0.2) Gecko/20030208 Netscape/7.02
X-Accept-Language: en-us, en, ru, zh

Greg Kremer wrote:

> Rob,
> Thanks a million.  That fix works.
>
> Thanks again for your expertise.
>
> Greg Kremer
>
> rob2@siklos.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.kremer@wright.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.kremer@wright.edu>
>>>> To: <cygwin@cygwin.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/

