Linux Netfilter discussions
 help / color / mirror / Atom feed
From: Magnus Solvang <magnus@solvang.net>
To: netfilter@lists.netfilter.org
Subject: $INET_IFACE -> $LAN_IFACE
Date: Wed, 26 Feb 2003 18:43:54 +0100	[thread overview]
Message-ID: <20030226174354.GA29213@first.knowledge.no> (raw)

Do you normally forward everything from e.g eth0 to eth1?
I recently upgraded (downloaded) a lot of packages on the
webserver, and noticed later on the mrtg-graph that the
traffic was identical (only switched) on the two interfaces.

Is downloading ftp-data to the firewall from the internet
really related, established, so that is should be forwarded
to the internal interface?

# iptables -L FORWARD -v
Chain FORWARD (policy DROP 5 packets, 224 bytes)
 pkts bytes target     prot opt in     out     source	destination
28224 2433K ACCEPT     all  --  eth0   eth1    anywhere	anywhere \
  state RELATED,ESTABLISHED


$IPTABLES -A FORWARD -i $EXTIF -o $INTIF -m state \
--state ESTABLISHED,RELATED -j ACCEPT

- M


                 reply	other threads:[~2003-02-26 17:43 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=20030226174354.GA29213@first.knowledge.no \
    --to=magnus@solvang.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox