All of lore.kernel.org
 help / color / mirror / Atom feed
From: Payal Rathod <linux@rpayal.cjb.net>
To: netfilter@lists.netfilter.org
Subject: clearing basics: semi-OT
Date: Thu, 10 Apr 2003 13:36:51 +0530	[thread overview]
Message-ID: <20030410080650.GA1720@linux.localdomain> (raw)

Hi,
I am trying to clear some of my basics. I am reading IP-Masquerading HOWTO. 
In it these things were mentioned,

UNIVERSE="0.0.0.0/0"
$IPTABLES -A INPUT -i lo -s $UNIVERSE -d $UNIVERSE -j ACCEPT

What exactly does 0.0.0.0/0 mean? And why should we be concerned with
it? And what is the use of rule given after it?

INTNET="192.168.1.0/24"
INTIP="192.168.1.1/24"

The first one means the entire network of 192.168.1.x? What exactly is
the second one. Does it just means 192.168.1.1 then why "/24"?
And lastly,

$IPTABLES -N drop-and-log-it
$IPTABLES -A drop-and-log-it -j DROP

Why was this rule made? And why was it "dropped"? What is the logic
behind this? Shouldn't it be,
$IPTABLES -P drop-and-log-it DROP


Thanks a lot for the patience and bye.
With warm regards,
-Payal

p.s please make a cc to me too.

-- 
"Visit GNU/Linux Success Stories"
www.geocities.com/rpayal99
Guest-Book Section Updated.


             reply	other threads:[~2003-04-10  8:06 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-04-10  8:06 Payal Rathod [this message]
2003-04-10 14:21 ` clearing basics: semi-OT Joel Newkirk
2003-04-14 13:50   ` Payal Rathod
2003-04-10 15:21 ` Kim Jensen
  -- strict thread matches above, loose matches on Subject: below --
2003-04-10 14:17 dhiraj.2.bhuyan

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=20030410080650.GA1720@linux.localdomain \
    --to=linux@rpayal.cjb.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.