From: Nick <fenderflames@yahoo.com>
To: netfilter@lists.netfilter.org
Subject: Re: FORWARD question
Date: Fri, 21 Nov 2003 03:59:15 -0800 (PST) [thread overview]
Message-ID: <20031121115915.79176.qmail@web40805.mail.yahoo.com> (raw)
In-Reply-To: <200311211134.hALBYt724579@onyx.rockstone.co.uk>
Antony, I thought I had it all figured out.
Apparently, I don't... :-(
On the routing machine the INPUT looks something like
this:
$IPTABLES -N allowed
$IPTABLES -N tcp_packets
$IPTABLES -A allowed -p TCP --syn -j ACCEPT
$IPTABLES -A tcp_packets -p TCP -s 0/0 --dport 21 -j
allowed
$IPTABLES -A INPUT -p ALL -d $INET_IP -m state --state
ESTABLISHED,RELATED -j ACCEPT
$IPTABLES -A INPUT -p TCP -i $INET_IFACE -j
tcp_packets
So, if I understand what you're saying, I shouldn't
have this
$IPTABLES -A tcp_packets -p TCP -s 0/0 --dport 21 -j
allowed
in my INPUT. I should have it in FORWARD. Right ?
I thought it should be in INPUT so that the router
'gets' the incoming request, and once it has it, it
will FORWARD it to the LAN server.
Now, if this rule should be in the FORWARD, what
should I have in INPUT in order to acept NEW FTP
requests ? Or is FORWARD doing this automatically ?
I promised that the previous message would be the last
one. Sorry for breaking my promise :-)
__________________________________
Do you Yahoo!?
Free Pop-Up Blocker - Get it now
http://companion.yahoo.com/
next prev parent reply other threads:[~2003-11-21 11:59 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-11-20 20:27 FORWARD question Nick
2003-11-20 20:51 ` Antony Stone
2003-11-20 21:51 ` Nick
2003-11-20 23:12 ` Antony Stone
2003-11-21 10:42 ` Nick
2003-11-21 11:34 ` Antony Stone
2003-11-21 11:59 ` Nick [this message]
2003-11-21 12:38 ` Antony Stone
2003-11-21 13:08 ` Antony Stone
2003-11-21 13:24 ` Nick
2003-11-21 13:50 ` Jeffrey Laramie
2003-11-21 14:06 ` Nick
2003-11-21 14:11 ` Antony Stone
2003-11-21 16:19 ` redirect squid to other proxy(windows) hearing in port 80 Guillermo
2003-11-21 16:43 ` Antony Stone
2003-11-21 16:44 ` Antony Stone
2003-11-20 22:18 ` FORWARD question Nick
-- strict thread matches above, loose matches on Subject: below --
2003-11-20 20:01 Nick
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=20031121115915.79176.qmail@web40805.mail.yahoo.com \
--to=fenderflames@yahoo.com \
--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