Linux Netfilter discussions
 help / color / mirror / Atom feed
From: David Cannings <lists@edeca.net>
To: netfilter@lists.netfilter.org
Subject: Re: newbie
Date: Fri, 26 Mar 2004 20:05:25 +0000	[thread overview]
Message-ID: <200403262005.25938.lists@edeca.net> (raw)
In-Reply-To: <web-268416924@mail01.infosat.net>

On Friday 26 March 2004 19:52, IT Clown wrote:
> I am new to iptanles i am just wondering i have the
> following in my iptables file.
> INPUT DROP [0.0]
> OUTPUT DROP [0.0]
> FORWARD DROP [0.0]
> as i understand that will drop every comunications.

Yes, it will.

> what rules will i need to apply to allow www,ftp,mirc
> browsing?
> I want to do that on another pc behind the firewall.

There are three things I would suggest.  The first is reading two 
tutorials on http://www.netfilter.org/documentation/index.html - 
specifically the "packet filtering HOWTO" and the "NAT HOWTO".

The second is Oskar's excellent iptables tutorial, at 
http://iptables-tutorial.frozentux.net/iptables-tutorial.html.

The third is taking a while to work out what ports the services you 
mention work on.  A basic feel for how TCP/IP connections work would help 
too.  The knowledge that in most cases a client chooses a port >1024 and 
connects to the service port should suffice.  People on the list could 
easily list the ports you need to allow or deny but you'll learn a 
tremendous amount by spending 10 minutes working it out.

In any case, don't forget you will need to enable IP Forwarding on your 
netfilter machine.

Hope those pointers help,

David


  reply	other threads:[~2004-03-26 20:05 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-03-26 19:52 newbie IT Clown
2004-03-26 20:05 ` David Cannings [this message]
  -- strict thread matches above, loose matches on Subject: below --
2003-10-29 19:19 Newbie David C. Hart
2003-10-29 19:43 ` Newbie Jörg Schütter

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=200403262005.25938.lists@edeca.net \
    --to=lists@edeca.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox