LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 08-11-2003, 03:16 AM   #1
whhappy
LQ Newbie
 
Registered: Aug 2003
Location: china
Posts: 4

Rep: Reputation: 0
Thumbs up Can't use ftp nat


Two NICs,a real ip and a illegal ip.
By Nat,I can use internet,but i can not use ftp. I don't know what is wrong,

would you help me ?

thank you!
 
Old 08-11-2003, 05:09 AM   #2
Crashed_Again
Senior Member
 
Registered: Dec 2002
Location: Atlantic City, NJ
Distribution: Ubuntu & Arch
Posts: 3,503

Rep: Reputation: 57
Do you have a firewall running? Some ftps use passive mode which connects on strange ports. This could cause ftp connections to be refused.
 
Old 08-11-2003, 05:12 AM   #3
whhappy
LQ Newbie
 
Registered: Aug 2003
Location: china
Posts: 4

Original Poster
Rep: Reputation: 0
Yes,A firewall is running.

what should i do ?
 
Old 08-11-2003, 05:22 AM   #4
Crashed_Again
Senior Member
 
Registered: Dec 2002
Location: Atlantic City, NJ
Distribution: Ubuntu & Arch
Posts: 3,503

Rep: Reputation: 57
I would shut the firewall down real quick and then see if ftp works. If it does then you know you have to alter the firewall.
 
Old 08-11-2003, 05:33 AM   #5
whhappy
LQ Newbie
 
Registered: Aug 2003
Location: china
Posts: 4

Original Poster
Rep: Reputation: 0
if i shut the firewall down,and use a real ip ,i can use ftp in dos mode,but if i use nat server to connect the ftp server ,i get the message "can't build data connection"
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
NAT forwarding FTP ports Ossar Linux - Networking 4 03-14-2005 12:07 PM
making ftp work through nat iceaway Mandriva 2 03-12-2004 05:43 PM
ftp server behind nat alansk Linux - Networking 2 07-17-2003 01:31 AM
ftp server behind NAT bax Linux - Networking 6 03-04-2003 09:41 PM
iptables, NAT and FTP cestor Linux - Security 10 01-04-2002 09:57 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 12:47 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration