All of lore.kernel.org
 help / color / mirror / Atom feed
From: Wayne Topa <brittman@capital.net>
To: netfilter@lists.samba.org
Subject: Re: I need help , please
Date: Fri, 5 Jul 2002 18:55:32 -0400	[thread overview]
Message-ID: <20020705225532.GA7089@dmcom.net> (raw)
In-Reply-To: <024901c22432$8885a5a0$8703000a@aid.inf.cu>

david(david@aid.inf.cu) is reported to have said:
> Tony:
> 
> When I write these rules in the command line all is OK and  the rules works
> fine.
> But if I put the same rules in a script :
> 
> #!/bin/bash
Add
IPTABLES=/sbin/iptables  #(Or where your iptables binary is)
> # Standard default policies

Change iptables to $IPTABLES

$IPTABLES -P FORWARD ACCEPT
$IPTABLES -P OUTPUT ACCEPT
$IPTABLES -P INPUT DROP

> iptables -P INPUT DROP
> 
> 
> iptables -P FORWARD DROP
> iptables -P OUTPUT DROP
> 
-- 
I haven't lost my mind; it's backed up on tape somewhere.
_______________________________________________________


  parent reply	other threads:[~2002-07-05 22:55 UTC|newest]

Thread overview: 35+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-07-05  8:01 Fw: I need help , please david
2002-07-05 14:23 ` Ed Street
2002-07-05  9:25   ` david
2002-07-05 16:00     ` Antony Stone
2002-07-05 10:18       ` david
2002-07-05 16:35         ` Antony Stone
2002-07-05 10:37           ` david
2002-07-05 16:45             ` Joe Patterson
2002-07-05 12:50               ` david
2002-07-05 19:03                 ` Antony Stone
2002-07-05 16:54               ` Antony Stone
2002-07-05 12:56                 ` david
2002-07-05 19:14                   ` Antony Stone
2002-07-05 13:54                     ` david
2002-07-05 20:11                       ` Antony Stone
2002-07-05 14:44                         ` david
2002-07-05 20:58                           ` Antony Stone
2002-07-05 22:18                           ` Antony Stone
2002-07-05 22:55                           ` Wayne Topa [this message]
2002-07-05 16:49             ` Antony Stone
2002-07-05 17:02             ` Ed Street
2002-07-05 20:15             ` Wayne Topa
2002-07-05 18:37           ` Adam D. Barratt
  -- strict thread matches above, loose matches on Subject: below --
2002-07-04 23:49 George Vieira
     [not found] <001001c2230d$a8974c70$e9fea8c0@aurelius>
     [not found] ` <009c01c22338$0afb0940$8703000a@aid.inf.cu>
     [not found]   ` <006601c2238d$7820c690$e9fea8c0@aurelius>
     [not found]     ` <018301c22360$b99a87a0$8703000a@aid.inf.cu>
     [not found]       ` <007401c22396$d3ee46b0$e9fea8c0@aurelius>
2002-07-04 15:04         ` david
     [not found] <001e01c22321$e86018a0$2400a8c0@inq7.net>
2002-07-04  8:38 ` david
2002-07-04 14:53   ` Antony Stone
2002-07-04 12:00     ` david
2002-07-04 18:20       ` Antony Stone
2002-07-04 18:48         ` Jan Humme
2002-07-04 18:51           ` Antony Stone
2002-07-04 18:59             ` Jan Humme
2002-07-04 19:01               ` Antony Stone
2002-07-04 19:31                 ` Jan Humme
2002-07-03  6:47 david

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=20020705225532.GA7089@dmcom.net \
    --to=brittman@capital.net \
    --cc=netfilter@lists.samba.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.