All of lore.kernel.org
 help / color / mirror / Atom feed
From: Askar Ali Khan <askarali@gmail.com>
To: netfilter <netfilter@lists.netfilter.org>
Subject: router/firewall
Date: Fri, 2 Jul 2004 10:35:45 +0500	[thread overview]
Message-ID: <a0f69e504070122354e2d19d5@mail.gmail.com> (raw)

Im learning lot of new things here specially from Mr. Anthony Stone he
is master :)

Alright here with another very beginner question :)
my linux box is part of LAN where net is connected via windowz system.
my linux box uses windows box as gateway to Internet.
There is another windowz client (1) now I want to make my this linux
box "gateway/firewall" for that window client.

first thing I did to enbble forwarding on  my linux box with..
                net.ipv4.ip_forward = 1

my only  interface on this linux box is eth0 i also created another
vitual interface eth0:1, now i want to accept LAN tarffic from windows
client on eth0 and forward it "outbound" on eth0:1
howto? :)

I will appreciate if someone teach me for both cases
1) to use the interface etho0 to foward packets
2) also to use the other virtual interface eth0:1 for fowarding

It means I need to separate scripts one for eth0 and another for eth0:1

Thanks in adance

Askar


             reply	other threads:[~2004-07-02  5:35 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-07-02  5:35 Askar Ali Khan [this message]
2004-07-02  8:52 ` router/firewall Antony Stone
2004-07-02 10:26   ` router/firewall Askar Ali Khan
2004-07-02 10:50     ` router/firewall Patrick Leslie Polzer

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=a0f69e504070122354e2d19d5@mail.gmail.com \
    --to=askarali@gmail.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 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.