From owner-freebsd-questions Tue Jul 31 10:18:55 2001 Delivered-To: freebsd-questions@freebsd.org Received: from mail.netscaler.com (unknown [64.56.196.164]) by hub.freebsd.org (Postfix) with ESMTP id 9B71737B405 for ; Tue, 31 Jul 2001 10:18:49 -0700 (PDT) (envelope-from harish@netscaler.com) Received: by MAIL with Internet Mail Service (5.5.2653.19) id ; Tue, 31 Jul 2001 10:16:10 -0700 Message-ID: From: harish To: =?iso-8859-1?Q?=27Jean-Fran=E7ois_Lachance=27?= , freebsd-questions@freebsd.org Subject: RE: [freebsd-questions] Internet Date: Tue, 31 Jul 2001 10:16:10 -0700 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG This seems like a reverse nat problem. You are probably able to connect = to the server (ftp) because in that case ur gateway/firewall does the NAT = for you. But the data connection of ftp requires the server to connect to = your machine. There can be 2 reasons why this failed: 1. It does not understand your IP address because your address is = private. 2. Your firewall uses some sort of mapped IP when it passes the packet = from your machine to outside. The PORT command of ftp however uses the = actual ip address of your machine. When the source IP address of the packet to = the server is different from the PORT command IP address, the ftp server = returns error (150 ..i think). Hope this info is useful. thanks harish -----Original Message----- From: Jean-Fran=E7ois Lachance [mailto:jfzonev@hotmail.com] Sent: Tuesday, July 31, 2001 10:12 AM To: freebsd-questions@freebsd.org Subject: Re: [freebsd-questions] Internet Well I can ping the gateway but I can't ping something else. I have a = linux=20 box used as a firewall and a router. It's like I try to connect for = example: ftp ftp.microsoft.com and it shows no error messages, it justs freezes = like=20 if I was blocked by the firewall. maybe I should check out the firewall = rules. But I don't think it's this problem. Any ideas? John F Lachance >From: Lowell Gilbert >Reply-To: freebsd-questions@freebsd.org >To: jfzonev@hotmail.com (Jean-Fran=E7ois Lachance) >Subject: Re: [freebsd-questions] Internet >Date: 30 Jul 2001 10:58:02 -0400 > >jfzonev@hotmail.com = (=3D?iso-8859-1?B?SmVhbi1GcmFu529pcyBMYWNoYW5jZQ=3D=3D?=3D)=20 >writes: > > > I just installed FreeBSD 4.3 and when I go on /stand/sysinstall and = go=20 >on > > Networking options, I use Configure Interface. I tried with IPv4 = and=20 >DHCP > > but it's not working. I entered the machine's IP address and the = gateway >but > > it's still not working. When I test to see if the computer is = connected=20 >to > > internet, I type: ftp ftp.microsoft.com or I try to ping another = server=20 >and > > it's still not working. Any ideas? > >This may either mean that you don't have IP working, or that IP is >working, but that domain name resolution doesn't work. If you can >ping the gateway by IP address, then IP itself is working, and you can >concentrate on domain name system (DNS) configuration. If you can't >ping by IP address, then you neeed to make that work before you start >on domain names. > >I hope I've given you a few hints to start with. You will probably >find the handbook's section on "Network Communications" to be quite >helpful; try to become familiar with all of the relevant parts of it. >If you need more help, then your next message should include your >configuration: if IP itself seems to be the problem, then include the >output if ifconfig(8) and netstat(1) in your question (use the -rn >options to netstat); if the problems seem to be DNS, then the contents >of your /etc/host.conf file will be the critical pieces. > >Good luck. _________________________________________________________________ T=E9l=E9chargez MSN Explorer gratuitement =E0 l'adresse=20 http://explorer.msn.fr/intl.asp To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message