All of lore.kernel.org
 help / color / mirror / Atom feed
From: Krystian <optimusprime@o2.pl>
To: netfilter@lists.netfilter.org
Subject: conf scenario.
Date: Mon, 03 May 2004 22:42:01 +0200	[thread overview]
Message-ID: <4096AE99.5070705@o2.pl> (raw)

hello

i need some help on how to configure this scenario in iptables:

[adsl modem/router]-----[eth1-linux box-eth0]-----[network]

the problem is that the box has to work as a forward/masqurade for most 
users, but it must also bridge traffic from couple hosts inside the 
network which have public IP addresses.

question: how to configure "linux box's" iptables to forward and 
masquarade traffic from most users and bridge traffic for couple 
"public" users.

the way i figured it out is to DNAT all trafic for public ip's to our 
network public hosts. is there other better way?



             reply	other threads:[~2004-05-03 20:42 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-05-03 20:42 Krystian [this message]
2004-05-03 20:56 ` conf scenario Antony Stone
2004-05-03 22:01   ` Jon Colverson
2004-05-03 22:28     ` Antony Stone
2004-05-04 19:58       ` Krystian

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=4096AE99.5070705@o2.pl \
    --to=optimusprime@o2.pl \
    --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.