Date: Tue, 31 Jul 2001 10:16:10 -0700 From: harish <harish@netscaler.com> To: =?iso-8859-1?Q?=27Jean-Fran=E7ois_Lachance=27?= <jfzonev@hotmail.com>, freebsd-questions@freebsd.org Subject: RE: [freebsd-questions] Internet Message-ID: <C143D2DEAA20D411A5E500A0CC600C291B6FBB@MAIL>
next in thread | raw e-mail | index | archive | help
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çois 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 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 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 <lowell@world.std.com> >Reply-To: freebsd-questions@freebsd.org >To: jfzonev@hotmail.com (Jean-François Lachance) >Subject: Re: [freebsd-questions] Internet >Date: 30 Jul 2001 10:58:02 -0400 > >jfzonev@hotmail.com (=?iso-8859-1?B?SmVhbi1GcmFu529pcyBMYWNoYW5jZQ==?=) >writes: > > > I just installed FreeBSD 4.3 and when I go on /stand/sysinstall and go >on > > Networking options, I use Configure Interface. I tried with IPv4 and >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 >to > > internet, I type: ftp ftp.microsoft.com or I try to ping another server >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éléchargez MSN Explorer gratuitement à l'adresse 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?C143D2DEAA20D411A5E500A0CC600C291B6FBB>
