Linux Netfilter discussions
 help / color / mirror / Atom feed
From: Alexandru Dragoi <alex@zoomnet.ro>
To: Syed AbuBakr <syed.abubakr@gmail.com>
Cc: netfilter@lists.netfilter.org
Subject: Re: FTP and Masquerading
Date: Tue, 13 Jun 2006 22:04:17 +0300	[thread overview]
Message-ID: <448F0C31.20907@zoomnet.ro> (raw)
In-Reply-To: <7e53eda20606130610w5961f08alb60a33157d3e4158@mail.gmail.com>

Syed AbuBakr wrote:

> 1. Here is the out put of ip tables
> # Generated by iptables-save v1.3.5 on Tue Jun 13 18:04:23 2006
> *nat
> :PREROUTING ACCEPT [4089441:225469685]
> :POSTROUTING ACCEPT [655:225183]
> :OUTPUT ACCEPT [244915:14983380]
> -A PREROUTING -i eth0 -p tcp -m tcp --dport 80 -j REDIRECT --to-ports
> 8080
> -A POSTROUTING -o eth1 -j MASQUERADE
> COMMIT
> # Completed on Tue Jun 13 18:04:23 2006
> # Generated by iptables-save v1.3.5 on Tue Jun 13 18:04:23 2006
> *filter
> :INPUT ACCEPT [16927662:11422086898]
> :FORWARD ACCEPT [27804583:6839123278]
> :OUTPUT ACCEPT [17583420:11965931541]
> COMMIT
> # Completed on Tue Jun 13 18:04:23 2006
>
> 2. It gives problem during connection in passive mode, and does not
> list any folder contents and then obviously no download.
>
> Looking Forward
>
You should not have any problem in passive mode, since there is no
filtering. You may need to load ip_nat_ftp for active mode.


  reply	other threads:[~2006-06-13 19:04 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-06-13 13:10 FTP and Masquerading Syed AbuBakr
2006-06-13 19:04 ` Alexandru Dragoi [this message]
  -- strict thread matches above, loose matches on Subject: below --
2006-06-11  8:23 Syed AbuBakr
2006-06-11 10:15 ` 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=448F0C31.20907@zoomnet.ro \
    --to=alex@zoomnet.ro \
    --cc=netfilter@lists.netfilter.org \
    --cc=syed.abubakr@gmail.com \
    /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