Linux Netfilter discussions
 help / color / mirror / Atom feed
* Broken ftp through iptables
@ 2003-08-26 15:21 Landon Chelf
  2003-08-26 15:59 ` Peter Marshall
  0 siblings, 1 reply; 8+ messages in thread
From: Landon Chelf @ 2003-08-26 15:21 UTC (permalink / raw)
  To: netfilter

Hello,

I've ran into a recent problem both on rh8 and rh9 using iptables.  I've
setup my firewall to drop everything incomming and forward and am only
allowing certain ports to be open.  I've opened ftp (port 21 tcp) and I
can connect via FTP from one machine and authenticate, but when I issue
my first command like "ls" for instance the connection locks up and
won't do anything.  Is there a way to fix this?

Landon



^ permalink raw reply	[flat|nested] 8+ messages in thread
[parent not found: <3F4B7D1A.2010408@nucdc.org>]
* RE: Broken ftp through iptables
@ 2003-08-27  2:43 Josh.Berry
  0 siblings, 0 replies; 8+ messages in thread
From: Josh.Berry @ 2003-08-27  2:43 UTC (permalink / raw)
  To: landonc; +Cc: netfilter

[-- Attachment #1: Type: text/plain, Size: 822 bytes --]

The ls command is usually the data portion of the FTP connection.  Have you tried changing the mode to passive (or to active if you are already using passive)?

	-----Original Message----- 
	From: Landon Chelf [mailto:landonc@starrobbins.com] 
	Sent: Tue 8/26/2003 10:21 AM 
	To: netfilter@lists.netfilter.org 
	Cc: 
	Subject: Broken ftp through iptables
	
	

	Hello,
	
	I've ran into a recent problem both on rh8 and rh9 using iptables.  I've
	setup my firewall to drop everything incomming and forward and am only
	allowing certain ports to be open.  I've opened ftp (port 21 tcp) and I
	can connect via FTP from one machine and authenticate, but when I issue
	my first command like "ls" for instance the connection locks up and
	won't do anything.  Is there a way to fix this?
	
	Landon
	
	
	


[-- Attachment #2: Type: text/html, Size: 1334 bytes --]

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2003-08-27  2:43 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-08-26 15:21 Broken ftp through iptables Landon Chelf
2003-08-26 15:59 ` Peter Marshall
2003-08-26 16:14   ` Landon Chelf
     [not found] <3F4B7D1A.2010408@nucdc.org>
2003-08-26 15:42 ` Landon Chelf
2003-08-26 16:05   ` Julian Gomez
2003-08-26 16:18     ` Peter Marshall
2003-08-26 22:29   ` Alistair Tonner
  -- strict thread matches above, loose matches on Subject: below --
2003-08-27  2:43 Josh.Berry

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox