Linux Netfilter discussions
 help / color / mirror / Atom feed
From: Jeffrey Laramie <JALaramie@Loudoun-Fairfax.com>
To: netfilter@lists.netfilter.org
Subject: Re: FORWARD question
Date: Fri, 21 Nov 2003 08:50:55 -0500	[thread overview]
Message-ID: <3FBE183F.6030109@Loudoun-Fairfax.com> (raw)
In-Reply-To: <20031121132405.56143.qmail@web40812.mail.yahoo.com>

Nick wrote:

>Now I really start getting it ! Thanks again Antony
>:-), and again, and again, and...
>
>Thanks for the link. I had read that tutorial but
>obviously reading it was not enough. Now when I
>actually start using it I begin to understand the
>theory. It's cool, I like it...
>
>So, basically when I FORWARD FTP requests to the FTP
>server I don't need INPUT, unless the server is on the
>routing machine. INPUT is being used only for the
>routing machine. 
>  
>
Keep in mind that without putting any rules on the INPUT chain your 
firewall box is either totally open or totally closed (i.e. iptables -t 
filter -P INPUT ACCEPT or DROP). Generally you need rules on both the 
INPUT and FORWARD chains although the rules will be somewhat different. 
Take a look at Oskar's sample scripts.

>I guess if I wanted to set up a firewall on the FTP
>machine, then I would use INPUT on that machine. 
>  
>

Yes, but you probably ought to anyway.

>OK, I'll eperiment with it :-) 
>
>P.S. I read the correction. Now I understand enough to
>realize that it was only a typ ;-)
>  
>
Indeed.  Antony, screw up like that again and I'll have to fire you!!  ;-)

Jeff



  reply	other threads:[~2003-11-21 13:50 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
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 [this message]
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=3FBE183F.6030109@Loudoun-Fairfax.com \
    --to=jalaramie@loudoun-fairfax.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