Re: A note about firewalls and ftp servers.
From: Craig Holmes (Leusent@home.com)Date: 09/27/01
- Previous message: Mogens Valentin: "Re: Help with hijacked sendmail"
- In reply to: Rob 'Feztaa' Park: "A note about firewalls and ftp servers."
- Next in thread: Tommaso Di Donato: "Re: A note about firewalls and ftp servers."
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
From: Craig Holmes <Leusent@home.com> To: focus-linux@securityfocus.com Subject: Re: A note about firewalls and ftp servers. Date: Wed, 26 Sep 2001 21:01:04 -0400 Message-Id: <01092620592503.00902@Weltall.gearbolt.net>
Note that if your firewall is NAT, and your ftp server is on an internal
computer, and you attempt to forward the port using a program such as
ipmasqadm, it will not work. This has something to do with the use of random
ftp transfer ports. I have found that the only way to properly forward a ftp
server connection thru a NAT firewall and into a local computer behind a NAT
firewall is using a program called "ftpbounce". The program was written for
bouncing FTP connections to hide the source of the FTP server. If you
configure the program to take the full load of all transfers (not just to act
as a FXP connection, as it is sometimes used), your FTP will be fully
accessable from infront of your NAT firewall. I do not have a URL of the
program off hand, but I am sure you can find it easily from the glftpd
(www.glftpd.org) webpage.
Craig Holmes.
On September 26, 2001 06:38 pm, Rob 'Feztaa' Park wrote:
> I've noticed a few people asking about getting their firewalls to let ftp
> connections work properly.
>
> I'll now briefly detail my experiences with proftpd and iptables:
>
> Symptom: users can connect to ftp server, but can't receive directory
> listings or files.
>
> Problem: iptables allows traffic through on port 21, but not 20.
>
> Solution: Either set up iptables to accept traffic on port 20, or set up
> connection tracking and allow iptables to accept related and established
> connections.
- Previous message: Mogens Valentin: "Re: Help with hijacked sendmail"
- In reply to: Rob 'Feztaa' Park: "A note about firewalls and ftp servers."
- Next in thread: Tommaso Di Donato: "Re: A note about firewalls and ftp servers."
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|
|