All of lore.kernel.org
 help / color / mirror / Atom feed
From: Bill McCormick <wpmccormick@sbcglobal.net>
To: netfilter@lists.netfilter.org
Subject: one interface, basic setup
Date: Wed, 20 Jul 2005 21:38:06 -0500	[thread overview]
Message-ID: <42DF0A8E.9020102@sbcglobal.net> (raw)

Hi,

I'm just getting started with iptables and after reading the HOWTO's 
(basic and packet filtering) I still feel unsure. I want to build a FW 
for outgoing packets only. My setup looks like this:

internet <---->Netgear FVS318 <----> LAN

Where LAN is a Linux FC3 and several Windows machines. The router closes 
all outbound traffic except from the FC3 box. Currently, Windows 
machines DHCP from the router, so that is the gateway, and proxy out 
through squid et. al. on FC3. I'll move the DHCP service to FC3 and make 
that the gateway. I want the FC3 gateway to allow all outbound traffic 
from squid; destination ports might be more than HTTP. I also want to 
allow outbound SMTP and POP to a specific destination only. FC3 is also 
providing services http, telnet, ftp, ssh, smtp, imap/imaps and 
pop/pop-ssl. Eventually, I'll want to do a transparent proxy as well.

So it looks like I want both the INPUT and OUTPUT chains to ACCEPT all 
and I should build rules in the FORWARD chain. With only one interface, 
is that correct?

Thanks,

Bill



-- 
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.323 / Virus Database: 267.9.2/52 - Release Date: 7/19/2005



             reply	other threads:[~2005-07-21  2:38 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-07-21  2:38 Bill McCormick [this message]
2005-07-21 11:49 ` one interface, basic setup /dev/rob0
2005-07-22  3:28   ` Bill McCormick
2005-07-22 18:51     ` Ruprecht Helms

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=42DF0A8E.9020102@sbcglobal.net \
    --to=wpmccormick@sbcglobal.net \
    --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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.