Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 02-15-2003, 10:52 AM   #1
LQ Newbie
Registered: Feb 2003
Posts: 26

Rep: Reputation: 15
Unhappy time out ftp

I had this configuration:

2x win2k 1x linux slackware --> router --> modem --> internet

I didn't work to configure the nat but i could connect to my ftp on my linux internaly.

Now i changed it to:

2x win2k --> router --> linux slackware --> modem --> internet

Now the thing is that my webserver is working (people can enter my webpages throught my internet ip) i opened port 80 in the nat config of my modem and when ik type (ip of the linux machine) i can browse throught my webpages internaly.

But when i wanted to open port 20/21 for ftp it didn't work. The biggest problem of all is that i can't even connect to my linux internaly. It did work with the first set-up.

Every time i try to connect i get connection time-out
Old 02-16-2003, 02:46 AM   #2
Registered: Jan 2003
Posts: 167

Rep: Reputation: 30
It sounds like a firewall issue to me. First see if the port is open at all from the win2k box:

telnet linux 21

If it's not open at all, you are going to need to do that, something like:

iptables -A INPUT -p TCP --dport 21 -i eth1 -j ACCEPT

#change eth1 to whatever side you want it to come in from.

You should also make sure that you have the ip conntrack modules loaded:

insmod ip_conntrack
insmod ip_conntrack_ftp

Also, check out the logs to see where the packets are getting stopped.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
FTP 4 hour time difference... Santinelli Linux - Enterprise 1 09-08-2005 11:04 AM
FTP Issues, very slow response time! dermotti Linux - Networking 4 04-01-2005 09:39 PM
time-out on ftp access ferry Linux - Networking 26 08-16-2004 12:32 AM
How to set time-out of ftp client in Windows2000? penny.chen Linux - Networking 2 03-18-2004 01:31 AM
how do i find the FTP session time??? letmein Linux - General 1 08-26-2003 10:25 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 08:28 PM.

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