From: Gianni Pucciani <gp.puccio@tin.it>
To: netfilter@lists.netfilter.org
Subject: Re: A simple question
Date: Tue, 06 Apr 2004 15:26:10 +0200 [thread overview]
Message-ID: <4072AFF2.1050007@tin.it> (raw)
In-Reply-To: <200404052340.23077.Antony@Soft-Solutions.co.uk>
Ok Antony, thanks for the help and sorry for my second mail, I was a bit
in a hurry yesterday ;-)
Maybe I have to review the TCP protocol...
Gianni
Antony Stone wrote:
>On Tuesday 06 April 2004 3:25 am, Gianni Pucciani wrote:
>
>
>
>>Hi all,
>>I'm new to the use of iptable. I set this script for my home
>>workstation, but when I apply these rules anything stop functioning.
>>I guess I'm doing something stupid but this is my very first time with
>>iptables, so sorry.
>>
>>
>
>The major problem with your ruleset is that you have no rules in either your
>INPUT or OUTPUT chains to allow reply packets.
>
>My recommendation is to start simple, and add things bit by bit. Then if
>something goes wrong, you only need to look at the (simple) thing you added
>most recently.
>
>For a home workstation, try the following ruleset (which will allow more
>traffic than you say you want, but is still secure from the outside world).
>
>You can add more specific rules to allow only the correct traffic, and to
>allow limited connections from the outside, as you want to.
>
>iptables -P INPUT DROP
>iptables -P OUTPUT DROP
>iptables -P FORWARD DROP
>iptables -A INPUT -m state --state ESTABLISHED,RELATED -j ACCEPT
>iptables -A OUTPUT -j ACCEPT
>
>Regards,
>
>Antony.
>
>
>
next prev parent reply other threads:[~2004-04-06 13:26 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-04-06 2:25 A simple question Gianni Pucciani
2004-04-05 22:40 ` Antony Stone
2004-04-06 13:26 ` Gianni Pucciani [this message]
2004-04-06 11:16 ` How do thing with this D. Prima Prayudi
-- strict thread matches above, loose matches on Subject: below --
2004-08-19 2:36 A simple question Sudheer Divakaran
2004-08-19 4:18 ` Mark E. Donaldson
2004-08-19 8:39 ` Torsten Luettgert
2004-08-19 4:52 ` Dhananjoy Chowdhury
2004-08-19 15:46 ` Erick Sanz
2004-08-19 11:04 Jason Opperisano
2004-08-19 15:15 Hudson Delbert J Contr 61 CS/SCBN
2004-08-19 17:14 Daniel Chemko
2004-08-19 17:31 ` Nick Drage
2004-08-19 17:47 Daniel Chemko
2004-08-19 17:58 Hudson Delbert J Contr 61 CS/SCBN
2005-08-10 0:11 A Simple Question Robb Bossley
2005-08-10 19:58 ` /dev/rob0
2005-08-11 5:54 ` Jan Engelhardt
2005-08-12 5:27 ` Grant Taylor
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=4072AFF2.1050007@tin.it \
--to=gp.puccio@tin.it \
--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