From: Ernesto Silva <silva@ort.edu.uy>
To: netfilter@lists.netfilter.org
Subject: Re: common FTP+NAT problem
Date: Mon, 31 Jul 2006 14:39:07 -0300 [thread overview]
Message-ID: <44CE403B.4000003@ort.edu.uy> (raw)
In-Reply-To: <5801cedd6a9e2c3fb5137903c6ba8c73@former03.de>
Hi Baltasar,
Sorry, it was a typo, _nat is defined as "iptables -t nat -A POSTROUTING" so thats not the problem.
I was not clear enough, I don't have an ftp server, I just want to access internet ftp servers from my internal network
which is protected by the firewall. The firewall itself don't have any other running service but iptables.
Regards, and many thanks,
--
Ing. Ernesto Silva.
Coordinador de Desarrollo Web y Sistemas Abiertos
Universidad ORT Uruguay.
E-mail: silva@ort.edu.uy
Tel: (+598-2) 902-1505 ext. 206
former03 | Baltasar Cevc wrote:
> Hi Ernesto, hi everybody,
>
>> _fwd="iptables -A FORWARD"
>> _nat="iptables -A POSTROUTING"
>
>
> Postrouting is in the nat table, so you have to add "-t nat" to _nat and
> make it
> _nat="iptables -t nat -A POSTROUTING"
>
>> I'm having a problem to access internet ftp servers from my
>> internal network. I understand the ftp connection but I don't have
>> enough information about ip_conntrack_ftp and ip_nat_ftp modules, so
>> here is my situation.
>
>
> Apart from that you will need more rules for FTP, that's the tricky
> part. What worked well for me was using vsftpd with a port specifiaction
> for the data connections and allow these ports in INPUT|FORWARD.
> It may work using the ftp conntack module, but I don't know anything
> about that. You will have to add some port 20 rule, though.
>
> Baltasar
>
> --
> Baltasar Cevc
>
> _____ former 03 gmbh
> _____ infanteriestraße 19 haus 6 eg
> _____ D-80797 muenchen
>
> _____ http://www.former03.de
>
>
next prev parent reply other threads:[~2006-07-31 17:39 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-07-31 16:35 common FTP+NAT problem Ernesto Silva
2006-07-31 16:52 ` former03 | Baltasar Cevc
[not found] ` <44CE397B.9030404@ort.edu.uy>
2006-07-31 17:23 ` former03 | Baltasar Cevc
2006-07-31 17:39 ` Ernesto Silva [this message]
2006-07-31 17:44 ` Pascal Hambourg
2006-07-31 18:03 ` Pascal Hambourg
2006-07-31 18:10 ` Ernesto Silva
2006-07-31 18:19 ` Pascal Hambourg
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=44CE403B.4000003@ort.edu.uy \
--to=silva@ort.edu.uy \
--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