From: "Leonardo Rodrigues Magalhães" <leolistas@solutti.com.br>
To: Yves DUF <yves.duf@gmail.com>, ML netfilter <netfilter@vger.kernel.org>
Subject: Re: IPTables : How to force data coming from ethX being output by the same device
Date: Wed, 23 Apr 2008 11:37:50 -0300 [thread overview]
Message-ID: <480F49BE.60600@solutti.com.br> (raw)
In-Reply-To: <c4ecb9830804230703q3f3cc02doc03c34a293d6014c@mail.gmail.com>
Yves DUF escreveu:
> I think that iptables on the GNU/Linux FTP server would be a good
> solution, to do a sort of "ftp contracking". But I don't manage to
> write a simple rule as "All traffic that comes from ethX will output
> by ethX"
> Does somebody got ideas on this subject (iptables or whatever else)?
>
>
This is not iptables related, this is ROUTING related.
iptables does not route packages. If packets are arriving in one
interface and going on another, that's because your ROUTING table says that.
On more-than-1-public interface situations, you may need some
advanced routing rules, ie source routing, to get things working properly.
iptables has the ftp conntracking module, but again, it has nothing
to do with routing, it wont help your needs.
--
Atenciosamente / Sincerily,
Leonardo Rodrigues
Solutti Tecnologia
http://www.solutti.com.br
Minha armadilha de SPAM, NÃO mandem email
gertrudes@solutti.com.br
My SPAMTRAP, do not email it
next prev parent reply other threads:[~2008-04-23 14:37 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-04-23 14:03 IPTables : How to force data coming from ethX being output by the same device Yves DUF
2008-04-23 14:37 ` Leonardo Rodrigues Magalhães [this message]
2008-04-23 14:42 ` Jan Engelhardt
2008-04-23 14:51 ` Leonardo Rodrigues Magalhães
2008-04-23 15:17 ` Jan Engelhardt
2008-04-23 15:21 ` John covici
2008-04-23 16:12 ` Jan Engelhardt
2008-04-23 15:38 ` Leonardo Rodrigues Magalhães
2008-04-23 16:33 ` Alexei Ustyuzhaninov
2008-04-23 17:31 ` Leonardo Rodrigues Magalhães
2008-04-23 18:50 ` Jan Engelhardt
2008-04-24 4:38 ` Alexei Ustyuzhaninov
2008-04-23 14:49 ` Leonid Zeitlin
2008-04-23 19:06 ` Yves DUF
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=480F49BE.60600@solutti.com.br \
--to=leolistas@solutti.com.br \
--cc=netfilter@vger.kernel.org \
--cc=yves.duf@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