Skip to contentSkip to conversation

Slow FTP through NAT box...

DISCUSSION Marian Stepka 3 participants 3 messages Sep 14, 2002

lore
Share & tools
lore
#0 lore raw

Hi List;

I'm fighthing with NATing issues almost 3 days. Now I'm facing problem, that It take extremly long to get passive ftp access to the machine after NAT box. I can access it just using ftp command line client from Linux machine and none from Win working even PASV mode is enabled. But anyway initial handshaking take a pretty long, let's say 2 minutes. Box do nothing else just translate range from priavte IP range to normal Inet range.

Other services works pretty well as ssh, web. But FTP driving me slightly mad. Do anybody out there have any idea what I did wrong or when I can find some info about? Probably I read whole Google. Or I'm blind or what...

Marian

--
*IN ROOT WE TRUST*
Marian Stepka <mailto:[email protected]>

#1 lore raw

Hi Marian:

Are you loading ip_conntrack_ftp and ip_nat_ftp?
What to you get if you do an lsmod, are they there?

Stu..........

-----Original Message-----
From: [email protected] [mailto:[email protected]]On Behalf Of Marian Stepka
Sent: September 13, 2002 7:07 PM
To: [email protected]
Subject: Slow FTP through NAT box...

Hi List;

I'm fighthing with NATing issues almost 3 days. Now I'm facing problem, that It take extremly long to get passive ftp access to the machine after NAT box. I can access it just using ftp command line client from Linux machine and none from Win working even PASV mode is enabled. But anyway initial handshaking take a pretty long, let's say 2 minutes. Box do nothing else just translate range from priavte IP range to normal Inet range.

Other services works pretty well as ssh, web. But FTP driving me slightly mad. Do anybody out there have any idea what I did wrong or when I can find some info about? Probably I read whole Google. Or I'm blind or what...

Marian

--
*IN ROOT WE TRUST*
Marian Stepka <mailto:[email protected]>

#2 lore raw
In reply to Marian Stepka

Hello

Quoted 10 lines

Hi List;

I'm fighthing with NATing issues almost 3 days. Now I'm facing problem, that It take extremly long to get passive ftp access to the machine after NAT box. I can access it just using ftp command line client from Linux machine and none from Win working even PASV mode is enabled. But anyway initial handshaking take a pretty long, let's say 2 minutes. Box do nothing else just translate range from priavte IP range to normal Inet range.

Quoted 4 lines

Other services works pretty well as ssh, web. But FTP driving me slightly mad. Do anybody out there have any idea what I did wrong or when I can find some info about? Probably I read whole Google. Or I'm blind or what...

Take a look at the ident service. Enable it or block it with "-j REJECT". Otherwise you sometimes have to wait for the ident connection to time out

Axel