Skip to contentSkip to conversation

FTP

DISCUSSION Patrick Ahler 3 participants 4 messages Mar 7, 2003 – Mar 11, 2003

lore
Share & tools
lore
#0 lore raw

Can't get my BulletProof FTP server to work through the firewall. I opened ports 20,21 and 5100-5200 (configured for passive ftp), still doesn't work. I can log onto the server but it won't display the directory unless I take the firewall down. Any suggestions?

#1 lore raw

Do you have ip_nat_ftp and ip_conntrack_ftp loaded as modules or built into the kernel?

Alistair Tonner
nerdnet.ca
Senior Systems Analyst - RSS

Any sufficiently advanced technology will have the appearance of magic.
Lets get magical!

Quoted 4 lines · Patrick Ahler

Can't get my BulletProof FTP server to work through the firewall. I opened ports 20,21 and 5100-5200 (configured for passive ftp), still doesn't work. I can log onto the server but it won't display the directory unless I take the firewall down. Any suggestions?

#2 lore raw

I figured out what the problem was with my FTP server... it needed a port range of 2095-2300 open for some reason. I figured this out by narrowing down the ports that it would work on. What a pain! oh well

-----Original Message-----
From: Alistair Tonner [mailto:[email protected]]
Sent: Friday, March 07, 2003 1:28 PM
To: Patrick Ahler; netfilter EMAIL
Subject: Re: FTP

Do you have ip_nat_ftp and ip_conntrack_ftp loaded as modules or built into the kernel?

Alistair Tonner
nerdnet.ca
Senior Systems Analyst - RSS

Any sufficiently advanced technology will have the appearance of magic.
Lets get magical!

Quoted 2 lines · Patrick Ahler

Can't get my BulletProof FTP server to work through the firewall. I opened ports 20,21 and 5100-5200 (configured for passive ftp), still doesn't

work.

Quoted 2 lines

I can log onto the server but it won't display the directory unless I take the firewall down. Any suggestions?

--

#3 lore raw
Quoted 2 lines

I figured out what the problem was with my FTP server... it needed a port range of 2095-2300 open for some reason.

Well, are you using the ip_conntrack_ftp module?
It should let you use the -m state --state RELATED, ESTABLISHED with ftp.

Unless you are doing NAT.

Regards,
Maciej