LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


Reply
  Search this Thread
Old 02-15-2003, 11:52 AM   #1
CurlyMo
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 192.168.2.104 (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, 03:46 AM   #2
PTBmilo
Member
 
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.
 
  


Reply


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

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 12:26 AM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration