Linux Netfilter discussions
 help / color / mirror / Atom feed
From: "Remus" <rmocius@auste.elnet.lt>
To: netfilter@lists.netfilter.org
Subject: DROP command
Date: Thu, 3 Jul 2003 21:43:53 +0100	[thread overview]
Message-ID: <005d01c341a3$d335f7f0$6e69690a@rimas> (raw)
In-Reply-To: 200307031501.00905.sysadmin_lists@iwa-solutions.com

Hi folks,

I have a Linux box firewall (iptables 1.2.7a) with NAT/MASQUERADING.
How I can block all local network access to my firewall excluding some local
IP addresses?
I tried these command but it doesn't work:

/usr/local/sbin/iptables -A INPUT -i eth2 -s 10.105.105.0/24 -j DROP
/usr/local/sbin/iptables -A INPUT -i eth2 -s 10.105.105.20 -j ACCEPT

Thank you in advance

Remus





  reply	other threads:[~2003-07-03 20:43 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-07-03 19:01 Patch-o-matic help System Administrator
2003-07-03 20:43 ` Remus [this message]
2003-07-07 12:50 ` Chris Wilson
2003-07-07 13:49   ` Rob Sterenborg
  -- strict thread matches above, loose matches on Subject: below --
2003-07-03 20:55 DROP command Daniel Chemko
2003-07-03 20:58 ISPList John

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='005d01c341a3$d335f7f0$6e69690a@rimas' \
    --to=rmocius@auste.elnet.lt \
    --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