From: "Michael H. Warfield" <mhw@wittsend.com>
To: Michael Rothwell <rothwell@holly-springs.nc.us>,
David Lang <david.lang@digitalinsight.com>,
linux-kernel@vger.kernel.org
Subject: Re: iptables: "stateful inspection?"
Date: Wed, 20 Dec 2000 13:38:45 -0500 [thread overview]
Message-ID: <20001220133845.H10408@alcove.wittsend.com> (raw)
In-Reply-To: <3A40DE97.96228B5E@holly-springs.nc.us> <Pine.LNX.4.31.0012200848430.180-100000@dlang.diginsite.com> <20001220121351.D10408@alcove.wittsend.com> <3A40F1DB.84D53F7F@holly-springs.nc.us> <20001220130807.F10408@alcove.wittsend.com>
In-Reply-To: <20001220130807.F10408@alcove.wittsend.com>; from mhw@wittsend.com on Wed, Dec 20, 2000 at 01:08:07PM -0500
Hello all!
On Wed, Dec 20, 2000 at 01:08:07PM -0500, Michael H. Warfield wrote:
> On Wed, Dec 20, 2000 at 12:52:27PM -0500, Michael Rothwell wrote:
> > "Michael H. Warfield" wrote:
> > > You can use spf to add some stateful inspection for PORT mode
> > > ftp. Personally, I like the masquerading option better, though.
> > Can you give an example of using MASQ selectively? I have real addresses
> > on both sides of the firewall, but want things like FTP to work
> > correctly. I think the IPChains HOWTOs are just a little terse. :)
Michael Rothwell kindly pointed out to me in private mail that
I SCREWED UP (he didn't say that, I did) the copy-and-past on one of
the command lines and left out a "little detail"...
> modprobe ip_masq_ftp
> ipchains -A forward -p tcp -s {Source Addresses} -d 0/0 21
This should have been:
modprobe ip_masq_ftp
ipchains -A forward -p tcp -s {Source Addresses} -d 0/0 21 -j MASQ
DOH! Sorry!
> Seems to work for me (mine includes a "tag" and a policy route
> rule to send it out my cable modem that I've left off here)...
> If you don't load the ip_masq_ftp module, you WILL get illegal
> port errors on the PORT commands.
> > Thanks!
Mike
--
Michael H. Warfield | (770) 985-6132 | mhw@WittsEnd.com
(The Mad Wizard) | (678) 463-0932 | http://www.wittsend.com/mhw/
NIC whois: MHW9 | An optimist believes we live in the best of all
PGP Key: 0xDF1DD471 | possible worlds. A pessimist is sure of it!
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/
next prev parent reply other threads:[~2000-12-20 19:09 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2000-12-20 16:18 Michael Rothwell
2000-12-20 16:25 ` Michael H. Warfield
2000-12-20 16:30 ` Michael Rothwell
2000-12-20 16:51 ` David Lang
2000-12-20 17:13 ` Michael H. Warfield
2000-12-20 17:52 ` Michael Rothwell
2000-12-20 18:08 ` Michael H. Warfield
2000-12-20 18:38 ` Michael H. Warfield [this message]
2000-12-20 17:08 ` Michael H. Warfield
2000-12-20 20:45 ` Alan Cox
2000-12-20 20:51 ` Michael Rothwell
2000-12-20 22:02 ` Dax Kelson
2000-12-21 0:44 ` Alan Cox
2000-12-21 2:26 ` Laptop system clock slow after suspend to disk. (2.4.0-test9/hinote VP) Ian Stirling
2000-12-21 22:05 ` Keith Owens
2000-12-21 2:37 ` iptables: "stateful inspection?" Michael Rothwell
2000-12-21 7:00 ` George
[not found] ` <20001222140517.A30215@convergence.de>
2000-12-22 15:42 ` Michael Rothwell
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=20001220133845.H10408@alcove.wittsend.com \
--to=mhw@wittsend.com \
--cc=david.lang@digitalinsight.com \
--cc=linux-kernel@vger.kernel.org \
--cc=rothwell@holly-springs.nc.us \
/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
all inboxes | Powered by JetHome®