Linux Netfilter discussions
 help / color / mirror / Atom feed
From: Martijn Lievaart <m@rtij.nl>
To: Richard <netfilter@ghz.fr>
Cc: netfilter@lists.netfilter.org
Subject: Re: IPtables settings to access a backup FTP
Date: Sat, 18 Aug 2007 22:29:42 +0200	[thread overview]
Message-ID: <46C756B6.4000003@rtij.nl> (raw)
In-Reply-To: <46C755AE.4030804@ghz.fr>

Richard wrote:

[ Please don't toppost. Thanks ]

> Hi I've got ip_conntrack running,

I was talking about ip_conntrack_ftp, not ip_conntrack. You need both. 
The difference is between ftp working and not working at the first LS 
command.

>
> My server hosts FTP accounts and I also need outgoing ftp ...

Clear, so you need the input rule on port 21 as well.

>
> No problems accessing the ftp hosted on this server, but can't do a 
> CWD (ls) from this server to another external ftp server unless the 
> firewall is disactivated.

No problems? Impossible with the rules you posted.

>
> I guess you are going to say most of my settings are useless but here 
> goes my current settings :

Thanks, but that is virtually unreadable. Post the output of 
iptables-save instead.

HTH,
M4



  reply	other threads:[~2007-08-18 20:29 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-08-18 19:08 IPtables settings to access a backup FTP Richard
2007-08-18 20:16 ` Martijn Lievaart
2007-08-18 20:25   ` Richard
2007-08-18 20:29     ` Martijn Lievaart [this message]
2007-08-18 22:36       ` Richard

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=46C756B6.4000003@rtij.nl \
    --to=m@rtij.nl \
    --cc=netfilter@ghz.fr \
    --cc=netfilter@lists.netfilter.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox