Linux Netfilter discussions
 help / color / mirror / Atom feed
From: <system@eluminoustechnologies.com>
To: iptables <netfilter@lists.netfilter.org>
Subject: Default policy
Date: Sat, 21 Dec 2002 18:46:49 +0530	[thread overview]
Message-ID: <001501c2a8f3$40be2e40$1a01a8c0@vishal> (raw)

[-- Attachment #1: Type: text/plain, Size: 645 bytes --]

Hi All,

Following is the policy that my firewall generation script gives, but my system hangs when i execute this, I am using ssh to execute this script. I am opening all other required ports. When I comment the last two lines my script works fine.

******Script*******

#Set default policies to DROP 

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

# Rejecting all Packets

#$IPTABLES -A INPUT -s 0/0 -d 0/0 -p udp -j DROP
#$IPTABLES -A INPUT -s 0/0 -d 0/0 -p tcp -j DROP

Can anyone help me.

thanks in advance.

Regards,


[-- Attachment #2: Type: text/html, Size: 1541 bytes --]

             reply	other threads:[~2002-12-21 13:16 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-12-21 13:16 system [this message]
2002-12-21 13:28 ` Default policy Rob Sterenborg
2002-12-21 18:12 ` Giorgio Zarrelli
  -- strict thread matches above, loose matches on Subject: below --
2003-08-26  8:35 default policy Payal Rathod
2003-08-25  8:59 ` Ralf Spenneberg
2003-08-25 14:56   ` Payal Rathod
2002-11-01  3:58 Rob
2002-11-01 23:22 ` Robert P. J. Day

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='001501c2a8f3$40be2e40$1a01a8c0@vishal' \
    --to=system@eluminoustechnologies.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox